You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/02/04 17:06:38 UTC

DO NOT REPLY [Bug 15672] - DBCP doesn't work on Tomcat 4.1.18 with Oracle JDBC driver

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=15672>.
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=15672

DBCP doesn't work on Tomcat 4.1.18 with Oracle JDBC driver





------- Additional Comments From bamazur@yahoo.com  2003-02-04 16:06 -------
I am unable to DBCP to work when trying to get a connection at context 
startup.  I tried getting a connection within a ServletContextListener servlet 
and received "Cannot load JDBC driver class 'null'."  I received the same error 
when trying to get a connection within a servlet set to load-on-startup.

I have no problem getting a connection if I make the exact same call later.

I have my ResourceParams defined within the <DefaultContext> node.  I'm not 
sure if that could make a difference.  Otherwise the server.xml and web.xml is 
the one described in the Tomcat sample documentation (other than usernames, 
passwords, etc. of course)

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