[jboss-user] [Management, JMX/JBoss] - Re: JBoss Mbean Dependencies - How to start scheduler servic

yantriki do-not-reply at jboss.com
Fri Jul 14 10:01:27 EDT 2006

add a depends clause to your jboss-service.xml file:
  | <mbean code="org.jboss.varia.scheduler.Scheduler" name=":service=Scheduler">
  | 		<attribute name="StartAtStartup">true</attribute>		
  | 		<attribute name="SchedulableClass">com.acme.HelloWorld</attribute>
  | 		<attribute name="InitialStartDate">NOW</attribute>
  | 		<attribute name="SchedulePeriod">5000</attribute>
  | 		<attribute name="InitialRepetitions">-1</attribute>								
  |                 <depends>EAR file name*</depends>
  | 	</mbean>	
  | </server>
check jmx-console for the name of the ear, or if you want your schedular to depend explicitly on a Session Bean

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

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

More information about the jboss-user mailing list