I followed the instructions found at several locations (seemed to be the same).
When my org.jboss.varia.scheduler.Scheduler start it says it cannot find my
target class. I even tried a jar with my class in the default/lib folder and
it could not find it. I can use the jmx GUI to load the class. To rule out a
classloading order issue I added a depends. I also modifed the
Scheduler-service.xml after the app containing the class loaded to ensure the
class was available.
JBoss 4.0.4.GA
AND: Should we use Scheduler or ScheduleManager class?
Scheduler-service.xml
true
com.dbfacade.MsgToSendCleanup
6/26/06 17:37
30000
-1
jboss.j2ee:url=Server.ear,service=EARDeployment
Class contains:
package com.dbfacade;
import java.util.Date;
import org.jboss.varia.scheduler.Schedulable;
public class MsgToSendCleanup implements Schedulable
{
public void perform(Date date, long param) {
ServerDBUtil.getInstance().cleanOldMsgToSend();
}
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953571#3953571
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953571
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user