The JMX call could have a timeout of 10 seconds. We could just spawn a thread and sleep
for 10 seconds, right? If you don't get an answer, the server is dead.
I agree you couldn't check whether everything is alive, just whether there is any
memory left. I think Dimitris created an MBean to do this?
The problem with the log file approach is that the all log gets huge, and this would
really slow down the runs, even when the server is fine. The JMX call should be
performant if things are ok, which is the main case.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028213#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...