tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mihamina Rakotomandimby (R12y)" <miham...@lab.vectoris.fr>
Subject public IPadresse is non-local
Date Wed, 28 Jan 2009 10:10:36 GMT
Hi,
I have a test box on my LAN.
The internet connexion is shared by a router (linksys box)

I test my application locally thourgh "http://localhost".
But when testing, my application displays:
   RemoteException occurred in server thread; nested exception is:
   java.rmi.AccessException: Registry.Registry.bind disallowed; origin
   /<public_ip_adress> is non-local host

"rmiregistry" is just launched and it runs on 1099

The router already NATs to the test box

I found this:
http://www.coderanch.com/t/209942/Distributed-Java/java/RMI-app-behind-NAT-firewall

I use ubuntu packaged Tomcat 6.

I already hacked /etc/default/tomcat6
[...]
JAVA_OPTS="-Djava.awt.headless=true -Xmx512M \
            -Djava.rmi.server.hostname=<public_ip_adress>"
TOMCAT6_SECURITY=no
[...]

No more way?

-- 
Chef de projet chez Vectoris
http://www.google.com/search?q=mihamina+rakotomandimby


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message