-
1. Re: JBoss, Firewall Problems
brippe Aug 6, 2002 8:27 PM (in response to brippe)Ok Brad,
Since you had some problems, have been looking at http tunneling and pulling your hair out... and we've all been letting you sweat since the problem is much easier than you think.
You've opened up the ports on the firewall right 4444, 1099, and 1099. Set the Rmi port in the jboss.jcml
<!-- JNDI -->
1098
and you're still getting an inside ip back from the client?
What you need to do is set the
java.rmi.server.hostname=[outside address of the server]
property in the jboss.properties file. This is where your client is getting the internal address from. I assume if you don't set this property, jboss uses the local ip which is an internal address.
(Since no one answered, I thought I'd have some fun!)
Thanks I've got it all fixed now!
Brad -
2. Re: JBoss, Firewall Problems
brendanl Aug 22, 2002 9:07 AM (in response to brippe)Hi Brad,
I'm glad you DID answer yourself because I'm having the same trouble. Do you happen to know the configuration setting change required in 3.0? I don't see a jboss.properties file anywhere in my installation.
TIA -
3. Re: JBoss, Firewall Problems
msaringer Jan 24, 2003 3:39 AM (in response to brippe)you can do it this way in run.sh / run.cmd (thangs to mikestephen)
JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME
-Djava.rmi.server.hostname=aaa.bbb.ccc
-Djava.rmi.server.useLocalHostname=false"
michael