make sure your MbsMetaDataImpl Object also implements java.io.serializable.
Coz ..any object that travels via network or saved to disk as an object
should implement this.
r
Nirvana
-----Original Message-----
From: Maxime Poulin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, May 29, 2001 4:19 AM
Subject: Corba error with dependent object
>Hi all,
>
> I have a problem with a Session (stateless) bean which returns a
>dependent object. The dependent object is a MbsMetaDataImpl (user-defined)
>instance, implementing MbsMetaData (user-define).
>
> So my client app accesses the bean and asks for an MbsMetaData. The
bean
>performs its tasks properly until returning. Then, my client app gets the
>following exception :
>
>java.rmi.MarshalException: CORBA MARSHAL 0[Error unmarshaling value [Could
>not get class for repository id =
>RMI:com.zerobase.api.scenarios.MbsMetaDataImpl:71DA8BE7F971128]]
> at java.lang.reflect.Constructor.newInstance(Native Method)
> at com.inprise.vbroker.rmi.CORBA.UtilImpl.newInstance(UtilImpl.java:82)
> at
>com.inprise.vbroker.rmi.CORBA.UtilImpl._mapSystemException(UtilImpl.java:32
6
>)
> at
>com.inprise.vbroker.rmi.CORBA.UtilImpl.mapSystemException(UtilImpl.java:451
)
> at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
> at
com.zerobase.zbejb.scenarios._SMbs_Stub.getMetaData(_SMbs_Stub.java:149)
> at com.zerobase.api.scenarios.MbsImpl.getMetaData(MbsImpl.java:53)
>
>MarshallException seems to extends from RemoteException.
>
>My dependent class implements Serializable. MbsMetaData and MbsMetaDataImpl
>are available to both sides (the bean and the client app). Did anyone get
>this error once and found the cause of it ?
>
>I searched for Sun's archives and I didn't find anything about this...
>
>Thans a lot !
>
>Max.
>
>===========================================================================
>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".