• Post Reply Bookmark Topic Watch Topic
  • New Topic

Quartz Framework  RSS feed

 
adriana mota
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, im getting troubles with quartz.properties when i use JobInitializationPlugin. Jboss send a warn message saying that a file called jobs.xml does not exist. I put quartz.properties and jobs.xml inside WEB-INF/classes

Here is the code of quartz.properties:

#============================================================================
# Configure Plugins
#============================================================================

org.quartz.plugin.triggHistory.class = org.quartz.plugins.history.LoggingJobHistoryPlugin

org.quartz.plugin.jobInitializer.class = org.quartz.plugins.xml.JobInitializationPlugin
# init plugin will load jobs.xml as a classpath resource i.e. /jobs.xml if not found on file system
org.quartz.plugin.jobInitializer.fileName=jobs.xml
org.quartz.plugin.jobInitializer.overWriteExistingJobs = false
org.quartz.plugin.jobInitializer.failOnFileNotFound = false

org.quartz.plugin.shutdownhook.class = org.quartz.plugins.management.ShutdownHookPlugin
org.quartz.plugin.shutdownhook.cleanShutdown = true


At org.quartz.plugin.jobInitializer.fileName i put the name of xml file.

Does anybody know how i can solve this problem? where i have to put job.xml file to be found by quartz.properties ???

Regards,
Adriana Mota
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!