users@glassfish.java.net

Have you ever run an EJB client from somewhere else on the internet? (GFv2)

From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Jul 2008 13:47:46 PDT

Hi guys,

We got this Glassfish V2 ur2 EAR application (One EJB module, One app-client module, one war module) running very nicely in our local LAN but we can´t get the application clients to run outside the local LAN.

While trying to connect from outside the local network it seems that at some point the ACC (Application clien container) tries to open a connection against the IP of the server on the local network and not agains the public internet IP (the router´s IP) below is the stack trace.




18-jul-2008 0:50:02 com.sun.enterprise.appclient.MainWithModuleSupport prepareSecurity
INFO: Security Manager is ON.
18-jul-2008 0:50:02 com.sun.enterprise.appclient.MainWithModuleSupport setTargetServerProperties
INFO: ACC001:Using ClientContainer file: [C:\DOCUME~1\usuario\CONFIG~1\Temp\sunacc44698.xml].
18-jul-2008 0:50:02 com.sun.enterprise.appclient.MainWithModuleSupport <init>
INFO: ACC024: IIOP endpoint(s) = 213.60.194.251:3700
18-jul-2008 0:50:36 com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
ADVERTENCIA: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 192.168.1.11; port: 3920"
[Message sent by forum member 'pablopina' (pablopina)]

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