Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 2000 invoked from network); 19 Feb 2007 04:34:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2007 04:34:53 -0000 Received: (qmail 82320 invoked by uid 500); 19 Feb 2007 04:34:55 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 82166 invoked by uid 500); 19 Feb 2007 04:34:54 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 82150 invoked by uid 99); 19 Feb 2007 04:34:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Feb 2007 20:34:54 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of larry.meadors@gmail.com designates 64.233.184.238 as permitted sender) Received: from [64.233.184.238] (HELO wr-out-0506.google.com) (64.233.184.238) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Feb 2007 20:34:44 -0800 Received: by wr-out-0506.google.com with SMTP id 36so1620631wra for ; Sun, 18 Feb 2007 20:34:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Uf0laqK+NwWwS0zjG9OGjJYzLgDGB0o6CM0RuhUDQsa7U4uKwcA0m89HvjuB2TebtkQeFY/5OAI+lfF+yMJb7vNHymWeaW/p3udqOaG2iHZeb0+LXGWpcHMkVMu1VJ49mTwXKOG//SZQ1T3cr3sNDiZFBQdLElP5+ROK+W3MZJQ= Received: by 10.114.133.1 with SMTP id g1mr2769477wad.1171859663001; Sun, 18 Feb 2007 20:34:23 -0800 (PST) Received: by 10.114.183.6 with HTTP; Sun, 18 Feb 2007 20:34:22 -0800 (PST) Message-ID: Date: Sun, 18 Feb 2007 21:34:22 -0700 From: "Larry Meadors" Reply-To: lmeadors@apache.org Sender: larry.meadors@gmail.com To: user-java@ibatis.apache.org Subject: Re: Share database connection pool with Tomcat In-Reply-To: <7a8b7ba30702181752u4db9d451wb999bc7436233b22@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7a8b7ba30702181752u4db9d451wb999bc7436233b22@mail.gmail.com> X-Google-Sender-Auth: 49bc6681017e5b87 X-Virus-Checked: Checked by ClamAV on apache.org Of course - if it's a JNDI data source you can tell iBATIS to use that - it's in the user guide and the book. Larry On 2/18/07, Collin Peters wrote: > I have some regular Tomcat database connection pooling setup with DBCP > for some servlets that are not iBatis related (reports running direct > SQL). > > Is it possible to share that database pool with the one defined in > iBatis? Seems counter-productive to define two database pools. Or > maybe iBatis/Tomcat is smart enough to only have one pool? > > -- > Collin Peters > VP of Technology > InTouch Technology >