I am trying to run Jboss 4.2 from inside Eclipse 3.4.2. The server seems to start properly, I get the startup message in the console: "..Started in 39s:910ms". I am also able to bring up a webpage. However, the server time outs and Eclipse shuts it down. Increasing the timeout has no effect. Apparently Jboss is not informing Eclipse that it has started. Can anyone offer a suggestion?
This question has been discussed repeatedly in this forum and the IDE forum - searching for those discussions might help you also. The usual culprit is if you changed the ports JBoss AS uses then you have to also tell Eclipse of those ports or else it cannot tell when the server is running. To educate Eclipse, edit plugins/org.eclipse.jst.server.generic.jboss_1.5.206.v20090115/servers/jboss42.serverdef
Follow Peter's advice to see if ports used are set properly.
If that is fine, when you start JBoss from eclipse, what does your console say? Have a look there and (paste here)/ (try resolving) if any problem is found.
Pump up the time out generously if everything appears fine in console.
If I become filthy rich, I'll sponsor research for painless dental treatment at Harvard Medical School. Thats why,I'm learning Java.I have 32 teeth, 22 are man made.
Joined: Jun 01, 2009
The ports appear to be correct. JBoss 5.0 has the same problem. I have set the timeout to an outrageously high value (this allows me to actually to do some work before the timeout expires). Eclipse still shows JBoss as "Starting..." even though it has actually started.