File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Jboss does not finish the startup process Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss does not finish the startup process" Watch "Jboss does not finish the startup process" New topic

Jboss does not finish the startup process

Liwuen Chew

Joined: Mar 11, 2010
Posts: 24
Hi! I'm new on this forum and I would like to tell that it helped me a lot in the past.
Well, I have this problem. Hope somebody could help me.
I am using Jboss 5.0.1 and Eclipse Galileo. I am trying to do some web services. The fact is that I added Jboss as a server on Eclipse, and it starts fine. But when I add the option "-b" and my IP address ("-b") in the launch configuration arguments and try to start the server, I get in the console a message telling me that it started, but Eclipse still shows a green progress bar saying "Starting server" and it does never stops the start process.

I thought it could be a Jboss problem, but when I do the "run -b" ( address) on the prompt in the bin folder, it works. It seems to be something about the Jboss configuration on Eclipse, but still I am not sure if it is the problem or how to solve this.
Can somebody help me? Thank you very much!
Peter Johnson

Joined: May 14, 2008
Posts: 5852

The problems is that you never told Eclipse that it should look somewhere other than localhost to determine that JBoss AS was running. The issue has to do with how ports are bound when specifying an IP address. If you use a specific address, such as, then JBoss AS will respond only to requests to that address; it will NOT respond to requests on localhost. But if you bind to, then JBoss AS will bind to all IP addresses on the NIC and thus respond to requests directed at both and to localhost.

One possible solution: start JBoss AS with -b instead.

Another possible solution: search the Eclipse directory for the files *.serverdef. Locate the file for the JBoss AS server version you specific in Eclipse when you created the server and edit that file changing all occurrences of localhost or to your IP address.

JBoss In Action
Liwuen Chew

Joined: Mar 11, 2010
Posts: 24
Hey! the "-b" worked! Thanks!
I agree. Here's the link:
subject: Jboss does not finish the startup process
It's not a secret anymore!