I have tried the same thing on a vendors CORBA platform, and it is not
supported. Looks like the RMI marshalling suffers as well.
jim
----- Original Message -----
From: "David Van Couvering" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 18, 2000 4:19 PM
Subject: Sending dynamic proxies as an EJB parameter
> Hello. I am trying to send a dynamic proxy instance to a remote EJB object
> from a client. This dynamic proxy has an invocation handler which is
> serializable. The interfaces that the proxy implements are also
> serializable. The only field of the invocation handler is an EJBObject,
> e.g. a remote stub for an EJB, which is also serializable.
>
> When I try to send this dynamic proxy instance to the remote EJB
> implementation, I get the following error shown below on the J2EE server.
>
> I was assuming since dynamic proxies are serializable, and it appears from
> the documentation this was very carefully thought out, that this should
> work. Can anyone think of what I might be doing wrong?
>
> java.io.IOException:
> at
> com.sun.corba.ee.internal.io.IIOPInputStream.throwExceptionType(NativeMethod
> )
> at
> com.sun.corba.ee.internal.io.IIOPInputStream.simpleSkipObject(IIOPInputStrea
> m.java:286)
> at
> com.sun.corba.ee.internal.io.ValueHandlerImpl.readValueInternal(ValueHandler
> Impl.java:224)
> at
> com.sun.corba.ee.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.jav
> a:164)
> at
> com.sun.corba.ee.internal.iiop.CDRInputStream.read_value(CDRInputStream.java
> :996)
> at
> qa.functiontests.framework.sbo.TestSession.__ejbSessionImpl_EJBObjectImpl_Ti
> e._invoke(Unknown Source)
> at
> com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPO
> AServerSC.java:423)
> at
> com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOA
> ServerSC.java:137)
>
> atcom.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServer
> SC.java:98)
> at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:227)
>
> atcom.sun.corba.ee.internal.iiop.CachedWorkerThread.doWork(IIOPConnection.ja
> va:262)
> at
> com.sun.corba.ee.internal.iiop.CachedWorkerThread.run(IIOPConnection.java:23
> 0)
>
> Thanks,
>
> David
>
> ===========================================================================
> 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".