Are all elements in the Vector serializable?
Dave Wolf
Internet Applications Division
Sybase
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sunder Rajan
> Sent: Tuesday, August 29, 2000 5:45 PM
> To: [EMAIL PROTECTED]
> Subject: Exception on return from SB
>
>
> We using Websphere and RMI over JRMP. I have a method in
> the remote server (session bean hosted by a ejb container) which returns
> a vector of data objects. The method runs successfully on the
> server side , but
> returns an exception on the client. Any ideas?
> The trace is as follows
>
> org.omg.CORBA.MARSHAL: minor code: 2 completed: Maybe
> java.lang.Throwable(java.lang.String)
> java.lang.Exception(java.lang.String)
> java.lang.RuntimeException(java.lang.String)
> org.omg.CORBA.SystemException(java.lang.String, int,
> org.omg.CORBA.CompletionStatus)
> org.omg.CORBA.MARSHAL(java.lang.String, int,
> org.omg.CORBA.CompletionStatus)
> org.omg.CORBA.MARSHAL(int, org.omg.CORBA.CompletionStatus)
> com.sun.org.omg.CORBA.ValueDefPackage.FullValueDescription
> com.sun.rmi.io.FVDCodeBaseImpl.meta(java.lang.String)
> com.sun.org.omg.CORBA.ValueDefPackage.FullValueDescription
> com.sun.rmi.io.FVDCodeBaseDelegate.meta(java.lang.String)
>
> org.omg.CORBA.MARSHAL: Unable to read value from underlying
> bridge : minor
> code: 0 completed: No
> java.lang.Throwable(java.lang.String)
> java.lang.Exception(java.lang.String)
> java.lang.RuntimeException(java.lang.String)
> org.omg.CORBA.SystemException(java.lang.String, int,
> org.omg.CORBA.CompletionStatus)
> org.omg.CORBA.MARSHAL(java.lang.String, int,
> org.omg.CORBA.CompletionStatus)
> org.omg.CORBA.MARSHAL(java.lang.String)
> java.io.Serializable
> com.sun.rmi.iiop.CDRInputStream.read_value(java.lang.Class)
> java.lang.Object
> com.sun.rmi.io.ValueHandlerImpl.read_Array(com.sun.rmi.io.IIOPInputStream,
> org.omg.CORBA_2_3.portable.InputStream, java.lang.Class,
> com.sun.org.omg.SendingContext.CodeBase)
> java.io.Serializable
> com.sun.rmi.io.ValueHandlerImpl.readValueInternal(com.sun.rmi.io.I
IOPInputStream,
> org.omg.CORBA_2_3.portable.InputStream, int, java.lang.Class,
> java.lang.String,
> com.sun.org.omg.SendingContext.CodeBase)
> java.io.Serializable
> com.sun.rmi.io.ValueHandlerImpl.readValue(org.omg.CORBA.portable.I
> nputStream,
> int, java.lang.Class, java.lang.String, org.omg.SendingContext.RunTime)
> java.io.Serializable
> com.sun.rmi.iiop.CDRInputStream.read_value(java.lang.Class)
> java.util.Vector
> com.netsis.acords.server.business.events._EventManager_BaseStub.ge
tPrimaryOpinions(com.netsis.acords.CaseID,
> java.lang.String)
> java.util.Vector
> com.netsis.acords.server.business.events._EventManager_Stub.getPri
> maryOpinions(com.netsis.acords.CaseID,
> java.lang.String)
> void com.netsis.acords.server.test.EJBTester.main(java.lang.String [])
>
>
> java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
> org.omg.CORBA.MARSHAL: Unable to read value from underlying
> bridge : Unable to
> read value from underlying bridge : minor code: 0 completed: No
> java.lang.Throwable(java.lang.String)
> java.lang.Exception(java.lang.String)
> java.io.IOException(java.lang.String)
> java.rmi.RemoteException(java.lang.String, java.lang.Throwable)
> java.rmi.MarshalException(java.lang.String, java.lang.Exception)
> java.rmi.RemoteException
> javax.rmi.CORBA.Util.mapSystemException(org.omg.CORBA.SystemException)
>
>
> Appreciate your help,
> -Sunder
>
> ==================================================================
> =========
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".