Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 79376 invoked from network); 24 Apr 2006 14:38:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Apr 2006 14:38:15 -0000 Received: (qmail 70299 invoked by uid 500); 24 Apr 2006 14:37:34 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 70040 invoked by uid 500); 24 Apr 2006 14:37:32 -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 70028 invoked by uid 99); 24 Apr 2006 14:37:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 07:37:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ammulder@gmail.com designates 64.233.166.183 as permitted sender) Received: from [64.233.166.183] (HELO pproxy.gmail.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 07:37:32 -0700 Received: by pproxy.gmail.com with SMTP id t32so1022371pyc for ; Mon, 24 Apr 2006 07:37:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Xyvk8gv1YowyVHpdT6LCrFYat4gky9leBsLXXParsv18eEuOHpaCuDB6SloVkif5wFW46FycGfcirGuiRRID/2UnRFJ5OS5Y7yeW8tj6YkWQdWfNH7+PnHAUvtWgjKcROvUUD0gg9wAn3brzGgGgBy95LqqxQnYqvnMRSzPm67A= Received: by 10.35.99.14 with SMTP id b14mr971991pym; Mon, 24 Apr 2006 07:37:10 -0700 (PDT) Received: by 10.35.116.1 with HTTP; Mon, 24 Apr 2006 07:37:10 -0700 (PDT) Message-ID: <74e15baa0604240737s62c1d41ck3dfbe90e97cb32d1@mail.gmail.com> Date: Mon, 24 Apr 2006 10:37:10 -0400 From: "Aaron Mulder" Sender: ammulder@gmail.com To: user@geronimo.apache.org Subject: Re: Problems deploying EAR In-Reply-To: <1145886310.6216.13.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1145886310.6216.13.camel@localhost.localdomain> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If you go into the admin console, select the Database Pools entry, and then click "usage" next to the jdbc_opencrx_CRX pool, it will give you an example of how to set this up. The example there is for a web app, but the resource reference you'd put in openejb-jar.xml has the same syntax as it shows for geronimo-web.xml -- the only difference is that in openejb-jar.xml, the resource reference is configured at the level of an individual EJB, whereas in geronimo-web.xml it's configured at the level of the entire WAR. Let me know if this is enough to get you going. Thanks, Aaron On 4/24/06, Achim We=DFling wrote: > Hallo, > > I'm new to geronimo, so I've some difficulties to deploy apps to the > server. > > I've a ear-file which I try to deploy with the following plan: > > > xmlns=3D"http://geronimo.apache.org/xml/ns/j2ee/application-1.0" > xmlns:naming=3D"http://geronimo.apache.org/xml/ns/naming-1.0" > configId=3D"CRX-App"> > > > openmdx/kernel/1.12.1/jar > > > > When doing so I get the following error: > > Unable to resolve resource reference 'jdbc/datasource[0]' (no matching > resources found) > > So I looked inside the ear-file for config-files using > 'jdbc/datasource[0]' and found this inside ejb-jar.xml: > > > jdbc/datasource[0] > javax.sql.DataSource > Container > > > I created a Server-wide DatabasePool with the name 'jdbc_opencrx_CRX', > how do I map this pool 'jdbc/datasource[0]'? > > Many thanks! > > > -- > Achim We=DFling > INFOKOM G=FCtersloh A=F6R > Fachbereich Technische Anwendungen > Herzebrocker Str. 140 > 33334 G=FCtersloh > Tel.: 0 52 41 / 85 - 29 26 > Achim.Wessling@gt-net.de > http://www.infokom-gt-de >