users@glassfish.java.net

Re: ORB/IIOP listeners -- Connection timeout when server is not on localhos

From: <glassfish_at_javadesktop.org>
Date: Thu, 03 Apr 2008 08:02:29 PST

Hi Tim,

As mentioned in my first post, I already used the -D option.
Following your suggestion, I now also tried the System.setProperty() method with a no-args InitialContext.
Unfortunately, still no luck.

Here's the server.log.
[i]
[#|2008-04-03T16:42:59.591+0100|FINE|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=47;_ThreadName=p: thread-pool-1; w: 73;ClassName=com.sun.enterprise.iiop.IIOPSSLSocketFactory;MethodName=setAcceptedSocketOptions;_RequestID=72d56e21-c214-4409-927e-b55922571635;|setAcceptedSocketOptions: SocketOrChannelAcceptorImpl[ASServerSocketChannel[sun.nio.ch.ServerSocketChannelImpl[/0.0.0.0:3700]] IIOP_CLEAR_TEXT true true] ServerSocket[addr=/0.0.0.0,localport=3700] Socket[addr=/80.127.125.92,port=57737,localport=3700]|#]

[#|2008-04-03T16:42:59.591+0100|FINE|sun-appserver9.1|javax.enterprise.resource.corba.ee._CORBA_.rpc.transport|_ThreadID=47;_ThreadName=p: thread-pool-1; w: 73;ClassName=com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread;MethodName=run;Thread[p: thread-pool-1; w: 73,5,main];EJBClassLoader :
urlSet = []
doneCalled = false
 Parent -> java.net.URLClassLoader_at_f19d6e
;java.net.URLClassLoader_at_f19d6e;_RequestID=72d56e21-c214-4409-927e-b55922571635;|"IOP00710307: (INTERNAL) Worker thread Thread[p: thread-pool-1; w: 73,5,main] context ClassLoader was changed to EJBClassLoader :
urlSet = []
doneCalled = false
 Parent -> java.net.URLClassLoader_at_f19d6e
; will attempt a reset to its initial ClassLoader java.net.URLClassLoader_at_f19d6e."
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 307 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.workerThreadForgotClassloaderReset(ORBUtilSystemException.java:7583)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.workerThreadForgotClassloaderReset(ORBUtilSystemException.java:7608)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:588)
|#]

[#|2008-04-03T16:42:59.591+0100|FINE|sun-appserver9.1|javax.enterprise.resource.corba.ee._CORBA_.rpc.transport|_ThreadID=47;_ThreadName=p: thread-pool-1; w: 73;ClassName=com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread;MethodName=run;Thread[p: thread-pool-1; w: 73,5,main];EJBClassLoader :
urlSet = []
doneCalled = false
 Parent -> java.net.URLClassLoader_at_f19d6e
;java.net.URLClassLoader_at_f19d6e;_RequestID=72d56e21-c214-4409-927e-b55922571635;|"IOP00710305: (INTERNAL) Worker thread Thread[p: thread-pool-1; w: 73,5,main] finished work item with ClassLoader EJBClassLoader :
urlSet = []
doneCalled = false
 Parent -> java.net.URLClassLoader_at_f19d6e
; ClassLoader successfully reset to java.net.URLClassLoader_at_f19d6e"
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 305 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.workerThreadClassloaderReset(ORBUtilSystemException.java:7522)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.workerThreadClassloaderReset(ORBUtilSystemException.java:7547)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:593)
|#]

[#|2008-04-03T16:42:59.685+0100|FINE|sun-appserver9.1|javax.enterprise.resource.corba.ee._CORBA_.rpc.transport|_ThreadID=47;_ThreadName=p: thread-pool-1; w: 73;ClassName=com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl;MethodName=createWorkerThreadHelper;Thread[p: thread-pool-1; w: 74,5,main];java.net.URLClassLoader_at_f19d6e;_RequestID=72d56e21-c214-4409-927e-b55922571635;|"IOP00710304: (INTERNAL) Worker thread Thread[p: thread-pool-1; w: 74,5,main] has been created with ClassLoader java.net.URLClassLoader_at_f19d6e"
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 304 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.workerThreadCreated(ORBUtilSystemException.java:7492)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.workerThreadCreated(ORBUtilSystemException.java:7516)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl.createWorkerThreadHelper(ThreadPoolImpl.java:326)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl.createWorkerThread(ThreadPoolImpl.java:341)
        at com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl.addWork(WorkQueueImpl.java:161)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.addMessageMediatorToWorkQueue(SocketOrChannelConnectionImpl.java:2090)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.parseBytesAndDispatchMessages(SocketOrChannelConnectionImpl.java:1964)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1718)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1263)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
