Unable to keep external IP
Hi
We are testing a Stand Alone application connecting to a remote (thru internet) EJB module.
We had tested the application client on our network, and it did worked fine. When trying to run the client on the remote computer we received an Exception message (IOP00410201). We did a basic configuration, which includes setting our ADSL modem/router to redirect port 3700 to the SJAS server and changed the remote application client InitialContext properties,
Properties were changed as follow:
properties.setProperty("java.naming.factory.initial",
"com.sun.enterprise.naming.SerialInitContextFactory");
properties.setProperty("java.naming.factory.url.pkgs",
"com.sun.enterprise.naming");
properties.setProperty("java.naming.factory.state",
"com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
properties.setProperty("org.omg.CORBA.ORBInitialHost", sicflex.no-ip.com);
properties.setProperty("org.omg.CORBA.ORBInitialPort", 3700);
The received exception: IOP00410201 (COMM-FAILURE), displays the server's network ip: 192.168.1.2, which is unreachable from an external connection.
It seems that after stablishing initial communication, our server notifies the remote client with a new Ip address (the server's internal ip).
How can we keep the connection that we had stablish at InitialContext?
Thanks
Federico

