1 Reply Latest reply on Jan 4, 2005 8:47 AM by frito

    Check status from command-line

    tappas

      Hi there,

      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.

      Any suggestions?

      Thanks in advance :)

        • 1. Re: Check status from command-line
          frito

          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.