is there a possibility in JBoss to get the status of a running instance from command-line?
I would like to write a shell-script which waits for the jboss properly started and all xARs properly deployed, and then go on to the next step. I only can think of greping for known error-statements, and abort if they are found.
Thanks in advance :)
You could write a small app which calls the MainDeployer MBean. This MBean has some very interesting methods like listDeployed ...
There is probably a better way by writing your own MBean listening to some events being emitted by the deployer. But I didn't investigate further on to do so.