• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jboss startup hangs in Eclipse

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

Thanks
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Randy, welcome to Java Ranch.

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
 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Randy
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.

Jhakda
 
Randy Alexander
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.


Randy


 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you using plain Eclipse (that is WTP), or are you using JBoss Tools? If you are not using JBoss Tools I highly recommend it for working with JBoss AS.

Actually, I am amazed that Eclipse can shut down JBoss AS because the same port used to shut it down is the one used to verify that it it running.
reply
    Bookmark Topic Watch Topic
  • New Topic