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.