|#]

[#|2008-04-03T16:43:29.982+0100|FINE|sun-appserver9.1|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=48;_ThreadName=p: thread-pool-1; w: 74;ClassName=com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl;MethodName=nonBlockingRead;SocketOrChannelConnectionImpl[ java.nio.channels.SocketChannel[connected local=/192.168.100.182:3700 remote=/80.127.125.92:57737] ESTABLISHED true true];_RequestID=fb66502b-db1d-45d6-ad92-7bca99c5ba54;|"IOP00410211: (COMM_FAILURE) IOException received when reading from connection SocketOrChannelConnectionImpl[ java.nio.channels.SocketChannel[connected local=/192.168.100.182:3700 remote=/80.127.125.92:57737] ESTABLISHED true true]"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 211 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConnection(ORBUtilSystemException.java:2946)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConnection(ORBUtilSystemException.java:2965)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:2000)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1713)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1263)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
        at sun.nio.ch.SocketDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
        at sun.nio.ch.IOUtil.read(IOUtil.java:206)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:1987)
        ... 3 more
|#]

[#|2008-04-03T16:43:29.982+0100|FINE|sun-appserver9.1|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=48;_ThreadName=p: thread-pool-1; w: 74;ClassName=com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl;MethodName=doOptimizedReadStrategy;_RequestID=fb66502b-db1d-45d6-ad92-7bca99c5ba54;|"IOP00410208: (COMM_FAILURE) Connection abort"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectionAbort(ORBUtilSystemException.java:2862)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectionAbort(ORBUtilSystemException.java:2880)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1788)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1263)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 211 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConnection(ORBUtilSystemException.java:2946)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConnection(ORBUtilSystemException.java:2965)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:2000)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1713)
        ... 2 more
Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
        at sun.nio.ch.SocketDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
        at sun.nio.ch.IOUtil.read(IOUtil.java:206)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:1987)
        ... 3 more
|#]

[#|2008-04-03T16:43:29.982+0100|FINE|sun-appserver9.1|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=48;_ThreadName=p: thread-pool-1; w: 74;ClassName=com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl;MethodName=doOptimizedReadStrategy;_RequestID=fb66502b-db1d-45d6-ad92-7bca99c5ba54;|"IOP00410228: (COMM_FAILURE) Throwable received in doOptimizedReadStrategy"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 228 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.throwableInDoOptimizedReadStrategy(ORBUtilSystemException.java:3448)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.throwableInDoOptimizedReadStrategy(ORBUtilSystemException.java:3466)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1797)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1263)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 211 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConnection(ORBUtilSystemException.java:2946)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConnection(ORBUtilSystemException.java:2965)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:2000)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1713)
        ... 2 more
Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
        at sun.nio.ch.SocketDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
        at sun.nio.ch.IOUtil.read(IOUtil.java:206)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.nonBlockingRead(SocketOrChannelConnectionImpl.java:1987)
        ... 3 more
|#]


[/i]

Any other hints/ideas?

Bart.
[Message sent by forum member 'bertusdotcom' (bertusdotcom)]

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