|
View:
New views
19 Messages
—
Rating Filter:
Alert me
|
|
|
Launching Application Client over the internetHI 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerHi Pablo
Have you noticed these messages: 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" It seems there is some kind of port connection failure. Maybe port 3920 or 3700 are not open or incorrectly NATted. Be sure the required port to be connected from the client is open on the router / firewall. Aniceto Perez [Message sent by forum member 'aperezymadrid' (aperezymadrid)] http://forums.java.net/jive/thread.jspa?messageID=287751 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerHi aperez
( o quizá Hola Aniceto) I can do telnet on port 3700 and my router /firewall is doing NAT on everything from 3700 to 4848 to the server, still, I can´t get it going. Have you ever run a client across the internet? Pablo. [Message sent by forum member 'pablopina' (pablopina)] http://forums.java.net/jive/thread.jspa?messageID=287772 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerPablo
Why the log records two port numbers apparently related to IIOP? Which is your current configuration of IIOP ports in GF? Consider that a web-start client application is a jnlp application, a downloaded application from the server running on your desktop machine. If that client application must connect with the server, the application must know how to do it: external IP and port and a firewall whith the right rules to enable and NAT those connections. If you are interested in my experience with IIOP, I don't trust it to be used between applications running in two different machines. If you read some threads in this forum, you can see there are some problems when locating references not registered in the same jvm. I suppose you have tested you application running the cliente and server in the same machine. I suggest to test the application with the client running in a different box inside tour local network and later put a router in the middle. Ya me contarás Aniceto Perez [Message sent by forum member 'aperezymadrid' (aperezymadrid)] http://forums.java.net/jive/thread.jspa?messageID=287832 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerHola Aniceto,
Thank you very much for noticing that about the ports I had not seen it before. I went to the server and I realised thre are three IIOP listeners and there was one on port 3920 it apparently is for SSL, I just tried to run the client again to identify why was it trying to connect to that particular one and I realised that actually the client tries to connect to all three IIOP listeners at the following ports 3700, 3820 and 3920 and it gets the same exception from all three IIOP listeners. We are running our EJB application on the local network with swing clients. It has been going very nicely (within the LAN) since two months. clients are downloaded with JavaWebStart and it runs excelently, even a JMS service we have setted up for the server to notify clients on certain events. Theses is the full exception I get on the Java Console, first while trying to connect to 3700 then 3820 and lastly 3920, after that it tries to connect again to 3700 and so on. Gracias. JNLP JREDesc in Component ignored: http://vpina.mooo.com:8080/__JWSappclients/__appserver/${appserver.mainext.jnlp.filename} 19-jul-2008 18:41:28 com.sun.enterprise.appclient.MainWithModuleSupport prepareSecurity INFO: Security Manager is ON. 19-jul-2008 18:41:28 com.sun.enterprise.appclient.MainWithModuleSupport setTargetServerProperties INFO: ACC001:Using ClientContainer file: [C:\DOCUME~1\usuario\CONFIG~1\Temp\sunacc21833.xml]. 19-jul-2008 18:41:29 com.sun.enterprise.appclient.MainWithModuleSupport <init> INFO: ACC024: IIOP endpoint(s) = vpina.mooo.com:3700 19-jul-2008 18:42:05 com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init> ADVERTENCIA: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 192.168.1.11; port: 3700" 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 19-jul-2008 18:46:07 com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init> ADVERTENCIA: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 192.168.1.11; port: 3820" 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 19-jul-2008 18:46:41 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=287836 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerdid you modify your sun-acc.xml to point your client at the server?
[Message sent by forum member 'agyepong' (agyepong)] http://forums.java.net/jive/thread.jspa?messageID=287864 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerNo, i didn´t even know that file exists. where is it? Until now, I´ve been running the clients form Java Web Start and they work well on the local network. Am I still meant to change that sun-acc.xml file? how can I do it?
[Message sent by forum member 'pablopina' (pablopina)] http://forums.java.net/jive/thread.jspa?messageID=287936 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerI have been out of the office a few days and am only now able to respond.
Briefly... 1. The sun-acc.xml file is normally used only when you launch with the appclient command. The settings there are not used - currently - during a Java Web Start launch. 2. Using the build-in Java Web Start support (as it appears you are doing), the server automatically places the address of the server-side ORB into the generated JNLP document that launches the client. This value is obtained from the ORB logic on the server side. I will let the ORB folks know of this forum post and let's see if they have anything to add. - Tim [Message sent by forum member 'tjquinn' (tjquinn)] http://forums.java.net/jive/thread.jspa?messageID=288506 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerThank you so much Tim, I´ve been dragging this problem for around two months...
I tried changing names for I.P adresses on the sun-acc.xml but I got no success. The same story happend again, the application client tried to to establish a connection against a local adress and not against the remote router´s IP. It would save us soooo much work to be eable to run our app clients across the internet, Thank´s for your help Tim. Pablo [Message sent by forum member 'pablopina' (pablopina)] http://forums.java.net/jive/thread.jspa?messageID=288552 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerI got exactly the same problem, then I upgraded jdk to 6u7 and app server to 9.1.2.
this time I got different error. it did not even launch on the local network. i found this problem the same as http://forums.java.net/jive/thread.jspa?threadID=44411&tstart=0 could this be a bug on JWS/JDK or my mistakes? I am more confused now. [Message sent by forum member 'bedjo' (bedjo)] http://forums.java.net/jive/thread.jspa?messageID=288895 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerYes, it's a different problem. Changes in Java Web Start from 6u6 to 6u7 have caused the problem discussed in the other thread.
I'm stilll in the process of looking into the details of those changes. - Tim [Message sent by forum member 'tjquinn' (tjquinn)] http://forums.java.net/jive/thread.jspa?messageID=288904 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerSince JWS directing to local IP, i wonder if enterprise app is designed to be installed only on local network?
if it is true, could we overcome this issue by setting up a VPN? i never had any experience with VPN. but i'll find out how is gonna be. Thanks, Tedjo [Message sent by forum member 'bedjo' (bedjo)] http://forums.java.net/jive/thread.jspa?messageID=289173 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerUsing the Java Web Start feature across the network should not be a problem in general and should not require using a VPN.
Can you please do one thing? From the command line enter the javaws -viewer command. One of the two windows lists the apps that Java Web Start has downloaded. For your app, right-click on it and choose Show JNLP File. Look for any property definitions that refer to IIOP and post them here? - Tim [Message sent by forum member 'tjquinn' (tjquinn)] http://forums.java.net/jive/thread.jspa?messageID=289180 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerTim, thank for your help.
here is the JLNP <jnlp spec="1.0+" codebase="http://125.164.10.201:8080/__JWSappclients/__appclient/KWLog/KWLog-app-client/" href="http://125.164.10.201:8080/__JWSappclients/__appclient/KWLog/KWLog-app-client/main.jnlp"> <information> <title>KWLog-app-client</title> <vendor>Application Client</vendor> <homepage href="http://125.164.10.201:8080/main-jnlp.html"/> <description kind="short">Application description</description> <description kind="one-line">KWLog-app-client</description> <offline-allowed/> </information> <security> <all-permissions/> </security> <update check="timeout" policy="always"/> <resources> <java version="1.5+"/> <jar href="http://125.164.10.201:8080/__JWSappclients/__appserver/aslib/appserv-jwsacc.jar" download="eager" main="true"/> <extension href="http://125.164.10.201:8080/__JWSappclients/__appclient/KWLog/KWLog-app-client/main-ext.jnlp" name="mainext"/> <extension href="http://125.164.10.201:8080/__JWSappclients/__appclient/KWLog/KWLog-app-client/client-client.jnlp" name="appclient"/> <property name="javax.xml.parsers.SAXParserFactory" value="com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"/> <property name="javax.xml.parsers.DocumentBuilderFactory" value="com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/> <property name="javax.xml.transform.TransformerFactory" value="com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl"/> <property name="org.xml.sax.parser" value="org.xml.sax.helpers.XMLReaderAdapter"/> <property name="org.xml.sax.driver" value="com.sun.org.apache.xerces.internal.parsers.SAXParser"/> <property name="java.util.logging.manager" value="com.sun.enterprise.server.logging.ACCLogManager"/> <property name="javax.enterprise.resource.corba.level" value="FINE"/> <property name="java.naming.factory.initial" value="com.sun.enterprise.naming.SerialInitContextFactory"/> <property name="java.naming.factory.url.pkgs" value="com.sun.enterprise.naming"/> <property name="java.naming.factory.state" value="com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl"/> <property name="com.sun.aas.jws.iiop.defaultHost" value="125.164.10.201"/> <property name="com.sun.aas.jws.iiop.defaultPort" value="3700"/> <property name="com.sun.aas.jws.retainTempFiles" value="false"/> <property name="com.sun.aas.jws.isJWS" value="true"/> <property name="com.sun.aas.jws.download.host" value="125.164.10.201"/> <property name="com.sun.aas.user.code.signed" value="true"/> </resources> <application-desc main-class="com.sun.enterprise.appclient.jws.boot.JWSACCMain"> <argument>-mainclass</argument> <argument>KWLogAppClient.frmPassword</argument> </application-desc> </jnlp> [Message sent by forum member 'bedjo' (bedjo)] http://forums.java.net/jive/thread.jspa?messageID=289244 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a routerEarly in the log output, the ACC reports the IIOP endpoint it will use as 125.164.10.201:3700. That is because the JNLP document includes the setting for the two IIOP-related properties.
Once the client-side ORB first contacts that server-side ORB, the ORBs exchange information including network information. It's possible that this information is using the local LAN address instead of the WAN address. What I'm a little puzzled about is that the initial address - 125.164.10.201 - comes from server-side ORB-related logic. Let me ping the ORB team again about this and see if they can shed some light on what might be happening. - Tim [Message sent by forum member 'tjquinn' (tjquinn)] http://forums.java.net/jive/thread.jspa?messageID=289410 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Can´t launch GlassFish Application Client from behind a router |