Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 8374 invoked from network); 21 Oct 2005 08:05:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Oct 2005 08:05:25 -0000 Received: (qmail 47125 invoked by uid 500); 21 Oct 2005 08:05:23 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 47103 invoked by uid 500); 21 Oct 2005 08:05:23 -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 47085 invoked by uid 99); 21 Oct 2005 08:05:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 01:05:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.227.76.129] (HELO www.intland.com) (212.227.76.129) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 01:05:22 -0700 Received: (qmail 25290 invoked from network); 21 Oct 2005 10:05:00 +0200 Received: from p54a0ffbb.dip.t-dialin.net (HELO lat) (84.160.255.187) by p15187949.pureserver.info with (RC4-MD5 encrypted) SMTP; 21 Oct 2005 10:05:00 +0200 From: "Zsolt" To: Subject: RE: How to use tomcat's naming-factory-dbcp.jar Date: Fri, 21 Oct 2005 10:04:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 thread-index: AcXWDxbI4NHiT2rPQxW2LhfX+TwBGgAACIlQAAD7ugA= In-Reply-To: <50CA25BD6EEA954FA592C097399942E303F35E74@CM1.wis.local> X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20051021080522.81AEE10FB2A5@asf.osuosl.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thank you Niels, but I would like configure the database connection in sqlmap-config.xml. Because we ship our application with tomcat it would be easier if we could configure ibatis to use naming-factory-dbcp.jar that is always there. Zsolt >-----Original Message----- >From: Niels Beekman [mailto:n.beekman@wis.nl] >Sent: Friday, October 21, 2005 9:16 AM >To: user-java@ibatis.apache.org >Subject: RE: How to use tomcat's naming-factory-dbcp.jar > >You should reference the datasources defined in Tomcat using JNDI, this >can be found in the documentation. > >Niels > >-----Original Message----- >From: Zsolt [mailto:zkoppanylist@intland.com] >Sent: vrijdag 21 oktober 2005 9:15 >To: user-java@ibatis.apache.org >Subject: How to use tomcat's naming-factory-dbcp.jar > >Hi, > >I use tc-5.5.12 and that is shipped with naming-factory-dbcp.jar. It >looks >like it has new class names such as: >org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory > >How do I have to configure sqlmap-config.xml to use this library? > >Zsolt > >