[jacorb-developer] Transmission of binary data fails with JacORB 3.5

Gotthard Witsch Gotthard.Witsch at ith-icoserve.com
Wed Dec 10 16:58:47 CET 2014


Hello Nick,

after upgrading JacORB from version 3.3 to version 3.5, the binary transmission fails with the following exceptions:

org.omg.CORBA.MARSHAL: Server-side Exception: null  vmcid: 0x41540000  minor code: 22  completed: No
                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
                at org.jacorb.orb.SystemExceptionHelper.read(SystemExceptionHelper.java:222)
                at org.jacorb.orb.ReplyReceiver.getReply(ReplyReceiver.java:458)
                at org.jacorb.orb.Delegate._invoke_internal(Delegate.java:1475)
                at org.jacorb.orb.Delegate.invoke_internal(Delegate.java:1244)
                at org.jacorb.orb.Delegate.invoke(Delegate.java:1232)
                at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:475)
                at ico.corba.fs.idl._FilesystemStub.uploadChunk(_FilesystemStub.java:954)

After analyzing the CDROutputStream.write_octet_array method, it seems that the bytes get cached in the deferredArrayQueue, for later transmission. But when it is time to send the bytes to the server, the bytes in the deferredArrayQueue seem not to be correctly added to the outputstream.

However if I set the jacorb property "jacorb.deferredArrayQueue" to "0" the bytes are transferred correctly to the server and the binary transmissions works without problems.

Have you got any clue, where a problem could occur?

Regards,

Gotthard Witsch
syngo.share Software Development
_____________________________________
ITH icoserve technology for healthcare GmbH
a siemens company - H CX HS INT CES ITH
Innrain 98, 6020 Innsbruck, Österreich - www.ith-icoserve.com<http://www.ith-icoserve.com/>



More information about the jacorb-developer mailing list