IIOP behind NAT on glassfish v3
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:
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