4 Replies Latest reply on Mar 26, 2014 3:11 AM by Wolf-Dieter Fink

    How to check if server is started successfully

    sree g Newbie

      Hi,

       

      Iam new to jboss. I am trying to check if the server instance is started successfully  immediately after starting the server (using run.sh) and dispaly a message  . Please let me know how to do this . I have multiple instances running on the same machine and am using jboss-eap5.0.1.

       

      Thanks in advance

        • 2. Re: How to check if server is started successfully
          sree g Newbie

          Thank you. I gone through the link and it is helpful

          • 3. Re: How to check if server is started successfully
            Arijit Dey Newbie

            Hi all,

             

            Don't know if this thread is still being monitored but I am very new to JBoss and recently installed it. Now, after I ran the standalone.sh script to start it up I got the following output which gives me a feel that its still starting up (correct me if I am wrong):

             

            # jboss-eap-6.1/bin/standalone.sh

            =========================================================================

             

              JBoss Bootstrap Environment

             

              JBOSS_HOME: /jboss/jboss-eap-6.1

             

              JAVA: /usr/java/jdk1.8.0/bin/java

             

              JAVA_OPTS:  -server -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

             

            =========================================================================

             

            Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

            02:05:10,449 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.Final-redhat-1

            02:05:11,337 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1

            02:05:11,571 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015899: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) starting

             

            The documents everywhere says that successful startup can be checked by accessing http://localhost:8080/ but its loading since I already have tomcat running in the system and which is apparent from the output in the browser: 'If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!"

             

            So please could anyone help me get things straight here? Appreciate your help!

             

            Thanks,

            Arijit.

            • 4. Re: How to check if server is started successfully
              Wolf-Dieter Fink Master

              In that case you need to change the port configuration for your server, see standalone.xml last section for port numbers.

              Or you might set the -Djboss.socket.binding.port-offset=xxx  for start command to add an offset for all ports.

               

              As the versions might be different you should not reactivate such old thread, if you have questions and did not found an answer you should open a new one.