Eclipse – Starting JBoss from Eclipse


Staring JBoss server from within Eclipse Ganymede gives me the following problem:
"Server JBoss v4.0 at localhost was unable to start within 120 seconds. If the server requires more time, try increasing the timeout in the server editor."

The console shows JBoss has started in so and so minutes but soon after, there is a pop up if the above message.
I can also start the JBoss externally.

Best Solution

I had a similar problem, but it was with a Tomcat 5.5 server. The startup time was quite important, so I got this error.

To solve this problem, I did that steps: In Preferences, Server, I changed the property "Server timeout delay" to "Unlimited".


For Eclipse Ganymede, you must do that: In the server view, double-click on your server JBoss. In the overview, you have a "Timeouts" panel (by default, it is collapsed). You can define the timeouts for server start and stop operations.