commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Heaberlin <heabd...@gmail.com>
Subject [DBCP] - JOCL in 1.2.1
Date Tue, 10 Aug 2004 05:16:17 GMT
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.
-- 


-Scott


Scott Heaberlin

---------------------------------------------------------------------
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