Marshall exception in invoking EJB's - Websphere

This is a discussion on Marshall exception in invoking EJB's - Websphere ; Hi, We are using websphere 6.1 . We are downloading some jar files to the client side using JNLP. In the downloaded jars some of the classes are invoking remote methods of EJB's deployed in the server. When a method ...

+ Reply to Thread
Results 1 to 8 of 8

Thread: Marshall exception in invoking EJB's

  1. Marshall exception in invoking EJB's

    Hi,
    We are using websphere 6.1 . We are downloading some jar files to the client side using JNLP. In the downloaded jars some of the classes are invoking remote methods of EJB's deployed in the server. When a method is called from the client side, that method is executing successfully in the session bean and returning ArrayList.But in the client side it was not able to receive the returned values. I am returning ArrayList from the remote method. We are using JDK5.

    Please help me.
    Thanks


    Here is the exception :

    Aug 8, 2007 6:27:27 PM com.sun.corba.se.impl.encoding.CDRInputStream_1_0 start_value
    WARNING: "IOP00810228: (MARSHAL) Indirection preseint in RMI-IIOP stream format version 2 optional data valuetype header"
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 228 completed: Maybe
    at com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.customWrapperIndirection(Unknown Source)
    at com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.customWrapperIndirection(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. start_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.star t_value(Unknown Source)
    at com.sun.corba.se.impl.io.InputStreamHook$DefaultSt ate.beginUnmarshalCustomValue(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctField(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputClas sFields(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.defaultRe adObjectDelegate(Unknown Source)
    at com.sun.corba.se.impl.io.InputStreamHook.defaultRe adObject(Unknown Source)
    at java.math.BigDecimal.readObject(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.invokeObj ectReader(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctUsingFVD(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.sun.corba.se.impl.corba.TCUtility.unmarshalIn( Unknown Source)
    at com.sun.corba.se.impl.corba.AnyImpl.read_value(Unk nown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_any(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _any(Unknown Source)
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.readAny (Unknown Source)
    at javax.rmi.CORBA.Util.readAny(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctField(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputClas sFields(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.readObjec tDelegate(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.readObjec tOverride(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.util.ArrayList.readObject(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.invokeObj ectReader(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.att.erp.ejb.session._ICSSession_Stub.getRefere nceDataList(_ICSSession_Stub.java:462)
    at com.att.erp.common.ICSGenericDrillDown$11.run(ICSG enericDrillDown.java:1077)
    Aug 8, 2007 6:27:27 PM com.sun.corba.se.impl.encoding.CDRInputStream_1_0 read_value
    WARNING: "IOP00810211: (MARSHAL) Exception from readValue on ValueHandler in CDRInputStream"
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
    at com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.valuehandlerReadException(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctField(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputClas sFields(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.defaultRe adObjectDelegate(Unknown Source)
    at com.sun.corba.se.impl.io.InputStreamHook.defaultRe adObject(Unknown Source)
    at java.math.BigDecimal.readObject(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.invokeObj ectReader(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctUsingFVD(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.sun.corba.se.impl.corba.TCUtility.unmarshalIn( Unknown Source)
    at com.sun.corba.se.impl.corba.AnyImpl.read_value(Unk nown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_any(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _any(Unknown Source)
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.readAny (Unknown Source)
    at javax.rmi.CORBA.Util.readAny(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctField(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputClas sFields(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.readObjec tDelegate(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.readObjec tOverride(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.util.ArrayList.readObject(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.invokeObj ectReader(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.att.erp.ejb.session._ICSSession_Stub.getRefere nceDataList(_ICSSession_Stub.java:462)
    at com.att.erp.common.ICSGenericDrillDown$11.run(ICSG enericDrillDown.java:1077)
    Caused by: java.io.StreamCorruptedException: BigInteger: Signum not present in stream
    at java.math.BigInteger.readObject(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.invokeObj ectReader(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    ... 52 more
    Aug 8, 2007 6:27:27 PM com.sun.corba.se.impl.encoding.CDRInputStream_1_0 read_value
    WARNING: "IOP00810211: (MARSHAL) Exception from readValue on ValueHandler in CDRInputStream"
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
    at com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.valuehandlerReadException(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.sun.corba.se.impl.corba.TCUtility.unmarshalIn( Unknown Source)
    at com.sun.corba.se.impl.corba.AnyImpl.read_value(Unk nown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_any(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _any(Unknown Source)
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.readAny (Unknown Source)
    at javax.rmi.CORBA.Util.readAny(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctField(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputClas sFields(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.readObjec tDelegate(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.readObjec tOverride(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.util.ArrayList.readObject(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.invokeObj ectReader(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.att.erp.ejb.session._ICSSession_Stub.getRefere nceDataList(_ICSSession_Stub.java:462)
    at com.att.erp.common.ICSGenericDrillDown$11.run(ICSG enericDrillDown.java:1077)
    Caused by: java.io.StreamCorruptedException:
    at com.sun.corba.se.impl.io.IIOPInputStream.inputClas sFields(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.defaultRe adObjectDelegate(Unknown Source)
    at com.sun.corba.se.impl.io.InputStreamHook.defaultRe adObject(Unknown Source)
    at java.math.BigDecimal.readObject(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.invokeObj ectReader(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctUsingFVD(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    ... 36 more
    Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
    at com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.valuehandlerReadException(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctField(Unknown Source)
    ... 49 more
    Caused by: java.io.StreamCorruptedException: BigInteger: Signum not present in stream
    at java.math.BigInteger.readObject(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.invokeObj ectReader(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    ... 52 more
    Exception raised in ICSGERIC... :CORBA MARSHAL 1398079699 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
    java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSyst emException(Unknown Source)
    at javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
    at com.att.erp.ejb.session._ICSSession_Stub.getRefere nceDataList(_ICSSession_Stub.java:476)
    at com.att.erp.common.ICSGenericDrillDown$11.run(ICSG enericDrillDown.java:1077)
    Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
    at com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.valuehandlerReadException(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.sun.corba.se.impl.corba.TCUtility.unmarshalIn( Unknown Source)
    at com.sun.corba.se.impl.corba.AnyImpl.read_value(Unk nown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_any(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _any(Unknown Source)
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.readAny (Unknown Source)
    at javax.rmi.CORBA.Util.readAny(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctField(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputClas sFields(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _abstract_interface(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.readObjec tDelegate(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.readObjec tOverride(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.util.ArrayList.readObject(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.invokeObj ectReader(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.att.erp.ejb.session._ICSSession_Stub.getRefere nceDataList(_ICSSession_Stub.java:462)
    ... 1 more
    Caused by: java.io.StreamCorruptedException:
    at com.sun.corba.se.impl.io.IIOPInputStream.inputClas sFields(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.defaultRe adObjectDelegate(Unknown Source)
    at com.sun.corba.se.impl.io.InputStreamHook.defaultRe adObject(Unknown Source)
    at java.math.BigDecimal.readObject(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.invokeObj ectReader(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctUsingFVD(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    ... 36 more
    Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
    at com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.valuehandlerReadException(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0. read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read _value(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ctField(Unknown Source)
    ... 49 more
    Caused by: java.io.StreamCorruptedException: BigInteger: Signum not present in stream
    at java.math.BigInteger.readObject(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.invokeObj ectReader(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObje ct(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleRea dObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu eInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValu e(Unknown Source)
    ... 52 more


  2. Re: Marshall exception in invoking EJB's

    Bhaskar wrote:
    > Hi,
    > We are using websphere 6.1 . We are downloading some jar files to the client side using JNLP. In the downloaded jars some of the classes are invoking remote methods of EJB's deployed in the server. When a method is called from the client side, that method is executing successfully in the session bean and returning ArrayList.But in the client side it was not able to receive the returned values. I am returning ArrayList from the remote method. We are using JDK5.
    >
    > Please help me.
    > Thanks
    >
    >
    > Here is the exception :
    >
    > Aug 8, 2007 6:27:27 PM com.sun.corba.se.impl.encoding.CDRInputStream_1_0 start_value
    > WARNING: "IOP00810228: (MARSHAL) Indirection preseint in RMI-IIOP stream format version 2 optional data valuetype header"
    > org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 228 completed: Maybe


    [snip]

    > Caused by: java.io.StreamCorruptedException: BigInteger: Signum not present in stream
    > at java.math.BigInteger.readObject(Unknown Source)



    [snip]

    Do you have two different JDK levels on server and client sides? The
    above snipped from your stacktrace looks to be the problem.

    Ken

  3. Re: Marshall exception in invoking EJB's

    Hi,
    We are using websphere 6.1, it is using JRE 1.4.2. In the client side we are using JRE 1.5. From the remote method i am returning an arraylist of class objects and these objects are serialized.

    Below is the list of classes, and CCReferenceData class objects i am returning in the arraylist.
    The same code is working weblogic, Now we are migrating to websphere.


    Class CCReferenceData :

    /**
    * CCReferenceData is a class that holds an ID and a Value. It is called
    * reference data since it is typically used to hold a database ID
    * and an associated set of data associated with the ID, however, the
    * class can hold any ID/Value combination.
    */
    public class CCReferenceData extends CCSerializable implements Comparable
    {
    static final long serialVersionUID = -1114223007809455382L;
    Object m_oReferenceValue;
    Object m_oReferenceId;


    public CCReferenceData(Object oReferenceValue,
    Object oReferenceId)
    {

    m_oReferenceValue = oReferenceValue;
    m_oReferenceId = oReferenceId;
    }


    public Object getReferenceValue()
    {
    return m_oReferenceValue;
    }


    public Object getReferenceId()
    {
    return m_oReferenceId;
    }


    public String toString()
    {
    return m_oReferenceValue.toString();
    }


    public int compareTo(Object oObject)
    {

    Object oValue1 = m_oReferenceValue;
    Object oValue2 = null;


    if ((oObject != null) && (oObject instanceof CCReferenceData))
    {
    oValue2 = ((CCReferenceData)oObject).m_oReferenceValue;
    }
    else
    {
    oValue2 = oObject;
    }
    return CCUtil.compareTo(oValue1, oValue2);
    }

    public boolean equals(Object oObject)
    {
    // If passed in object is null or not of type CCReferenceData,
    // assume objects are not equal and return false.
    if ((oObject == null) || (!(oObject instanceof CCReferenceData)))
    {
    return(false);
    }

    // If both the ID and Value are equal, return true.
    // Otherwise, false.
    CCReferenceData oNewData = (CCReferenceData)oObject;
    if ((CCUtil.equals(m_oReferenceValue, oNewData.m_oReferenceValue)) &&
    (CCUtil.equals(m_oReferenceId, oNewData.m_oReferenceId)))
    {
    return(true);
    }
    else
    {
    return(false);
    }
    }
    }



    Class CCSerializable :


    /**
    * Interface that extends Serializable and defines a method
    * getModifiedFieldMapping.
    * All classes should extend this interface rather than Serializable.
    * This is to allow handling the serialization process when the
    * class member variables & methods change.
    * See CCIOUtil.handleSerialRead method for details.
    */
    public class CCSerializable implements CCSerializableIF
    {
    static final long serialVersionUID = 6628549959295804979L;

    /**
    * Implemented class to define this method to return a map
    * of member variables that have been modified.
    */
    public CCHashMapList getModifiedFieldMapping()
    {
    return new CCHashMapList();
    }
    }




    Class CCSerializableIF :

    /**
    * Interface that extends Serializable and defines a method
    * getModifiedFieldMapping.
    * All classes should extend this interface rather than Serializable.
    * This is to allow handling the serialization process when the
    * class member variables & methods change.
    * See CCIOUtil.handleSerialRead method for details.
    */
    public interface CCSerializableIF extends Serializable
    {
    /**
    * Implemented class to define this method to return a map
    * of member variables that have been modified.
    */
    public CCHashMapList getModifiedFieldMapping();
    }

  4. Re: Marshall exception in invoking EJB's

    Bhaskar wrote:
    > Hi,
    > We are using websphere 6.1, it is using JRE 1.4.2. In the client side we are using JRE 1.5. From the remote method i am returning an arraylist of class objects and these objects are serialized.
    >
    > Below is the list of classes, and CCReferenceData class objects i am returning in the arraylist.
    > The same code is working weblogic, Now we are migrating to websphere.
    >
    >

    [snip]

    Try using JRE 1.4.2 on the client side.
    Ken

  5. Re: Marshall exception in invoking EJB's

    hi,
    I tried with even JRE 1.4.2. The same exception is coming. Please help me, whatelse can i do.

    Thanks
    Bhaskar

  6. Re: Marshall exception in invoking EJB's

    Bhaskar wrote:
    > hi,
    > I tried with even JRE 1.4.2. The same exception is coming. Please help me, whatelse can i do.


    Open a PMR

  7. Re: Marshall exception in invoking EJB's

    The problem looks like a serialization/deserialization problem between the
    server and the client of an instance of the BigInteger class. I assume that
    one of the Objects in the ArrayList is in fact a BigInteger.

    It looks like you were using Sun JDK5 initially. When you tried JRE 1.4.2
    was that the Sun JRE or the IBM JRE as supplied with WAS?
    If you used the Sun 1.4.2 JRE are you able to try again using the IBM JRE on
    the client side?
    --
    Stephen ****s
    WESB/WPS System Administration

    "Bhaskar" wrote in message
    news:459999709.1186659344454.JavaMail.wassrvr@ltsg was009.sby.ibm.com...
    > hi,
    > I tried with even JRE 1.4.2. The same exception is coming. Please help
    > me, whatelse can i do.
    >
    > Thanks
    > Bhaskar




  8. Re: Marshall exception in invoking EJB's


    "Bhaskar" ha scritto nel messaggio
    news:459999709.1186659344454.JavaMail.wassrvr@ltsg was009.sby.ibm.com...
    > hi,
    > I tried with even JRE 1.4.2. The same exception is coming. Please help
    > me, whatelse can i do.


    Well, it seems you're using RMI to communicate from your client with your
    WAS server. Some months ago, we tried the same approach and we encountered A
    LOT of issues regarding ORB broker level, marshaling, class
    incompatibilities and so on. We were using IBM WAS JRE on the server, of
    course, and Sun's implementation client side.

    I suggest you to open a PMR, or search for another way to communicate with
    your server by-passing RMI-IIOP if u can.



    Scorpio.





+ Reply to Thread