[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Is there a way of knowing when JBoss start up has comple
PeterJ
do-not-reply at jboss.com
Thu Jul 17 12:33:22 EDT 2008
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165120#4165120
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165120
More information about the jboss-user
mailing list