-
1. Re: Scheduler not working
adrian.brock Jan 8, 2002 10:15 PM (in response to sridharmandava)I assume you have a class defined something like
package my.package;
import org.jboss.util.Schedulable;
public class ScheduledDataRemover
{
public void perform(Date timeOfCall, long remainingRepititions)
{
// etc
your MBean config should look like this:
<!-- etc -->
Regards,
Adrian -
2. Re: Scheduler not working
adrian.brock Jan 8, 2002 10:17 PM (in response to sridharmandava)Sorry, missed the
implements Schedulable
on the class definition.
Regards,
Adrian -
3. Re: Scheduler not working
thinh Oct 16, 2002 12:02 PM (in response to sridharmandava)the package org.jboss.util.Schedulable can not be found.
I have installed jboss 3.0.2. Could anybody please tell me which jar file contain this package?
Thank you -
4. Re: Scheduler not working
hale2jo Feb 21, 2003 3:20 PM (in response to sridharmandava)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. -
5. Re: Scheduler not working
hale2jo Feb 21, 2003 3:21 PM (in response to sridharmandava)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. -
6. Re: Scheduler not working
hale2jo Feb 21, 2003 3:22 PM (in response to sridharmandava)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.