Problem in sending an serialized object to server from client
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shyam_Hundi
Posted On:   Thursday, May 29, 2003 01:59 AM

Hi, I am using a stand alone java application as a remote client and trying to pass a complex java object to the EJB. I am using the sun one as the container. I made all the member fields and the super classes as Serializable and sent the object. But i am getting the CORBA BAD_PARAM exception giving me the MarshalException. Is there any way i can check the exact member field which is giving me the problem. I am getting the below error. It would be nice if i can identify the actual member field that is giving me the error. Thanks Shyam Hundi. java.rmi.MarshalException: CORBA BAD_PARAM 1398079494 Maybe; nested exception is : org.omg.CORBA.BAD_PARAM: minor code: 1398079494 c   More>>

Hi,
I am using a stand alone java application as a remote client and trying to pass a complex java object to the EJB.
I am using the sun one as the container.
I made all the member fields and the super classes as Serializable and sent the object.
But i am getting the CORBA BAD_PARAM exception giving me the MarshalException.
Is there any way i can check the exact member field which is giving me the problem. I am getting the below error.

It would be nice if i can identify the actual member field that is giving me the error.
Thanks
Shyam Hundi.
java.rmi.MarshalException: CORBA BAD_PARAM 1398079494 Maybe; nested exception is
:
org.omg.CORBA.BAD_PARAM: minor code: 1398079494 completed: Maybe
org.omg.CORBA.BAD_PARAM: minor code: 1398079494 completed: Maybe
at com.sun.corba.se.internal.util.Utility.throwNotSerializableForCorba(U
tility.java:857)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOu
tputStream.java:656)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPO
utputStream.java:710)
at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDeleg
ate(IIOPOutputStream.java:168)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutput
Stream.java:500)
at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPO
utputStream.java:125)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(Valu
eHandlerImpl.java:139)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandler
Impl.java:119)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROut
putStream_1_0.java:1069)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROut
putStream_1_0.java:638)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputS
tream.java:268)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOu
tputStream.java:650)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPO
utputStream.java:710)
at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDeleg
ate(IIOPOutputStream.java:168)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutput
Stream.java:500)
at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPO
utputStream.java:125)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(Valu
eHandlerImpl.java:139)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandler
Impl.java:119)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROut
putStream_1_0.java:1069)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROut
putStream_1_0.java:638)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputS
tream.java:268)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOu
tputStream.java:650)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPO
utputStream.java:710)
at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDeleg
ate(IIOPOutputStream.java:168)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutput
Stream.java:500)
at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPO
utputStream.java:125)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(Valu
eHandlerImpl.java:139)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandler
Impl.java:119)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROut
putStream_1_0.java:1069)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputS
tream.java:264)
at com.sun.corba.ee.internal.corba.TCUtility.marshalIn(TCUtility.java:13
6)
at com.sun.corba.ee.internal.corba.AnyImpl.write_value(AnyImpl.java:587)

at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_any(CDROutpu
tStream_1_0.java:537)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_any(CDROutputStr
eam.java:238)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(Shutdown
UtilDelegate.java:192)
at javax.rmi.CORBA.Util.writeAny(Util.java:80)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOu
tputStream.java:612)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPO
utputStream.java:710)
at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDeleg
ate(IIOPOutputStream.java:168)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutput
Stream.java:500)
at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPO
utputStream.java:125)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(Valu
eHandlerImpl.java:139)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandler
Impl.java:119)
at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROut
putStream_1_0.java:1069)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputS
tream.java:264)
at com.sun.corba.ee.internal.corba.TCUtility.marshalIn(TCUtility.java:13
6)
at com.sun.corba.ee.internal.corba.AnyImpl.write_value(AnyImpl.java:587)

at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_any(CDROutpu
tStream_1_0.java:537)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_any(CDROutputStr
eam.java:238)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(Shutdown
UtilDelegate.java:192)
at javax.rmi.CORBA.Util.writeAny(Util.java:80)
at _SLEERemote_Stub.addActivites(Unknown Source)
at TestApplication.main(TestApplication.java:83)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:22
9)


Please use html tags to format code blocks


Please use html tags to format code blocks.

   <<Less
About | Sitemap | Contact