Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem with CORBA Client

843793Nov 17 2005
Hi,

I've created a java client that communicates with a server via RMI/IIOP. On server side EJB's are implementing the functionality. The EJB creates on demand simple beans (POJO) out of a database and returns them as an array of these beans. When 10-20 Beans are transmittet, everything works fine. 2-2.5 sec. per call. When I try to transmit 1000 beans, two or three calls go through, round about 10 seconds. Then a call blocks and the following exception is thrown:
WARNUNG: "IOP00410215: (COMM_FAILURE) Read of full message failed : bytes requested = 4.340.948 bytes read = 1.508.168 max wait time = 60.000 total time spent w
aiting = 71.229"
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 215  completed: No
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTimeoutExceeded(Unknown Source)
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTimeoutExceeded(Unknown Source)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readFully(Unknown Source)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.read(Unknown Source)
        at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPBody(Unknown Source)
        at com.sun.corba.se.impl.transport.CorbaContactInfoBase.finishCreatingMessageMediator(Unknown Source)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.finishReadingBits(Unknown Source)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(Unknown Source)
        at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(Unknown Source)
Exception in thread "main" java.rmi.MarshalException: CORBA COMM_FAILURE 1398079696 Maybe; nested exception is:
        org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 208 completed: Maybe
        at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
        at javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
        at com.ser.sedna.services.transfer.iiop._OrgaServiceIIOPRemote_Stub.findGroupMembers(Unknown Source)
        at com.ser.sedna.ws.test.IIOPTest.findAllUsers(IIOPTest.java:133)
        at com.ser.sedna.ws.test.IIOPTest.main(IIOPTest.java:174)
Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 208 completed: Maybe
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectionAbort(Unknown Source)
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectionAbort(Unknown Source)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.finishReadingBits(Unknown Source)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(Unknown Source)
        at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(Unknown Source)
Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 215  completed: No
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTimeoutExceeded(Unknown Source)
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTimeoutExceeded(Unknown Source)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readFully(Unknown Source)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.read(Unknown Source)
        at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPBody(Unknown Source)
        at com.sun.corba.se.impl.transport.CorbaContactInfoBase.finishCreatingMessageMediator(Unknown Source)
        ... 3 more
I've played around with the timeout settings (this exception raised with a timeout of 60sec) but that does not solve the problem. It only happens one or two calls later.

Any one an idea?

Thx,
Stephan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2005
Added on Nov 17 2005
0 comments
514 views