I have a .sar file with a scheduler task that depends on a webapp deployment. I've specified the dependency in the -service.xml file. The scheduler is created and the webapp is deployed, but the scheduler mbean never starts.
The tag is:
jboss.management.local:J2EEApplication=myEntApp.ear,J2EEServer=Local,j2eeType=WebModule,name=myWebApp.war
the startup log shows:
MBeans waiting for other MBeans:
[ObjectName: org.myCompany.UpdateStock:service=UpdateStockScheduler
state: CONFIGURED
I Depend On: jboss.management.local:J2EEApplication=myEntApp.ear,J2EEServer=Loc
al,j2eeType=WebModule,name=myWebApp.war
Anyone know why the scheduler mbean doesn't start?
The JSR77 MBeans are not services.
They do not take part in dependencies.
jboss-3.2.2RC4 introduced an MBean for war deployments
that can be used for dependencies.
Regards,
Adrian