I also heard from the JBoss folks that CORBA-based servers can not handle
the marshalling of dynamic proxies.  I'm not sure why this is the case, but
there you have it.

Hopefully the CORBA folks will address this issue soon, as I can see a
number of great solutions being shot down because of this issue.

David

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of James Cook
> Sent: Friday, August 18, 2000 3:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Sending dynamic proxies as an EJB parameter
>
>
> 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(Na
> tiveMethod
> > )
> >         at
> >
> com.sun.corba.ee.internal.io.IIOPInputStream.simpleSkipObject(IIOP
> InputStrea
> > m.java:286)
> >         at
> >
> com.sun.corba.ee.internal.io.ValueHandlerImpl.readValueInternal(Va
> lueHandler
> > Impl.java:224)
> >         at
> >
> com.sun.corba.ee.internal.io.ValueHandlerImpl.readValue(ValueHandl
> erImpl.jav
> > a:164)
> >         at
> >
> com.sun.corba.ee.internal.iiop.CDRInputStream.read_value(CDRInputS
> tream.java
> > :996)
> >         at
> >
> qa.functiontests.framework.sbo.TestSession.__ejbSessionImpl_EJBObj
> ectImpl_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(Generi
> cPOAServer
> > SC.java:98)
> >         at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:227)
> >
> >
> atcom.sun.corba.ee.internal.iiop.CachedWorkerThread.doWork(IIOPCon
> nection.ja
> > va:262)
> >         at
> >
> com.sun.corba.ee.internal.iiop.CachedWorkerThread.run(IIOPConnecti
> on.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".
>
>

===========================================================================
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".

Reply via email to