-
1. Re: JBoss Schedulers & Timers
hale2jo Feb 21, 2003 3:18 PM (in response to hale2jo)A co-worker helped me figure this one out. The Schedulable interface is not in org.jboss.util. It is in org.jboss.varia.scheduler which is in /usr/jboss/server/appServer/lib/scheduler-plugin.jar
So, if that jar file is not in your classpath you have to add it to your classpath in your .bashrc file or in your build.xml file. -
2. Re: JBoss Schedulers & Timers
adrian.brock Feb 22, 2003 4:01 AM (in response to hale2jo)That is an old example from jboss-2.4
The Schedulable class now lives in
org.jboss.varia.scheduler
Regards,
Adrian -
3. Re: JBoss Schedulers & Timers
hale2jo Feb 24, 2003 11:07 AM (in response to hale2jo)Could you point me to a new example?
Thanks,
Josephine -
4. Re: JBoss Schedulers & Timers
adrian.brock Feb 24, 2003 10:33 PM (in response to hale2jo)The testsuite contains examples for just about
everything and because it is in CVS,
it is versioned by release :-)
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosstest/src/resources/util/
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosstest/src/main/org/jboss/test/util/
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/varia/src/main/org/jboss/varia/scheduler/example/
Regards,
Adrian -
5. Re: JBoss Schedulers & Timers
mjdinsmore Mar 4, 2003 9:59 PM (in response to hale2jo)You can also take a look at Quartz, which bills itself as an enterprise job scheduler. It works nicely, and can schedule things in a variety of ways. It located here:
http://sourceforge.net/projects/quartz/
Hope this is helpful....
Once the new EJB spec comes out (with JBoss support) and the timer beans are available, this is all a moot point anyways.