Hi Sasha!
I was trying many jndi.properties & jboss.properties

I've found a solution working, i tell u
in /etc/hosts i set the hostname to the internal IP
10.254.180.3   myhostname
in jboss.properties i've set
java.rmi.server.hostname=THE_PUBLIC_IP

all the other configurations are set again to default values

I don't know why this, but it works, so i will investigate later.
Do you think is a good solution?
Tx for the time you gave me

Giorgio Ponza



----- Original Message -----
From: "Sacha Labourey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 21, 2003 11:41 AM
Subject: RE: [JBoss-user] JBoss behind firewalls


> No, I guess that is the problem. The proxy embeeds the ip address of the
> server (to be able to remotly contact it) AS SEEN by the server, not the
> client. As both IP are different, it fails.
>
> One solution would be to set the java.rmi.server.hostname property to a
> HOSTNAME (and NOT an IP address) on the JBoss server and have this
hostname
> resolve correctly to an IP address on both the local net and the remote
net
> (each net has its own resolution protocol).
>
> Local machine may resolve MyServer to 192.168.1.1 and remote machine may
> resolve MyServer to 194.35.94.34
>
> Cheers,
>
>
> Sacha




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to