1 Reply Latest reply on Feb 18, 2010 10:59 AM by peterj

    Checking if JBoss is running programmatically

    kyle.watson

      I am running JBoss 4.2.3 in Linux and I have a python script to shutdown, deploy and restart JBoss.  What is the best method to determine if JBoss is finished shutting down?  Currently, I am verifying ports 8080 and 8083 are available.  This seems to work most of the time, but sometimes port 8080 is available but the RMI port, or some other port, is not, and JBoss is not finished shutting down.

       

      Is there a way to check that JBoss is finished shutting down programmatically?  Perhaps I could use the shell command "ps".