Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

java.rmi.MarshalException using wlclient.jar

96 views
Skip to first unread message

Sriram Krovvidi

unread,
Jan 13, 2004, 4:11:37 PM1/13/04
to

Hi,

When ever am trying to connect to the server using the wlclient.jar on the client
side, I get a marshalling exception. Using weblogic.jar instead of wlclient.jar
resolves the issue. Has any one come across this error before ?

WebLogic 8.1 sp 2 ( tried CR124377 - but did not work)
Windows 2000
Oracle 9.2

The client is a simple ejb client that commects to the server and send over a
large data object to the EJB.

Client Side Stack Trace:

java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
at
com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:97)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at
us.ga.state.rev.rtitejb._TaxReturnDataHandler_Stub.saveSystemEditResults(Unknown
Source)
at
us.ga.state.rev.rtitejb.client.TaxReturnDataHandlerClient.saveSystemEditResults(TaxReturnDataHandlerClient.java:82)
at
rtit.TaxReturnDataManager.saveValidationAttempt(TaxReturnDataManager.java:1920)
at
rtit.TaxReturnDataManager.saveFromSystemValidation(TaxReturnDataManager.java:1347)
at rtit.TaxReturn.saveFromSystemValidation(TaxReturn.java:633)
at rtit.TaxReturn.performEditValidation(TaxReturn.java:800)
at
batchedits.SystemValidationManager.validateBatch(SystemValidationManager.java:92)
at batchedits.SystemValidationManager.main(SystemValidationManager.java:171)
Caused by: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
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:308)
at java.lang.Class.newInstance(Class.java:261)
at
com.sun.corba.se.internal.iiop.messages.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:90)
at
com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:105)
at
com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:314)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
... 8 more


Server Side Stack Trace:

<Jan 13, 2004 11:33:45 AM EST> <Debug> <IIOP> <BEA-002030> <Transport: REQUEST(5
6): dispatched>
<Jan 13, 2004 11:33:45 AM EST> <Debug> <IIOP> <BEA-002030> <Transport: REPLY(56)
: sending EXCEPTION(java.rmi.UnmarshalException)>
<Jan 13, 2004 11:33:45 AM EST> <Warning> <RMI> <BEA-080005> <Exception thrown
by
rmi server: sending exception
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is
:
java.rmi.UnmarshalException: stream corrupted: '0' tag reserved; nested
exception is:
org.omg.CORBA.MARSHAL: stream corrupted: '0' tag reserved vmcid: 0x0 m
inor code: 0 completed: No.
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.rmi.UnmarshalException: stream corrupted: '0' tag reserved; nested
exception is:
org.omg.CORBA.MARSHAL: stream corrupted: '0' tag reserved vmcid: 0x0 m
inor code: 0 completed: No
at us.ga.state.rev.rtitejb.TaxReturnDataHandler_a3q9wa_EOImpl_WLSkel.inv
oke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
ef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: java.rmi.UnmarshalException: stream corrupted: '0' tag reserved; nest
ed exception is:
org.omg.CORBA.MARSHAL: stream corrupted: '0' tag reserved vmcid: 0x0 m
inor code: 0 completed: No
at weblogic.iiop.Utils.mapSystemException(Utils.java:935)
at weblogic.iiop.RMIMsgInput.readObject(RMIMsgInput.java:86)
... 10 more
Caused by: org.omg.CORBA.MARSHAL: stream corrupted: '0' tag reserved vmcid: 0x0
minor code: 0 completed: No
at weblogic.iiop.IIOPInputStream.continuation(IIOPInputStream.java:499)
at weblogic.iiop.IIOPInputStream.endOfChunk(IIOPInputStream.java:478)
at weblogic.iiop.IIOPInputStream.checkChunk(IIOPInputStream.java:459)
at weblogic.iiop.IIOPInputStream.read_longlong(IIOPInputStream.java:1087
)
at com.sun.corba.se.internal.io.IIOPInputStream.inputPrimitiveField(IIOP
InputStream.java:1373)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInp
utStream.java:1786)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStr
eam.java:913)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInp
utStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(Value
HandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerI
mpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1944)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1965)
at weblogic.iiop.IIOPInputStream.readAny(IIOPInputStream.java:1579)
at weblogic.iiop.UtilDelegateImpl.readAny(UtilDelegateImpl.java:98)
at javax.rmi.CORBA.Util.readAny(Util.java:90)
at com.sun.corba.se.internal.io.ValueHandlerImpl.read_Array(ValueHandler
Impl.java:586)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(Value
HandlerImpl.java:244)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerI
mpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1944)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInp
utStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInp
utStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStr
eam.java:913)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInp
utStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(Value
HandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerI
mpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1944)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInp
utStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInp
utStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStr
eam.java:913)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInp
utStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(Value
HandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerI
mpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1944)
at weblogic.iiop.RMIMsgInput.readObject(RMIMsgInput.java:83)
... 10 more


Thank you for your help in advance.

- Sriram

Andy Piper

unread,
Jan 21, 2004, 1:05:09 PM1/21/04
to
"Sriram Krovvidi" <sri...@hotmail.com> writes:

> When ever am trying to connect to the server using the wlclient.jar on the client
> side, I get a marshalling exception. Using weblogic.jar instead of wlclient.jar
> resolves the issue. Has any one come across this error before ?
>
> WebLogic 8.1 sp 2 ( tried CR124377 - but did not work)
> Windows 2000
> Oracle 9.2

There are a couple of CR's about this. My suspicion is that these are
all the same and due to the server not coping with interleaved message
fragments which the JDK ORB sends. You can get around this by
specifying the following option in the client:

-Dcom.sun.CORBA.giop.ORBGIOP12BuffMgr=0

We will probably make this option the default in SP3 (it already is
for tunnelled clients) since it gives a significant performance
increase also. I'm not really sure why Sun decided that fragmentation
should be the default. The fragmentation bug in the server we will fix
in due course, although it is lower priority since the above option
seems to cure things for all customers.

andy

0 new messages