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.
- 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.
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.
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.
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.