java.rmi.MarshalException: CORBA MARSHAL

och <[email protected]>
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <[email protected]>
Hello
i have deployed one cmp entity and i can communicate with the proxy without
problemes (put data in the database ...). But when i try to invoke the
method getHandle from EJBObject, i have this error on the server :
org.omg.CORBA.BAD_OPERATION: The delegate has not been set! vmcid: 0x0
minor c
ode: 0 completed: No
at org.omg.CORBA.portable.ObjectImpl._get_delegate(ObjectImpl.java:53)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_Object(CDROu
tputStream_1_0.java:571)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_Object(CDROutput
Stream.java:227)
at com.sun.org.omg.CORBA.IDLTypeHelper.write(IDLTypeHelper.java:70)
at com.sun.org.omg.CORBA.ValueMemberHelper.write(ValueMemberHelper.java:
140)
at com.sun.org.omg.CORBA.ValueMemberSeqHelper.write(ValueMemberSeqHelper
.java:83)
at com.sun.org.omg.CORBA.ValueDefPackage.FullValueDescriptionHelper.writ
e(FullValueDescriptionHelper.java:193)
at com.sun.org.omg.SendingContext._CodeBaseImplBase._invoke(_CodeBaseImp
lBase.java:85)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegat
e.java:379)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProces
sor.java:83)
at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Serv
icableWrapper.java:25)
at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(F
astThreadPool.java:283)
at java.lang.Thread.run(Thread.java:536)

and on the client :
java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception
is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Can't
skip sender's custom marshaled class:
RMI:com.sun.ejb.portable.HandleImpl:7969D1B587E037EF:27329270E7B1269F
vmcid: SUN minor code: 211 completed: Maybe
at com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException
(ShutdownUtilDelegate.java:97)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at _Test02_Stub.getHandle(Unknown Source)
at Test01.main(Test01.java:48)
Caused by: org.omg.CORBA.MARSHAL: Unable to read value from underlying
bridge : Can't skip sender's custom marshaled class:
RMI:com.sun.ejb.portable.HandleImpl:7969D1B587E037EF:27329270E7B1269F
vmcid: SUN minor code: 211 completed: Maybe
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value
(CDRInputStream_1_0.java:944)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface
(CDRInputStream_1_0.java:850)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface
(CDRInputStream_1_0.java:842)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_abstract_interface
(CDRInputStream.java:309)
at _Test02_Stub.getHandle(Unknown Source)
... 1 more

It seems that there is a probleme with serialization.
I have the same JDK on the server and sun one. I don't understand. Can
someone help me ?
Thank you very match
olivier

===========================================================================
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".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.