From users-return-19604-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Fri Jul 03 08:53:10 2009 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 89580 invoked from network); 3 Jul 2009 08:53:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jul 2009 08:53:10 -0000 Received: (qmail 7615 invoked by uid 500); 3 Jul 2009 08:53:20 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 7565 invoked by uid 500); 3 Jul 2009 08:53:20 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 7537 invoked by uid 99); 3 Jul 2009 08:53:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2009 08:53:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2009 08:53:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MMeVj-0004mr-GM for users@activemq.apache.org; Fri, 03 Jul 2009 01:52:47 -0700 Message-ID: <24319799.post@talk.nabble.com> Date: Fri, 3 Jul 2009 01:52:47 -0700 (PDT) From: chu_man_fu To: users@activemq.apache.org Subject: Re: Using Oracle for persistence - DB sessions not dying In-Reply-To: <3a73c17c0907030142r20ba6dd0i19e6ebed065e1e9c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cem@bytron.com References: <24306601.post@talk.nabble.com> <3a73c17c0907030142r20ba6dd0i19e6ebed065e1e9c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org How can I configure this class via the XML config? That link is the API for the Java class. I have no control over how this is used, the persistance is done internal to ActiveMQ...isn't it? Gary Tully wrote: > > You got to configure the jdbc connection pool to close idle connections if > you want this behavior. Check out the api reference > http://commons.apache.org/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html > > - > http://blog.garytully.com > > Open Source Integration > http://fusesource.com > > -- View this message in context: http://www.nabble.com/Using-Oracle-for-persistence---DB-sessions-not-dying-tp24306601p24319799.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.