Hi all,
I can't get Quartz to work. At first, I've created a quartzservice.sar as described in http://www.kouiskas.com/?page_id=19. The Service starts and is bound to JNDI. But if I create a CronTrigger and it's time to start this trigger, it complaints about ClassNotFoundException. I think, the service runs in a different JVM than my EAR.
If I unpack the quartz-service into my EAR, I get a NullPointerException while my service class is looking up the quartz service.
Here is my application.xml (fragments)
... <module> <java>quartz-1.6.3.jar</java> </module> <module> <ejb>quartz-jboss-1.6.3.jar</ejb> </module> ...
@Service (objectName = "jboss:custom=MyOwnService", name = "MyOwnService") public class MyOwnService implements MyOwnManagement { @Resource(mappedName="Quartz") private Scheduler sched;