Ah, I was wondering about that. I couldn't see what problems CORBA would
inherently have with this feature. Well, I eagerly await a fix to this
problem -- you can see how it would be very useful to pass dynamic proxy
instances around.
David
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan Weedon
> Sent: Monday, August 21, 2000 11:45 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Sending dynamic proxies as an EJB parameter
>
>
> David,
>
> <vendor>
>
> Jim's comment about Dynamic Proxies marshaling not being supported
> by a vendor's ORB (ours) should not have been read to suggest that
> Dynamic Proxies are unsupportable in CORBA-based servers. It is
> simply that Dynamic Proxies cannot be marshaled with VisiBroker
> for Java 4.1, which is used by IAS 4.1. The fact that this does not
> work is a bug in VBJ; it is not a limitation of CORBA and/or IIOP.
>
> And the fact that it does not work with Sun's IIOP implementation
> either is a coincidence. Again, "CORBA" (meaning Objects-by-Value
> and IIOP) supports this capability. Aparantly, there is some
> peculiarity in this capability which is tripping up both of us.
>
> </vendor>
>
> -jkw
>
> David Van Couvering wrote:
> >
> > 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".
>
> ==================================================================
> =========
> 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".