Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 99267 invoked from network); 17 Aug 2005 14:36:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2005 14:36:08 -0000 Received: (qmail 61439 invoked by uid 500); 17 Aug 2005 14:36:06 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 61405 invoked by uid 500); 17 Aug 2005 14:36:04 -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 61392 invoked by uid 99); 17 Aug 2005 14:36:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2005 07:36:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mparaz@gmail.com designates 64.233.184.193 as permitted sender) Received: from [64.233.184.193] (HELO wproxy.gmail.com) (64.233.184.193) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2005 07:36:24 -0700 Received: by wproxy.gmail.com with SMTP id i32so153407wra for ; Wed, 17 Aug 2005 07:36:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Lu9Dq07UqfeRgGqOEE+LqOtobIaUd+3otcCMYwTxR7enMXfIsYgP/1ej1uEw1XuwlvRY92SHXPCG2fcoV6kzaB5U7hq9MoKdK+EQnfxtaj24/0ZvY3CVn3Lv2hnqb66Amja8i7YgPS7QlWA4nxtQTYlxKzoHZ9lJZnuXcaiuM6U= Received: by 10.54.22.39 with SMTP id 39mr468242wrv; Wed, 17 Aug 2005 07:36:02 -0700 (PDT) Received: by 10.54.32.32 with HTTP; Wed, 17 Aug 2005 07:36:02 -0700 (PDT) Message-ID: Date: Wed, 17 Aug 2005 22:36:02 +0800 From: Miguel A Paraz To: user@geronimo.apache.org Subject: Re: javax.naming.NameNotFound exception In-Reply-To: <51b45e438aed1304a34b4e027fbea366@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42FF830F.3090003@nodo50.org> <51b45e438aed1304a34b4e027fbea366@yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/15/05, David Jencks wrote: > The simplest solution is to package your 2 modules in an ear file. > Otherwise you will have to include a geronimo-web.xml with an ejb-ref > that indicates that the ejb is in your ejb module. We only try to > auto-resolve ejb references within the current application. Same with DataSource references, right? I tried accessing a deployed DataSource directly as java:/DataSource and I got a NamingException complaining that it didn't start with "comp". I added a local alis via web.xml + geronimo-web.xml (actually geronimo-jetty.xml since I'm using Eclipse Webtools and it isn't updated)