"hassanm" wrote : Hi, I wrote a class to be executed as a scheduled service, 
and made an entry accordingly in scheduler-service.xml
  | ...
  | 
  | Now one way I thought to solve the problem was to make scheduler-service 
start after deployment of application. Now does anyone know how to do that?
  | 

How is your application deployed?
How is the SchedulableClass that you wrote deployed?

I would suggest one of 2 solutions:

  | * In scheduler-service.xml, after the  opening element and before the  
elements, put a < depends > element with your application/service's name, that 
contains your SchedulableClass, as is appears in your jmx-console.  Something 
like: <depends>hassanm:service=SuperCoolApp</depends>
  | * Package your SchedulableClass in a .jar and deploy it in the lib 
directory of your jboss configuration (all/default/whatever).
  | 

Hope this helps.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922112#3922112

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922112


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to