Hey Folks.
I have a web app (.war) to deploy to JBoss 4.2, and there's a class in the app that
implements org.jboss.varia.scheduler.Schedulable. I want this thing to be invoked by the
JBoss Scheduler. I can get the WAR deployed with no problems, but the scheduler service
is not starting when I deploy the app or when I restart the server.
Note: This is simply a web deployment (WAR), not a J2EE Application (EAR).
I have the jboss:service=Timer service started at the server level, but I can't seem
to get my Schedulable instance started.
I don't want to deploy the Scheduler at the server level (class not found), but rather
with the web app. I'm open to suggestions on how to configure both the timer and the
scheduler services.
scheduler-service.xml (in WAR file ~/META-INF/ directory) is as follows:
true
MySchedulableImpl
arg1
java.lang.String
1/1/2007 12:00 am
<!-- 1000 * 60 * 30 --><!-- every 30 minutes -->
1000 <!-- every second -->
-1
true
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101287#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...