10 Replies Latest reply on May 13, 2016 11:41 AM by shilpa2321

    Server JBoss 7.0 Runtime Server failed to start

    ssciacca

      HI,

      I'm trying to start JBoss AS 7 CR1 inside Eclipse (Indigo 3.7 + JBoss Tools 3.3 M2), but after several minutes I get the following error:

       

      "Server JBoss 7.0 Runtime Server failed to start"

       

      In the console i don't see anything!

      I followed this guide: https://docs.jboss.org/author/display/AS7/Getting+started+with+JBoss+AS+7

      Java version used by eclipse is 1.6.0_26.

       

      Thanks a lot for help.

        • 1. Re: Server JBoss 7.0 Runtime Server failed to start
          jaikiran

          Moved to JBoss Tools forum.

          • 2. Re: Server JBoss 7.0 Runtime Server failed to start
            adietish

            Hi Salvatore

             

            • Did you get any console output (eclipse console should get focused as soon as the as7 executable is being started)?
            • Can you please check if as7 was started (check listening ports on your system for ex. with netstat. You should see a daemon listening on :8080)?
            • Can you please check what poller is selected for as7 (double click the server adapter and check "Startup Poller" in the "Server state Detectors") section.

             

            poller-configuration.png

             

            Cheers

            André

            • 3. Re: Server JBoss 7.0 Runtime Server failed to start
              ssciacca

              Hi Andre,

               

              Thank you for help.

              I resolved the problem!.

              I noted my eclipse installation use java 1.6.0_26 but the jre version, not the jdk/sdk version.

              From Window/Preferences/Java/Installed JREs, I removed jre and added an older version (jdk 1.6.0_18).

              Next, in the Server view, double click on the server adapter -> cklick in Open launch configuration and in the class path folder remove current Bootstrap Entry (the old JRE), click on "Restore default entries" add "jdk 1.6.0_18". Apply and exit.

              I go to the server view right click on Server adapter, choose "Start" and now I can see the normal activity on console with the final message

               

              "JBoss AS 7.0.0.CR1 "White Rabbit" started in 3469ms"

               

              I think the problem was the use of jre. May be the correct use is JDK/SDK version of java. I downloaded the last version (JDK/SDK 1.6.0_26) re-apply the above procedure with this version and the server start fine too.

              • 4. Re: Server JBoss 7.0 Runtime Server failed to start
                adietish

                Hi Salvatore

                 

                glad that you found the problem and could solve it

                 

                Cheers

                André

                • 5. Re: Server JBoss 7.0 Runtime Server failed to start
                  joe.knudsen

                  Thanks I had the same problem.  You need to have a 1.6 JDK installed in the installed JRE section a JRE will not start the JBoss AS.

                  • 6. Re: Server JBoss 7.0 Runtime Server failed to start
                    orr94

                    I had the same problem, but I have one more tip. If you've already created the JBoss AS 7 server runtime pointing to the JRE, you'll need to delete it and re-add it using the JDK. Even though I switched the runtime to use the JDK, it still had a reference somewhere to the JRE. Deleting and re-adding using the JDK did the trick.

                    • 7. Re: Server JBoss 7.0 Runtime Server failed to start
                      steve_np

                      Thanks! After much frustration I was finally able to get a co-worker's configuration running by switching to the JDK as you suggested. Interestingly though it appears that my 64-bit windows 7 machine is using the JRE while his 32-bit Windows XP required the JDK.

                      • 8. Re: Server JBoss 7.0 Runtime Server failed to start
                        mydevbox

                        HI  Andre,

                        Am having same or similar problem. In my case the server does indicate server started (apps are acessible), but the mini progress indicates server starting until the server finally shows "Server JBoss EAP 6.1 Runtime Server failed to start" based off the timeout start value specified. Any suggestions? I have tried out the suggestions here but does not seem to be working for me. Thanks.

                        • 9. Re: Server JBoss 7.0 Runtime Server failed to start
                          mydevbox

                          Never mind... it had something to do with a vm argument i was passing. Thanks

                          • 10. Re: Server JBoss 7.0 Runtime Server failed to start
                            shilpa2321

                            Same here, I had added and removed a VM argument. Somehow a double quote was left out in the end after I had removed my variable. That was causing the problem to start. Now Jboss started successfully. Thanks again.