Two Laptop Bag*
The moose likes JBoss/WildFly and the fly likes JBoss Time Out Error in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss Time Out Error in Eclipse" Watch "JBoss Time Out Error in Eclipse" New topic
Author

JBoss Time Out Error in Eclipse

Yohan Liyanage
Ranch Hand

Joined: Aug 17, 2007
Posts: 132

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
http://blog.yohanliyanage.com
Yohan Liyanage
Ranch Hand

Joined: Aug 17, 2007
Posts: 132

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

Joined: Jul 20, 2005
Posts: 10239
    
168

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 ]

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss Time Out Error in Eclipse