users@glassfish.java.net

Exceptions while transmitting large sequences using glassfish ORB

From: <glassfish_at_javadesktop.org>
Date: Tue, 02 Oct 2007 01:22:20 PDT

Hello,

I'm currently performing some tests with the glassfish ORB from glassfish-v2-b58g in order to replace the jdk ORB because it is so slow. Everything looks pretty good so far, but when I try to transmit large data sequences (e.g. 200000 double values) the following exceptions are thrown:

org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 233 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.maximumReadByteBufferSizeExceeded(ORBUtilSystemException.java:3592)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.maximumReadByteBufferSizeExceeded(ORBUtilSystemException.java:3617)
        at com.sun.corba.ee.impl.transport.ByteBufferPoolImpl.reAllocate(ByteBufferPoolImpl.java:152)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.getNewBufferAndCopyOld(SocketOrChannelConnectionImpl.java:2062)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.blockingRead(SocketOrChannelConnectionImpl.java:1841)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1733)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1263)
[catch] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)

org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 233 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.maximumReadByteBufferSizeExceeded(ORBUtilSystemException.java:3592)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.maximumReadByteBufferSizeExceeded(ORBUtilSystemException.java:3617)
        at com.sun.corba.ee.impl.transport.ByteBufferPoolImpl.reAllocate(ByteBufferPoolImpl.java:152)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.getNewBufferAndCopyOld(SocketOrChannelConnectionImpl.java:2062)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1722)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1263)
[catch] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)

I would like to know if there is a property I can set in order to increase the buffer size. I also would like to know if there is any documentation about ORB properties which can be used for tuning the ORB.

Best regards,
Martin Goettlicher
[Message sent by forum member 'mgoe' (mgoe)]

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