morning saminathan,
we have had the exact problem here also.  we solved it by removing the nat that was running behind the firewall, and putting the ejb server out into the dmz.  this was done because the rmi call came from behind the firewall, where we were doing the nat, and the rmi packet had the internal address of the server, not an external one, so the client machine couldn't see the address contained in the packet.  we also had to do some infrastructure configuration, as we are in a load balanced scenario, with the ejb server  setting behind a css and a couple of ssl accelerators. 
 
its been interesting getting this all stable and redundant, but it looks like we've gotten there.  hope this helps.
 
tom jansto
[EMAIL PROTECTED]

"For by grace are ye saved through faith, and that not of yourselves;  It is the gift of God, not of works, lest any man should boast."

Ephesians 2:8-9
--

-----Original Message-----
From: SAMINATHAN [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 4:01 AM
To: [EMAIL PROTECTED]
Subject: How do i run my server behind the proxy and firewall

Hi All
 
        We are facing some problem when we try to access Jonas behind the proxy and fire wall.Let me explain what we are trying to do.
 
 
   We are using Jonas 2.2.6 with RMI, our client Desktop swing client.In the normal scenario our ejbserver and Client are in the LAN behind the Firewall and Proxy.There was no problem.
 
But we got requirement that our off shore client wants to access the server, so we decided to set up the server over internet.
 
 Initially we kept a server in the LAN  behind proxy/firewall and try to access the server though the IP.but the client was not able to detect the IP , it was giving
 
javax.naming.Communication.  Root exception is java.rmi.ConnectIOExcept
ion: Exception creating connection to: 202.68.143.174; nested exception is:
        java.net.NoRouteToHostException: Operation timed out: no further informa
tion
java.net.NoRouteToHostException: Operation timed out: no further information
 
 
 then we set up our server in external IP and try to make our client connect the server through the external modem.
Everything started working fine.And once again we tried to connect the server from the client behind proxy and fire wall it was started giving the same exception.
 
 Our suspection is that client and Server is not able to maintain the communication through internet behind the proxy because of the DNS allocating the internal temporary IP. If this is the case then how do we solve the problem?
Can some one please help on this.

Thanks and Regards
Saminathan.       
 
 
  

Reply via email to