Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 55652 invoked from network); 21 Nov 2006 01:25:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2006 01:25:39 -0000 Received: (qmail 71224 invoked by uid 500); 21 Nov 2006 01:25:48 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 71150 invoked by uid 500); 21 Nov 2006 01:25:47 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 71122 invoked by uid 99); 21 Nov 2006 01:25:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2006 17:25:47 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [212.18.0.9] (HELO mail-out.m-online.net) (212.18.0.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2006 17:25:34 -0800 Received: from mail01.m-online.net (svr21.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 2EA6598B14 for ; Tue, 21 Nov 2006 02:25:12 +0100 (CET) Received: from katsumi.moongate.de (ppp-88-217-36-214.dynamic.mnet-online.de [88.217.36.214]) by mail.m-online.net (Postfix) with ESMTP id 27BA6923F2 for ; Tue, 21 Nov 2006 02:25:12 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by katsumi.moongate.de (Postfix) with ESMTP id 60807ABA46 for ; Tue, 21 Nov 2006 02:25:22 +0100 (CET) X-Virus-Scanned: by amavisd-new at moongate.de Received: from katsumi.moongate.de ([127.0.0.1]) by localhost (katsumi.moongate.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UEpEcGmh7Ude for ; Tue, 21 Nov 2006 02:25:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by katsumi.moongate.de (Postfix) with ESMTP id CD826ABA4F for ; Tue, 21 Nov 2006 02:25:08 +0100 (CET) Received: from dennis.moongate.de (dennis.moongate.de [10.8.0.2]) by katsumi.moongate.de (Postfix) with ESMTP id 98395ABA46 for ; Tue, 21 Nov 2006 02:25:08 +0100 (CET) From: Philipp Zerelles To: dev@cocoon.apache.org Subject: Datasource pooling problem Date: Tue, 21 Nov 2006 02:24:55 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611210224.55817.philipp@moongate.de> X-Virus-Checked: Checked by ClamAV on apache.org I tried to use a simple database pool to access my database using ESQL-Logicsheets. The problem is my pool is not found by the service selector: java.lang.RuntimeException: Could not get the datasource org.apache.avalon.framework.service.ServiceException: Component with role 'org.apache.avalon.excalibur.datasource.DataSourceComponent/' and key 'mysql' is not defined in this service selector. (Key='AvalonServiceSelector') The file /org/apache/cocoon/components/database/database.roles contains a role for 'org.apache.avalon.excalibur.datasource.DataSourceComponentSelector' with a default-class 'org.apache.cocoon.core.container.DefaultServiceSelector' But this class does not exist, so it seems like the wrong selector is used. The debug log shows that my pool is definitly loaded. Can anybody please tell me what the current class used as component/service selector for cocoon is? Thanks. Philipp