Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss Time Out Error in Eclipse

 
Yohan Liyanage
Ranch Hand
Posts: 132
Eclipse IDE Spring Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to run a simple web service on JBoss 4.2, through Eclipse Europa 3.3 JEE. But everytime I run it, JBoss starts up and then Eclipse stops it with an error message saying 50 seconds time out has been elapsed.

The console output from JBoss says that JBoss server has started (33 secs), but the Eclipse Server Panel says its still "Starting...". Thats when the error pops up.

I checked JBoss by running it seperately and it works fine. This problem occurs when I try to run it through Eclipse.

Appreciate any help.

Thanks.
 
Yohan Liyanage
Ranch Hand
Posts: 132
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured out the problem. I'm placing a note here for others, in case if they face the same problem as I did.

In the JBoss Configuration Settings in Eclipse, I have set the port as 8079, because I also had a Tomcat Installation, which I intended to run on 8080. (It is currently inactive though). When I run JBoss externally, JBoss runs in port 8080. When I set the port in Eclipse to 8080, it worked.

Anyway, I would like to the procedure to change the port which JBoss run. Thanks.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyway, I would like to the procedure to change the port which JBoss run


Try this - Change port 8080 to some other port in the following files:

server/xxx/deploy/jbossweb.deployer/server.xml
server/xxx/deploy/http-invoker.sar/META-INF/jboss-service.xml
server/xxx/deploy/jbossws14.sar/META-INF/jboss-service.xml
server/xxx/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/ClassLoaders.bsh
[ September 29, 2007: Message edited by: Jaikiran Pai ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic