This content has been marked as final.
Show 5 replies
-
1. Re: ..notification when server is started?
raja05 May 18, 2004 7:22 AM (in response to mlsoderin)Have you tried depending on
J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
This is the objectname for the jboss-service.xml which is the last one that shows up on the console before the "Started JBoss" message. -
2. Re: ..notification when server is started?
mlsoderin May 18, 2004 8:19 AM (in response to mlsoderin)No! I'll give it a try, thanks!
-
3. Re: ..notification when server is started?
mlsoderin May 18, 2004 8:27 AM (in response to mlsoderin)no, it didnt work. The URLDeploymentScanner is finished before the jboss-service.xml is started, so my service is never deployed when it depends on it.
-
4. Re: ..notification when server is started?
adrian.brock May 18, 2004 7:24 PM (in response to mlsoderin)Use the MBeanServer to add a notification listener on the deployment scanner
jboss.deployment:type=DeploymentScanner,flavor=URL
then wait until you get an attribute change notification for State == ServiceMBean.STARTED -
5. Re: ..notification when server is started?
mlsoderin May 19, 2004 2:04 AM (in response to mlsoderin)Thanks, I'm gonna try it out!