CORBA COMM_FAILURE Exception
843793Aug 5 2005 — edited Jul 6 2008While running some CORBA code, I receive the occaisional COMM_FAILURE exception from my client. From the given exception, it appears that the read timeout needs to be increased. Can anyone provide guidance on how to increase this timeout? Or does this stack point to a different error?
I am using JDK 1.5.0_03 on Linux, here is the stack dump:
Aug 5, 2005 1:41:28 PM com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl readFully
WARNING: "IOP00410215: (COMM_FAILURE) Read of full message failed : bytes requested = 2,200,016 bytes read = 792,096 max wait time = 3,000 total time spent waiting = 3,190"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 215 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTimeoutExceeded(ORBUtilSystemException.java:2572)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTimeoutExceeded(ORBUtilSystemException.java:2598)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readFully(SocketOrChannelConnectionImpl.java:628)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:559)
at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPBody(MessageBase.java:413)
at com.sun.corba.se.impl.transport.CorbaContactInfoBase.finishCreatingMessageMediator(CorbaContactInfoBase.java:183)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.finishReadingBits(SocketOrChannelConnectionImpl.java:380)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1182)
at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:398)