Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 38798 invoked from network); 30 Apr 2009 13:51:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Apr 2009 13:51:56 -0000 Received: (qmail 95414 invoked by uid 500); 30 Apr 2009 13:51:56 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 95386 invoked by uid 500); 30 Apr 2009 13:51:56 -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 95378 invoked by uid 99); 30 Apr 2009 13:51:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2009 13:51:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2009 13:51:48 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LzWff-0007Rl-G7 for user@geronimo.apache.org; Thu, 30 Apr 2009 06:51:27 -0700 Message-ID: <23316686.post@talk.nabble.com> Date: Thu, 30 Apr 2009 06:51:27 -0700 (PDT) From: fmeili To: user@geronimo.apache.org Subject: "Could not auto-map to resource" problem when using EJB annotations only MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: frank.meilinger@gmx.de X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I try to deploy an EAR with some (skinny) WAR's and some EJB's. All EJB's use the @Resource tag for Database access. I always get a deployment error, that the resource could not auto-map. Instead the error message tell me to use a Geronimo deployment plan. After looking deeper in the Deployment plan mechanism of Geronimo I'm completely confused. I found that I need an "openejb-jar.xml" and use the Tag in it. This only works, if I have also a standard "ejb-jar.xml". But does this mean, that I have to really write all the "old pre JEE5" deployment descriptors for all my EJB's to deploy the EAR to Geronimo? Is there a way to tell Geronimo the name of a JDBC resource globally - maybe in the "geronimo-application.xml" - I haven't found a hint about this? I tried Geronimo 2.1.4 and 2.2-SNAPSHOT. Thanks in advance for an answer, greetings, Frank -- View this message in context: http://www.nabble.com/%22Could-not-auto-map-to-resource%22-problem-when-using-EJB-annotations-only-tp23316686s134p23316686.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.