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 xxx.xxx.xxx.xxx") 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 xxx.xxx.xxx.xxx" (xxx.xxx.xxx.xxx=ip 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!
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 192.168.1.100, then JBoss AS will respond only to requests to that address; it will NOT respond to requests on localhost. But if you bind to 0.0.0.0, then JBoss AS will bind to all IP addresses on the NIC and thus respond to requests directed at both 192.168.1.100 and to localhost.
One possible solution: start JBoss AS with -b 0.0.0.0 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 127.0.0.1 to your IP address.