Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 89174 invoked from network); 18 Aug 2004 21:42:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Aug 2004 21:42:36 -0000 Received: (qmail 85578 invoked by uid 500); 18 Aug 2004 21:42:29 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 85467 invoked by uid 500); 18 Aug 2004 21:42:28 -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 85454 invoked by uid 99); 18 Aug 2004 21:42:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received: from [64.233.170.195] (HELO mproxy.gmail.com) (64.233.170.195) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 18 Aug 2004 14:42:25 -0700 Received: by mproxy.gmail.com with SMTP id 79so194116rnl for ; Wed, 18 Aug 2004 14:42:21 -0700 (PDT) Received: by 10.38.99.64 with SMTP id w64mr515404rnb; Wed, 18 Aug 2004 14:42:21 -0700 (PDT) Message-ID: Date: Wed, 18 Aug 2004 17:42:21 -0400 From: Scott Heaberlin Reply-To: Scott Heaberlin To: Jakarta Commons Users List Subject: Re: [DBCP] - JOCL in 1.2.1 In-Reply-To: <4118FD9A.8060100@pandora.be> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <4118FD9A.8060100@pandora.be> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sorry for the late reply... mistakenly filtered out of my google mail inbox. I will provide the exact stack trace later today. I don't believe it had a sax exception, as I have seen the 'sax driver not present' error in the past using JOCL and know how to fix it with -D vm options. Thanks for your reply, and I'll post the whole stack trace when I can. -Scott On Tue, 10 Aug 2004 18:53:46 +0200, Dirk Verbeeck wrote: > This exception should have an SAXException as its cause. > Can you look a little further and send us the cause exception (or the > full stacktrace)? > > -- Dirk > > > > Scott Heaberlin wrote: > > Greetings, > > > > I recently updated to dbcp 1.2.1. I am experiencing the following, > > with JOCL files that had been working with a past version of dbcp > > (sorry, I don't recall the exact version... but my jocl files are > > basically copies of those available via the examples dir in CVS, with > > the driver and url values changed): > > > > org.apache.commons.dbcp.SQLNestedException: Could not parse configuration file > > at org.apache.commons.dbcp.PoolingDriver.getConnectionPool(PoolingDriver.java:114) > > at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:170) > > at java.sql.DriverManager.getConnection(DriverManager.java:512) > > at java.sql.DriverManager.getConnection(DriverManager.java:171) > > > > > > > > Oh a hunch, I copied *both* .jocl files in > > http://cvs.apache.org/viewcvs.cgi/jakarta-commons/dbcp/doc/ > > and both of them cause the above error when i copy the contents into > > my jocl file. So does testpool.jocl > > (http://cvs.apache.org/viewcvs.cgi/jakarta-commons/dbcp/src/test/) > > AS-IS - with zero modifications. > > > > I verified that my application is using > > jdbc:apache:commons:dbcp:/mydbcp > > as my url (and mydbcp.jocl exists in the root of a folder in my classpath). > > > > Am I missing something here? > > > > Any suggestions?. My first couple of Google and mailing-list searches > > turned up nothing. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > > -- -Scott Scott Heaberlin http://www.heabdogg.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org