Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 52246 invoked from network); 23 May 2007 22:58:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 May 2007 22:58:44 -0000 Received: (qmail 68266 invoked by uid 500); 23 May 2007 22:58:42 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 68218 invoked by uid 500); 23 May 2007 22:58:42 -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 68189 invoked by uid 99); 23 May 2007 22:58:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2007 15:58:42 -0700 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; Wed, 23 May 2007 15:58:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 31CC671403E for ; Wed, 23 May 2007 15:58:16 -0700 (PDT) Message-ID: <15074262.1179961096178.JavaMail.jira@brutus> Date: Wed, 23 May 2007 15:58:16 -0700 (PDT) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-3175) jndi lookup of connection factories and urls is supposed to return a new instance each time In-Reply-To: <621474.1179562636119.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-3175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498418 ] David Jencks commented on GERONIMO-3175: ---------------------------------------- URL lookups get new instance in rev 541113. AFAIK everything works but I'm still thinking about the flag and how much of the old code to remove. > jndi lookup of connection factories and urls is supposed to return a new instance each time > ------------------------------------------------------------------------------------------- > > Key: GERONIMO-3175 > URL: https://issues.apache.org/jira/browse/GERONIMO-3175 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: connector > Affects Versions: 2.0-M6 > Reporter: David Jencks > Assigned To: David Jencks > Fix For: 2.0-M6 > > > We should think about whether we want a flag to turn off this "feature" and enable caching. > Things that are needed to implement this: > - ManagedConnectionFactoryWrapper.$getResource needs to return a new connection factory each time. > - jndi tree needs to stop caching the first lookup (I'm not certain if it is actually doing this now) > - we need a URL reference that when looked up returns a new URL. ResourceRefBuilder needs to install these in the jndi tree instead of the URL itself. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.