commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14267] - DBCP doesn't work on Tomcat 4.1.12 and Oracle JDBC driver
Date Mon, 28 Apr 2003 23:28:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14267>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14267

DBCP doesn't work on Tomcat 4.1.12 and Oracle JDBC driver





------- Additional Comments From rituraj_tiwari@yahoo.com  2003-04-28 23:28 -------
I had a DBCP setup running with Tomcat 4.0.6 and MySQL. In this setup I was
using commons libraries (DBCP, Collection, pooling) I got as a separate
download. I saved these jars under $TOMCAT_HOME/common/lib

I later moved to Tomcat 4.1 and Oracle and started seeing the problem Troy is
experiencing. I reverted to 4.0.6 and the commons jars and started seeing a
different problem. I get the following NPE:

2003-04-28 16:11:19 Init: General Exception launching LDAP Miner: java.lang.Null
PointerException
java.lang.NullPointerException
        at org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(Delegating
Connection.java:237)
        at org.apache.commons.dbcp.PoolableConnectionFactory.activateObject(Pool
ableConnectionFactory.java:273)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown S
ource)
        at org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObj
ectPool.java:117)
        at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSo
urce.java:110)
        at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
.java:312)
        at com.nuance.dialer.JdbcUserManager.getStringCell(JdbcUserManager.java:
611)
        at com.nuance.dialer.JdbcUserManager.queryUserExists(JdbcUserManager.jav

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message