[omniORB] org.omg.CORBA.MARSHAL with huge sequence
Luke Deller
ldeller@xplantechnology.com
Thu Jan 9 03:34:01 2003
Hi Laurent,
This sounds like you have hit a message size limit for one of the ORBs
involved. With omniORB, you can adjust the message size limit using the ORB
parameter called "giopMaxMsgSize". See this page for the relevant
documentation:
http://omniorb.sourceforge.net/omni40/omniORB/omniORB004.html#toc23
Regards,
Luke.
Laurent JOIGNY wrote:
> Hi,
>
> I'm trying to load a huge sequence of structures with
> thousands of elements, some times even hundreds of thousands.
>
> But when the number of elements is too big there is an error on the
> client side:
> org.omg.CORBA.MARSHAL
>
> I thought it was a problem with my client, but testing the client with a
> dummy Java server
> using random value for elements, the client work well for hundreds of
> thousands elements.
>
> An element in my sequence is usualy
> a CORBA structure with strings (~x2 rather small) and an integers (~x4).
>
> On the server side I'm using omniORB 3.0.5 [ the dummy server use java
> ORB or JacORB 1.4.1]
> on the client side I'm using JacORB 1.4.1 or Java ORB
>
> Both on the same machine Linux Redhat 6.2
> Pentium III ~863 Mhz
> Jdk1.4.1 from Sun
>
> Is there something wrong with huge sequence in omniORB 3.0.5 ?
>
>
> WITH JacORB
> -----------
> org.omg.CORBA.MARSHAL: This exception was reported by the server, it is
> only re-thrown here.
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at
> org.jacorb.orb.SystemExceptionHelper.read(SystemExceptionHelper.java:157)
> at
> org.jacorb.orb.connection.ReplyInputStream.checkExceptions(ReplyInputStream.java:117)
>
> at org.jacorb.orb.Delegate.invoke(Delegate.java:942)
> at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:76)
>
>
> WITH Java1.4 ORB
> ----------------
> org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: Yes
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at java.lang.Class.newInstance0(Class.java:306)
> at java.lang.Class.newInstance(Class.java:259)
> at
> com.sun.corba.se.internal.iiop.messages.ReplyMessage_1_0.getSystemException(ReplyMessage_1_0.java:87)
>
> at
> com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:105)
>
> at
> com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:309)
>
> at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
>
>
> Regards,
>
> --
> Laurent JOIGNY
> WesternGeco / Schlumberger / Houston
> phone : (+1) 713 689 6646
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list@omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
>
>