[jboss-dev-forums] [JBoss AS 7 Development] - Re: Quartz Scheduler in Jboss AS 7
Ifta Khirul
do-not-reply at jboss.com
Sun Nov 11 23:36:40 EST 2012
Ifta Khirul [https://community.jboss.org/people/ifti24] created the discussion
"Re: Quartz Scheduler in Jboss AS 7"
To view the discussion, visit: https://community.jboss.org/message/775948#775948
--------------------------------------------------------------
Hi,
Thank you guys for your feedback and suggestion.
I will try to use @Schedule as you suggested. But I have succedded to work with quartz scheduler workable in my project.
Below is the detail explanation -
I have changed the MENIFEST.MF file of my EJB project in the following way -
Manifest-Version: 1.0
Class-Path:
Dependencies: org.slf4j,org.quartz
I have also added the quartz jar file in jboss Module.
In the module.xml file of the quartz module I have added the dependency of slf4j in the following way -
<module xmlns="urn:jboss:module:1.1" name="org.quartz">
<resources>
<resource-root path="quartz-all-2.1.6.jar"/>
</resources>
<dependencies>
<module name="org.slf4j"/>
</dependencies>
</module>
Thats all. And now my shcedule is running properly.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/775948#775948]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121111/2c1bd62c/attachment.html
More information about the jboss-dev-forums
mailing list