Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 84485 invoked from network); 24 Nov 2005 15:15:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Nov 2005 15:15:53 -0000 Received: (qmail 42580 invoked by uid 500); 24 Nov 2005 15:15:45 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 41726 invoked by uid 500); 24 Nov 2005 15:15:34 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 41473 invoked by uid 99); 24 Nov 2005 15:15:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2005 07:15:11 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of hans.prueller@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 24 Nov 2005 07:15:25 -0800 Received: (qmail invoked by alias); 24 Nov 2005 15:13:32 -0000 Received: from cm197-162.liwest.at (EHLO [192.168.0.5]) [81.10.197.162] by mail.gmx.net (mp027) with SMTP; 24 Nov 2005 16:13:32 +0100 X-Authenticated: #299902 Message-ID: <4385D8B5.1010304@gmx.net> Date: Thu, 24 Nov 2005 16:13:57 +0100 From: Hans Prueller User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: JNDI Name not found... Content-Type: multipart/alternative; boundary="------------040600040704000603090906" X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------040600040704000603090906 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit hi again, meanwhile I succeeded in deploying a little test .ear migrated from JOnAS to Geronimo. Now I have a problem with the JNDI lookup of the beans on the web tier: the JNDI name is defined in the geronimo deployment plan as follows: BusinessBean BusinessHome [ ... ] the lookup is done like that: BusinessHome h = null; try { h = (BusinessHome) PortableRemoteObject.narrow(ictx .lookup("BusinessHome"), BusinessHome.class); } catch (NamingException e) { logger.log(Level.SEVERE, "cannot get bean home '" + "BusinessHome" + "':" + e); addActionError("cannot_get_home"); } When I test the app, I get a cannot_get_bean_home error. Is there any prefix or something else that I forgot? Or did I configure something wrong? Any tips are appreciated! regards, Hans -- ***** virtually hanzz... http://hanzz.zapto.org ***** --------------040600040704000603090906 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit hi again,

meanwhile I succeeded in deploying a little test .ear migrated from JOnAS to Geronimo. Now
I have a problem with the JNDI lookup of the beans on the web tier:

the JNDI name is defined in the geronimo deployment plan as follows:

�<enterprise-beans>
��������������� <session>
������������������� <ejb-name>BusinessBean</ejb-name>
������������������� <jndi-name>BusinessHome</jndi-name>
��������������� </session>
[ ... ]

the lookup is done like that:

BusinessHome h = null;
������� try
������� {
����������� h = (BusinessHome) PortableRemoteObject.narrow(ictx
������������������� .lookup("BusinessHome"), BusinessHome.class);
������� }
������� catch (NamingException e)
������� {
����������� logger.log(Level.SEVERE, "cannot get bean home '"
������������������� + "BusinessHome" + "':" + e);
����������� addActionError("cannot_get_home");
������� }

When I test the app, I get a cannot_get_bean_home error. Is there any prefix or something
else that I forgot? Or did I configure something wrong?

Any tips are appreciated!

regards,
Hans
-- 

*****
virtually hanzz... 
http://hanzz.zapto.org
***** 
--------------040600040704000603090906--