hello,
the following message appears sometimes in a GlassFish log file (for the full exception message see below):
"IOP00410225: (COMM_FAILURE) Write of message exceeded TCP timeout : max wait time = 6,000 ms, total time spent blocked, waiting to write = 7,280 ms."
there are standalone applications connecting to a GlassFish server (remote session beans) - but if this problem appears they are not able to connect anymore.
this state disappears:
a) after a GlassFish restart :)
b) itself after approx. 30 minutes (but not always)
the interesting lines in the source code of the ORB library (SocketOrChannelConnectionImpl.java:758):
756 if (byteBuffer.hasRemaining() && waiter.isExpired()) {
757 // failed to write entire message
758 throw wrapper.transportWriteTimeoutExceeded(
is it a GlassFish problem/bug or a hw/operating system problem?
thanks
ondrej
Ubuntu 8.04.1
Sun Java System Application Server 9.1_02 (build b04-fcs)
the full exception message:
javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=23;_ThreadName=p: thread-pool-1; w: 9;6000;7280;_RequestID=24ed94a5-36b1-4391-aa0c-57c12a6b0166;|"IOP00410225: (COMM_FAILURE) Write of message exceeded TCP timeout : max wait time = 6,000 ms, total time spent blocked, waiting to write = 7,280 ms."
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 225 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.transportWriteTimeoutExceeded(ORBUtilSystemException.ja
va:3354)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.transportWriteTimeoutExceeded(ORBUtilSystemException.ja
va:3378)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.write(SocketOrChannelConnectionImpl.java:758)
at com.sun.corba.ee.impl.encoding.CDROutputObject.writeTo(CDROutputObject.java:196)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.sendWithoutLock(SocketOrChannelConnectionImpl.
java:1126)
at com.sun.corba.ee.impl.encoding.BufferManagerWriteStream.sendFragment(BufferManagerWriteStream.java:149)
at com.sun.corba.ee.impl.encoding.BufferManagerWriteStream.sendMessage(BufferManagerWriteStream.java:163)
at com.sun.corba.ee.impl.encoding.CDROutputObject.finishSendingMessage(CDROutputObject.java:155)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.sendResponse(CorbaMessageMediatorImpl.java:1777)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1717)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
[Message sent by forum member 'ondrejj' (ondrejj)]
http://forums.java.net/jive/thread.jspa?messageID=315278