Found this a javalobby.

  At 6:28 PM  on Apr 1, 2003, Nils Holgersson wrote:



Re: Communication Exception Jboss and some firewall info
Hmmm, I'm fooling myself here. That didn't do the trick. But THIS did: 

In the /etc/hosts of the server machine, there was a mapping: 
127.0.0.1 localhost server.host.name 

As Jboss startet, it resolved server.host.name to 127.0.0.1. I put 
server.host.name in a DNS instead, where it should be. Alternatively you could 
write: 

127.0.0.1 localhost server.host.name 
1.2.3.4 server.host.name 

Then I had problem to get the client run both inside och outside of my NAT 
firewall. This because the RMI-stub sent by Jboss contained the local 
IP-address of server.host.name. 

By adding the JAVA_OPTS 

-Djava.rmi.server.hostname=server.host.name 

to the Jboss startup script run.sh, this was fixed as well. Now the RMI-stub 
delivered by jboss stated "server.host.name" and not an resolved IP address. 

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

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


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to