Dunno if it helps but there JBoss services that you can extract info from about it's state.
Maybe have a servlet that extracts data from jboss.system:type=Server (Started f.i.)and returns it.
Then your tool would have to see if the contents matches what is expected.
What happens is that Jboss is up, but the application does not respond, when this occurs we give a stop / start in Jboss application and return to work.
The WhatsUP Gold (WUG) to get on a page and the page replied.
We have made a probe that tests the page http://localhost:8080/jmx-console, and theoretically not be available if the Jboss is down.
Any help is appreciated.
You have to do a telnet, and next a get request