Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 59282 invoked from network); 17 Apr 2007 09:05:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2007 09:05:41 -0000 Received: (qmail 77599 invoked by uid 500); 17 Apr 2007 09:05:45 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 77581 invoked by uid 500); 17 Apr 2007 09:05:45 -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 77570 invoked by uid 99); 17 Apr 2007 09:05:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 02:05:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [217.72.192.184] (HELO fmmailgate09.web.de) (217.72.192.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 02:05:37 -0700 Received: from web.de by fmmailgate09.web.de (Postfix) with SMTP id 9FB928677E1 for ; Tue, 17 Apr 2007 11:05:15 +0200 (CEST) Received: from [83.236.215.41] by freemailng2702.web.de with HTTP; Tue, 17 Apr 2007 11:05:15 +0200 Date: Tue, 17 Apr 2007 11:05:15 +0200 Message-Id: <47661301@web.de> MIME-Version: 1.0 From: Jochen Zink To: user@geronimo.apache.org Subject: Usign Databasepool inside of an EAR Application Organization: http://freemail.web.de/ Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello at all, I have (maybe a simple) problem. I want to deploy an EAR Archive to geronimo 1.1.1. Inside this ear is only one module and one global JAR Archive. ear: |--WebApplication.war |--META-INF |--MANIFEST.MF |--WEB-INF |--web.xml |--geronimo-web.xml |--lib |--DatabaseAccess.jar |--application.xml |--geronimo-application.xml The WebApplication uses the DatabaseAccess.jar to connect to a ServiceWide ConnectionPool. This works, if I deploy the WebApplication.war as a standalone WAR. In this case, the DatabaseAccess.jar is placed inside the WebApplication.war. But if I excluded the jar and pack everything together in a EAR archive, it dosen't work. The Message is: "Unable to resolve resource reference 'documentDataSource' (Could not find resource 'MySQLComServerPool'. Perhaps it has not yet been configured, or your application does not have a dependency declared for that resource module?) " I don't find a solution for this problem. In which deployment files, I have to declare the dependency to the ConnectionPool? The web.xml and geronimo-web.xml contains the correct declarations. This works standalone! I try to add the dependency to geronimo-application.xml (you can see it, on the end of my mail), but it does not work. So, I don't no where the miss configuration is. Thanks for help! geronimo-application.xml edocbox comserver 1.0 console.dbpool MySQLComServerPool documentDataSource console.dbpool MySQLComServerPool MySQLComServerPool DocumentTransferService.war _______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192