users@glassfish.java.net

Launching Application Client over the internet

From: <glassfish_at_javadesktop.org>
Date: Thu, 17 Jul 2008 16:15:46 PDT

HI guys, I´ve asked about this a few days ago and I couldn´t get an answer to this issue:

I have a Glassfish server behind a router at the office. The router´s IP is 213.60.194.251, the server IP on the local Network is 192.168.1.11 when I download the client throught java web start at
http://213.60.194.251:8080/Xxxxx/Xxxxx-app-client

I get the exception below. I´ve tried this same story in three different servers from three different internet locations and I always come to the same story. Does anyone know what is going on???

Java Web Start 1.6.0_10-beta
Usar versión JRE 1.6.0_10-beta Java HotSpot(TM) Client VM
Directorio local del usuario = C:\Documents and Settings\usuario
----------------------------------------------------
c: borrar ventana de consola
f: finalizar objetos en la cola de finalización
g: liberación de recursos
h: presentar este mensaje de ayuda
m: imprimir sintaxis de memoria
o: activar registro
p: recargar configuración de proxy
q: ocultar consola
r: recargar configuración de norma
s: volcar propiedades del sistema y de despliegue
t: volcar lista de subprocesos
v: volcar pila de subprocesos
0-5: establecer nivel de rastreo en <n>
----------------------------------------------------
JNLP JREDesc in Component ignored: http://213.60.194.251:8080/__JWSappclients/__appserver/${appserver.mainext.jnlp.filename}
JNLP JREDesc in Component ignored: http://213.60.194.251:8080/__JWSappclients/__appserver/${appserver.mainext.jnlp.filename}
JNLP JREDesc in Component ignored: http://213.60.194.251:8080/__JWSappclients/__appserver/${appserver.mainext.jnlp.filename}
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"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2690)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2711)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:261)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:274)
        at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:130)
        at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:192)
        at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:181)
        at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:325)
        at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
        at org.omg.CosNaming.NamingContextHelper.narrow(Unknown Source)
        at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:131)
        at com.sun.enterprise.naming.SerialContext.getCachedProvider(SerialContext.java:247)
        at com.sun.enterprise.naming.SerialContext.getRemoteProvider(SerialContext.java:205)
        at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:160)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:398)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at com.sun.enterprise.util.Utility.lookupObject(Utility.java:145)
        at com.sun.enterprise.ServerConfiguration.<init>(ServerConfiguration.java:96)
        at com.sun.enterprise.ServerConfiguration.getConfiguration(ServerConfiguration.java:80)
        at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.createTransactionManager(J2EETransactionManagerImpl.java:294)
        at com.sun.enterprise.appclient.AppContainer.initializeNaming(AppContainer.java:204)
        at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:364)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:221)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:182)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javaws.Launcher.executeApplication(Unknown Source)
        at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
        at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
        at com.sun.javaws.Launcher.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection timed out: connect
        at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:347)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:244)
        ... 34 more
Caused by: java.net.ConnectException: Connection timed out: connect
        at sun.nio.ch.Net.connect(Native Method)
        at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
        at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:105)
        at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:332)
        ... 35 more
[Message sent by forum member 'pablopina' (pablopina)]

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