Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 12852 invoked from network); 24 Dec 2007 19:58:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Dec 2007 19:58:09 -0000 Received: (qmail 97724 invoked by uid 500); 24 Dec 2007 19:57:56 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 97590 invoked by uid 500); 24 Dec 2007 19:57:55 -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 97530 invoked by uid 99); 24 Dec 2007 19:57:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Dec 2007 11:57:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Dec 2007 19:57:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6BEF971423E for ; Mon, 24 Dec 2007 11:57:43 -0800 (PST) Message-ID: <21473921.1198526263439.JavaMail.jira@brutus> Date: Mon, 24 Dec 2007 11:57:43 -0800 (PST) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-3718) ResourceRef lookups are now really slow In-Reply-To: <3055341.1198395523226.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks updated GERONIMO-3718: ----------------------------------- Attachment: GERONIMO-3718-3.patch 3rd time's the charm... this one works for datasources, mail, and jaxr. > ResourceRef lookups are now really slow > --------------------------------------- > > Key: GERONIMO-3718 > URL: https://issues.apache.org/jira/browse/GERONIMO-3718 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: connector, naming > Affects Versions: 2.0.x, 2.1 > Reporter: David Jencks > Assignee: David Jencks > Fix For: 2.1 > > Attachments: GERONIMO-3718-1.patch, GERONIMO-3718-2.patch, GERONIMO-3718-3.patch > > > We had to turn off jndi reference lookup result caching since the tck is now testing that e.g. datasource lookups give you a different object each time. Some of Matt's performance tests indicate that finding the MCFWrapper gbean takes an inordinate amount of time. > One possibility is to, instead of caching the lookup result, look up the gbean when the jndi tree is set up for the javaee component. Calling e.g. $getResource() is then as fast as the resource adapter makes it to get a new connection factory. This needs a few changes in both naming and connector and connector-builder. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.