1 Reply Latest reply on Jan 10, 2015 2:16 PM by Wolf-Dieter Fink

    Jboss 4 solaris Automation question

    petros apostolou Newbie

      Hi

      I have several productions machines running jboss 4 under solaris and unix ,

      I want to be able to some how automate the start of the app server ,

       

      first i want to be able to check periodically(cron ??) if the jboss is running and if not the automatically start the server ,

      The i would like to check periodically(cron ??twitch ??) if the web apps are running correctly if not restart the server

       

      finally i would like to monitor the state of the application servers via a gui (nagios ??)

       

      What would you thing is the best strategy ??

        • 1. Re: Jboss 4 solaris Automation question
          Wolf-Dieter Fink Master

          With WildFly you can use the domain mode

           

          But if you need to stay with JBoss4 you might write a script which wrap the run.sh script and store the PID of the script or JVM.

          In that case you can run a cron script to check whether the JVM is running and start it if not.

          As a monitoring tool you might use RHQ, you have another instance which can monitor and manage many JBoss instances