Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 20110 invoked from network); 5 May 2004 23:36:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 May 2004 23:36:38 -0000 Received: (qmail 24367 invoked by uid 500); 5 May 2004 23:36:16 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 24330 invoked by uid 500); 5 May 2004 23:36:15 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 24316 invoked from network); 5 May 2004 23:36:15 -0000 Received: from unknown (HELO public.coredevelopers.net) (209.233.18.245) by daedalus.apache.org with SMTP; 5 May 2004 23:36:15 -0000 Received: from coredevelopers.net (dsl093-038-137.pdx1.dsl.speakeasy.net [66.93.38.137]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by public.coredevelopers.net (Postfix on SuSE Linux 8.0 (i386)) with ESMTP id 4C1A629C10 for ; Wed, 5 May 2004 15:40:24 -0700 (PDT) Date: Wed, 5 May 2004 16:36:20 -0700 Subject: Re: MultiPoolConnectionInterceptor.SubjectCRIKey fix Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: David Jencks To: geronimo-dev@incubator.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <07258F4244D6F649B1A78993D070B7CA0122D30E@ACSPMXE02> Message-Id: <032CCEC6-9EED-11D8-844F-003065F4889C@coredevelopers.net> X-Mailer: Apple Mail (2.553) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ?? SubjectCRIKey does implement hashCode(). Does your implementation of ConnectionRequestInfo implement it properly? Please provide more details. In particular, are you using container managed security (i.e. a Subject) or application managed security (i.e ConnectionRequestInfo)? BTW does the version of your patches I applied to the openejb jdbc wrapper work for you? thanks david jencks On Wednesday, May 5, 2004, at 02:58 PM, Hamilton Verissimo de Oliveira (Engenharia - SPO) wrote: > > I'm experiencing some memory leaks with Geronimo JCA implementation. > While > I'm trying to find out where is the problem I saw another minor > problem: > > SubjectCRIKey must overrides hashCode. If not the getConnection will > always > create new pools: > > public void getConnection(ConnectionInfo connectionInfo) throws > ResourceException { > > <...> > > SinglePoolConnectionInterceptor poolInterceptor = null; > synchronized (pools) { > poolInterceptor = (SinglePoolConnectionInterceptor) > pools.get(key); > > > Maybe that is the reason of the memory leak. Anyway, still digging... > > > Regards, > hammett >