users@glassfish.java.net

IIOP behind NAT on glassfish v3

From: <glassfish_at_javadesktop.org>
Date: Wed, 29 Sep 2010 09:37:11 PDT

Hello, we are facing a big trouble trying to connect from a swing application to EJB application deployed in a glassfish v3 server. The swing application its connecting to the server via internet (in other words, through a couple of NATs). It can establish a connection to the port 3700 at the server, but then it open a new connection to the private server IP. We were solved this on glassfish v2 following this link:

http://forums.java.net/jive/message.jspa?messageID=217837#217837

But in glassfish v3 this is not possible; when we configure the IIOP listener from listen to 0.0.0.0 to listen to the public server IP the server can't start.

Could anybody solve this situation? We need to migrate a working app from glassfish v2 to glassfish v3, but this problem is blocking us.

Thanks in advance

Gonzalo Ferreyra.
[Message sent by forum member 'gonzaloferreyra']

http://forums.java.net/jive/thread.jspa?messageID=483942