Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 77241 invoked from network); 6 Nov 2005 20:50:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Nov 2005 20:50:44 -0000 Received: (qmail 39632 invoked by uid 500); 6 Nov 2005 20:50:42 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 39327 invoked by uid 500); 6 Nov 2005 20:50:41 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 39316 invoked by uid 99); 6 Nov 2005 20:50:41 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2005 12:50:40 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 8DAD45A4 for ; Sun, 6 Nov 2005 21:50:19 +0100 (CET) Message-ID: <1551872194.1131310219558.JavaMail.jira@ajax.apache.org> Date: Sun, 6 Nov 2005 21:50:19 +0100 (CET) From: "Aaron Mulder (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-1140) Bad component query building logic (JCAResourceImpl finds no JCAConnectionFactories) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Bad component query building logic (JCAResourceImpl finds no JCAConnectionFactories) ------------------------------------------------------------------------------------ Key: GERONIMO-1140 URL: http://issues.apache.org/jira/browse/GERONIMO-1140 Project: Geronimo Type: Bug Components: core, kernel Versions: 1.0-M5 Reporter: Aaron Mulder Fix For: 1.0 JCAResourceImpl does a query in getConnectionFactories line 51 that returns nothing. The underlying query is: geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=null,j2eeType=JCAConnectionFactory,* The actual object it should be finding is: J2EEApplication=null,J2EEServer=geronimo,JCAResource=org/apache/geronimo/SystemDatabase,j2eeType=JCAConnectionFactory,name=SystemDatasource David Jencks looked at this and speculated that the problem is line 49 of J2eeContextImpl (it looks like that should be source.getKeyProperty(NameFactory.J2EE_NAME) instead). I'm working around with a new J2eeContextImpl method for now ("newModuleContext"), but we should confirm and test that change. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira