commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Verbeeck <dirk.verbe...@pandora.be>
Subject Re: [DBCP] - JOCL in 1.2.1
Date Tue, 10 Aug 2004 16:53:46 GMT
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


Mime
View raw message