From dev-return-11046-apmail-geronimo-dev-archive=geronimo.apache.org@geronimo.apache.org Wed Jan 12 16:48:31 2005 Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 91329 invoked from network); 12 Jan 2005 16:48:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Jan 2005 16:48:31 -0000 Received: (qmail 38024 invoked by uid 500); 12 Jan 2005 16:48:19 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 37983 invoked by uid 500); 12 Jan 2005 16:48:19 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 37970 invoked by uid 99); 12 Jan 2005 16:48:19 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_90_100,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.toolazydogs.com (HELO alan.toolazydogs.com) (166.84.147.110) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 12 Jan 2005 08:48:17 -0800 Subject: getEJBObject() of a stateless container MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4F8C5.FE9FBD06" Date: Wed, 12 Jan 2005 11:44:33 -0500 Message-ID: X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: getEJBObject() of a stateless container Thread-Index: AcT4xnhXznSwGfa7RnmMHYLq+xDbCQ== From: "Alan D. Cabrera" To: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4F8C5.FE9FBD06 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable This works: =20 Remote obj =3D = container.getProxyFactory().getEJBObject(null); =20 This does not work: =20 Remote obj =3D container.getEJBObject(null); =20 I get an UnsupportedOperationException. This is because the CGLIB method proxy's super index does not index into a valid gbean invoker. =20 =20 Regards, Alan =20 ------_=_NextPart_001_01C4F8C5.FE9FBD06 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

This works:

 

         =    Remote obj =3D = container.getProxyFactory().getEJBObject(null);<= /p>

 

This does not work:

 

         =    Remote obj =3D = container.getEJBObject(null);

 

I get an UnsupportedOperationException.  This is because the CGLIB method proxy’s super index does not index into a = valid gbean invoker.

 

 

Regards,

Alan

 

------_=_NextPart_001_01C4F8C5.FE9FBD06--