From commons-user-return-7391-apmail-jakarta-commons-user-archive=jakarta.apache.org@jakarta.apache.org Wed Apr 14 18:57:22 2004 Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 212 invoked from network); 14 Apr 2004 18:57:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Apr 2004 18:57:22 -0000 Received: (qmail 41016 invoked by uid 500); 14 Apr 2004 18:57:07 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 40997 invoked by uid 500); 14 Apr 2004 18:57:07 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 40983 invoked from network); 14 Apr 2004 18:57:06 -0000 Received: from unknown (HELO poros.telenet-ops.be) (195.130.132.44) by daedalus.apache.org with SMTP; 14 Apr 2004 18:57:06 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by poros.telenet-ops.be (Postfix) with SMTP id 25004369CB2 for ; Wed, 14 Apr 2004 20:57:11 +0200 (MEST) Received: from pandora.be (D5E05F62.kabel.telenet.be [213.224.95.98]) by poros.telenet-ops.be (Postfix) with ESMTP id C29FE369BFC for ; Wed, 14 Apr 2004 20:57:10 +0200 (MEST) Message-ID: <407D8983.9010500@pandora.be> Date: Wed, 14 Apr 2004 20:57:07 +0200 From: Dirk Verbeeck User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: using jocl files under Tomcat References: <006f01c4210c$e0769b10$bf00a8c0@blraddrcom> In-Reply-To: <006f01c4210c$e0769b10$bf00a8c0@blraddrcom> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 The file is loaded with the classloader of PoolingDriver. So if you put the mytest.jocl in WEB-INF/classes then use "/mytest" as poolname. url: jdbc:apache:commons:dbcp:/mytest You can also create a file WEB-INF/classes/org/apache/commons/dbcp/mytest.jocl and use the following url: jdbc:apache:commons:dbcp:mytest -- Dirk Keith Hankin wrote: > I have a file called mytest.jocl which I have placed in the WEB-INF/classes directory of my war file to deploy to a tomcat 4.1.30 server. However, I get an error indicating that the configuration file cannot be found. Since I do not have explicit control over classpath under Tomcat, how do I get this to work? > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org