Transmission of binary data fails with JacORB 3.5

Gotthard Witsch <[email protected]>
Newsgroups gmane.comp.corba.jacorb.devel
Message-ID <FDCF7296051FAA4B967818014FE88B2301272F4077DE@hermes.ith-icoserve.com>
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/>

_______________________________________________
jacorb-developer maillist  -  [email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.