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.
That is an old example from jboss-2.4
The Schedulable class now lives in
Could you point me to a new example?
The testsuite contains examples for just about
everything and because it is in CVS,
it is versioned by release :-)
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:
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.