[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
using XMLSchedulingDataProcessorPlugin  XML
Forum Index -> Quartz
Author Message
acarulli

neo

Joined: 08/06/2014 12:00:25
Messages: 3
Offline

When you specify org.quartz.plugin.jobInitializer.fileNames = jobs.xml where does it look to find this file? I hardcoded a path but this is not going to work in production. Thanks in advance.
acarulli

neo

Joined: 08/06/2014 12:00:25
Messages: 3
Offline

Just to add some more info... I tried to just use jobs.xml with no path and I get a SehedulerException that the file named "quartz_jobs.xml" does not exist.
acarulli

neo

Joined: 08/06/2014 12:00:25
Messages: 3
Offline

Ok looks like this file need to be on the classpath, for JBOSS 7 which I am using I needed to put this file into the quartz module directory along with the quartz jars, and it found it. I probably could have made a new module and added it to that but I stuck it in with quartz. (Hope this helps some one else)

<module xmlns="urn:jboss:module:1.1" name="org.quartz">
<resources>
<resource-root path="quartz-2.2.1.jar"/>
<resource-root path="quartz-jobs-2.2.1.jar"/>
<resource-root path="quartzdesk-api-1.5.1.jar"/>
<resource-root path="."/>
<!-- Insert resources here -->
</resources>
<dependencies>
<module name="org.slf4j"/>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
<module name="com.quartzdesk.agent"/>
</dependencies>
</module>
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team