Good day!

While testing two JBoss servers in local network speaking to each other all 
worked ok, but when I placed JBoss servers in different places in Internet I 
encountered a real problem.

In JBoss Admin Guide is written about needed ports for JBoss working behind 
firewall - I opened 1098,1099,4444 for RMI and JNDI. But when starting then 
BOTH SIDES report exceptions that it is impossible to route to host. As I see 
from exceptions, RMI-stubs, generated by JBoss and sending between servers, 
point to LOCAL addresses of servers, that servers has behind firewalls, and not 
to real Internet addresses.

In JBOss FAQ I read about ONE method to solve the problem: insert in JBooss 
run.sh JVM params -Djava.rmi.server.hostname="address of firewall in Internet", 
-Djava.rmi.server.useLocalHostname=false.

Is it possible to tell JBoss in some config file use real (outer) Internet 
address of firewall instead inner local address of JBoss server behind 
firewall? There is no word about this problem in JBoss Admin Guide.

Please help.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to