I don't exactly know how the scheduler works, but if it is deployed as an
mbean from a *-service.xml
Yes.
The scheduler depends on a stateless session bean. The session bean calls several other beans. I can view the mbean for the session bean in the jmx-console, but how do I tell the session bean that the scheduler depends on it?file you can include an anonymous depends element to the mbean that is created as the ejb's container (look in the jmx-console). Then the scheduler won't start until the ejb is also started and presumably availabke.
My best guess was to try doing it the other way, that is tell the scheduler that it depends on the session bean. I tried adding the following line to the scheduler mbean:
<depends>jboss.management.single:EJBModule=xvsserver-ejb.jar,J2EEApplication=xvsserver.ear,J2EEServer=Single,j2eeType=StatelessSessionBean,name=TaskManager</depends>
But the scheduler failed to deploy reporting:
MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
<none>
MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: jboss:schedule=SliceAllocatorDaemon,service=Scheduler
state: CONFIGURED
I Depend On: jboss.management.single:EJBModule=xvsserver-ejb.jar,J2EEApplication=xvsserver.ear,J2EEServer=Single,j2eeType=StatelessSessionBean,name=TaskManager
Thanks for any help!
--
Glenn
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user