RP/TUX 8.1/TUX 9.1 - custom value-type objects not working with JDK 1.4.2 (Doc ID 775763.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo / Tuxedo / 8.1,9.1
Information in this document applies to any platform

Goal

DESCRIPTION:
Customer gets a marshalling exception when passing custom value-type objects to WLS 8.1 with JDK 1.4.2.

The stack trace is the following:
     [java] <Aug 30, 2004 6:11:24 PM GMT> <Warning> <RMI> <BEA-080005> 
<Exception thrown by rmi server: sending exception
     [java]  java.rmi.UnmarshalException: error unmarshalling arguments; 
nested exception is:
     [java]     java.rmi.UnmarshalException: stream corrupted: '0' tag 
reserved; nested exception is:
     [java]     org.omg.CORBA.MARSHAL: stream corrupted: '0' tag reserved  
vmcid: 0x0  minor code: 0  completed: No.
     [java] java.rmi.UnmarshalException: error unmarshalling arguments; 
nested exception is:
     [java]     java.rmi.UnmarshalException: stream corrupted: '0' tag 
reserved; nested exception is:
     [java]     org.omg.CORBA.MARSHAL: stream corrupted: '0' tag reserved  
vmcid: 0x0  minor code: 0  completed: No
     [java]     at 
com.company.ejb.bbm.activity.ejb.ActivityManager_d1v1tp_EOImpl_WLSkel.invoke(ILweblogic.rmi.spi.InboundRequest;Lweblogi
c.rmi.spi.OutboundResponse;Ljava.lang.Object;)Lweblogic.rmi.spi.OutboundResponse;(UnknownSource)
     [java]     at 
weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.server.RuntimeMethodDescriptor;Lweblogic.rmi.spi.I
nboundRequest;Lweblogic.rmi.spi.OutboundResponse;)V(BasicServerRef.java:477)
     [java]     at 
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(Lweblogic.rmi.extensions.server.RuntimeMethodDescriptor;Lweblogic.rmi
.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;)V(ReplicaAwareServerRef.java:108)
     [java]     at 
weblogic.rmi.internal.BasicServerRef$1.run()Ljava.lang.Object;(BasicServerRef.java:420)
     [java]     at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.Priv
ilegedExceptionAction;)Ljava.lang.Object;(AuthenticatedSubject.java:353)
     [java]     at 
weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security
.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(SecurityManager.java:14
4)
     [java]     at 
weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.InboundRequest;)V(BasicServerRef.java:415)
     [java]     at 
weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.ExecuteThread;)V(BasicExecuteRequest.java:30)
     [java]     at 
weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
     [java]     at 
weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
     [java]     at 
java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)

     [java] Caused by: java.rmi.UnmarshalException: stream corrupted: '0' tag 
reserved; nested exception is:
     [java]     org.omg.CORBA.MARSHAL: stream corrupted: '0' tag reserved  
vmcid: 0x0  minor code: 0  completed: No
     [java]     at 
weblogic.iiop.Utils.mapSystemException(Lorg.omg.CORBA.SystemException;)Ljava.rmi.RemoteException;(Utils.java:935)
     [java]     at 
weblogic.iiop.RMIMsgInput.readObject(Ljava.lang.Class;)Ljava.lang.Object;(RMIMsgInput.java:86)
     [java]     ... 11 more
     [java] Caused by: org.omg.CORBA.MARSHAL: stream corrupted: '0' tag 
reserved  vmcid: 0x0  minor code: 0  completed: No
     [java]     at 
weblogic.iiop.IIOPInputStream.continuation()Z(IIOPInputStream.java:499)

     [java]     at 
weblogic.iiop.IIOPInputStream.endOfChunk(I)Z(IIOPInputStream.java:478)
     [java]     at 
weblogic.iiop.IIOPInputStream.eof()Z(IIOPInputStream.java:569)
     [java]     at 
weblogic.iiop.IIOPInputStream.readObject()Ljava.lang.Object;(IIOPInputStream.java:2487)
     [java]     at 
com.company.ejb.bbm.vo.ValueObjectUtil.defaultReadExternal(Lcom.company.ejb.bbm.vo.ValueObjectBase;Ljava.io.ObjectInput
;)V(ValueObjectUtil.java:312)
     [java]     at 
com.company.ejb.bbm.activity.model.Activity.readExternal(Ljava.io.ObjectInput;)V(Activity.java:256)
     [java]     at 
weblogic.iiop.IIOPInputStream.read_value(Ljava.lang.Class;)Ljava.io.Serializable;(IIOPInputStream.java:1916)
     [java]     at 
weblogic.iiop.RMIMsgInput.readObject(Ljava.lang.Class;)Ljava.lang.Object;(RMIMsgInput.java:83)

CONFIGURATION:
Tuxedo 8.1

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms