I've noticed that on my companies linux machines 
(which are using debian sarge linux dist.), using the hostname does not work 
here. You need the IP address, otherwise it resolves to the loopback address 
and remote connections do not work.  The only solution we could get to work was 
using the -b option followed by the machine's ip address.  Meanwhile, on my 
home setup (which uses ubuntu linux) the hostname resolves just fine to the 
actual IP address of the machine with out needing to specify the IP address 
anyhwere in the config or startup.  

Another difference that I noticed was that when things worked without 
specifying the ip address the following code would result in the actuall ip 
address of the machine:
System.out.println(InetAddress.getLocalHost().getHostAddress());

while on the machines where the hostname would not resolve properly the above 
code would result in the loopback address being returned.  

This points to it being either a java security issue as noted in the java docs 
fot InetAddress.getLocalHost (although the java security settings for both of 
the different types of linux that I tested on appeared to be the same, yet with 
different localhost ip resolution results)  or a machine setup issue or a 
difference in the Unix/Linux flavors being used.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956298#3956298

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956298

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to