-
1. Enable JBoss used ports when server is fully up
jaikiran Jan 20, 2011 2:36 AM (in response to cobberliu)Would the 3rd option mentioned here http://community.jboss.org/wiki/StartupAndDeploymentCheck help?
-
2. Enable JBoss used ports when server is fully up
wdfink Jan 20, 2011 4:37 AM (in response to cobberliu)In a clustered environment you will have problems with EJB (RMI) calls.
It might happen during startup and shutdown that some services or applications are reacable but throwing errors.
The worst case is UserTransactions (with stickiness) because the gap between UTx is available and application is started might be long in a cluster under heavy-load.
-
3. Enable JBoss used ports when server is fully up
cobberliu Jan 20, 2011 10:38 AM (in response to jaikiran)Thank you for your response. I don't think our load balancer can check that. It can only perform basic port check. Also, they are not on the same machine.
-
4. Re: Enable JBoss used ports when server is fully up
welle Feb 3, 2011 9:32 AM (in response to cobberliu)You could implement your on MBean that check the status of the "Started" attribute in "jboss.system:type=Server" and then starts a server socket on a port that your load balancer can check. (I even think that it exists soime JMX notification about the server being up or goind down, but I'm not sure)