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.
Right click on "JBoss 4.2 at localhost" at "servers" window and select open, after that, just change the port number from 8080 to 8081 and you are good to go.
You have to change ports defined in JBoss configuration panel. I have used -
Djboss.service.binding.set=ports-01
to upgrade port numbers - and forgot to change Eclipse/JBoss configuration - and Eclipse failed to notice JBoss is already running.