• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

JBoss Time Out Error in Eclipse

 
Ranch Hand
Posts: 132
Eclipse IDE Spring Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic