-
1. Re: Is there a way of knowing when JBoss start up has comple
scholtz.albert Jul 17, 2008 10:59 AM (in response to scholtz.albert)I am using JBoss 4.2.2 GA
-
2. Re: Is there a way of knowing when JBoss start up has comple
peterj Jul 17, 2008 12:33 PM (in response to scholtz.albert)I assume that this is some code running outside of JBossAS? I can think of two ways.
1) Scan the server log, looking for the "started in" message.
2) Poll the JNDI (1099) and HTTP ports (8080). Once you get valid replies, the app server is ready to go.
When we had to do this for one of our products we used mechanism 2. Originally, we only polled to JNDI but it opens up fairly early in the startup process so many services are not yet available at that time. Come to think of it, I think we also asked for one of the server MBean (perhaps ServerInfo) and asked it for the server's status. -
3. Re: Is there a way of knowing when JBoss start up has comple
scholtz.albert Jul 17, 2008 1:18 PM (in response to scholtz.albert)Thank you very much for your reply.
-
4. Re: Is there a way of knowing when JBoss start up has comple
jaikiran Jul 18, 2008 1:28 AM (in response to scholtz.albert)Here are the MBeans, Peter was referring in his post:
http://wiki.jboss.org/wiki/StartupAndDeploymentCheck
And this one about the various notifications emitted by JBoss:
http://wiki.jboss.org/wiki/NotificationsEmittedByJBossMBeans