-
1. Re: Run JBoss on Linux
jonlee Jun 20, 2003 10:24 PM (in response to stasky)Probably the host resolution is faulty on your boxen. The error seems to change between different JDKs.
Essentially, the Webservice needs to check the underlying network configuration - and it does this through the java.net.* classes which interface with the native OS. It looks for things like the hostname, the address to which the host is bound and so on. Unfortunately, sometimes these are not set up correctly.
Check the FAQ on problems with 127.0.0.1. They prescribe a bunch of things to do.
Essentially, you want /etc/hosts to be correctly set up for your machine and have an entry for your machine and have a proper localhost definition - RedHat sometimes doesn't do this properly. Make sure that localhost is declared first before the "dumb" localhost.localdomain.
e.g.
127.0.0.1 localhost localhost.localdomain
192.168.10.10 myhost myhost.somedomain
Define your host, myhost[/] to match the name returned by `hostname` and obviously set the right IP address.
This should fix the problem most of the time. Also check the DNS. Again, all in the FAQ (I hope).
Hope it helps. -
2. Re: Run JBoss on Linux
adrian.brock Jun 20, 2003 10:44 PM (in response to stasky)This is usually caused because there is a problem
determng your hostname.
Regards,
Adrian -
3. Re: Run JBoss on Linux
stasky Jul 15, 2003 7:47 PM (in response to stasky)Thanks for your help, I found some ways but not the best, now the Tomcat of my JBoss conflicts with my standard-Tomcat...I will surely ask for help again, since my programming work is just at the beginning...!