tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: cannot load db driver in Tomcat 5.0.4
Date Tue, 15 Jul 2003 22:11:58 GMT
Tomcat 5 relies on commons-logging for lots of stuff. And commons-logging has 
an interesting relationship with log4j.

Putting a log4j.properties in your common/classes directory should help.

-Tim

Raible, Matt wrote:
> I found that adding log4j.jar to $CATALINA_HOME/common/lib solved my
> problem, but now I get the following error when I start Tomcat and there is
> no logging to catalina.out:
> 
> log4j:WARN No appenders could be found for logger
> (org.apache.catalina.startup.Embedded).
> log4j:WARN Please initialize the log4j system properly.
> 
> Any help is appreciated.
> 
> Matt
> 
> -----Original Message-----
> From: Raible, Matt 
> Sent: Tuesday, July 15, 2003 2:53 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: cannot load db driver in Tomcat 5.0.4
> 
> 
> I'm trying to upgrade to Tomcat 5.0.4 and I'm getting the lovely error that
> I love so much:
> 
> java.sql.SQLException: Cannot load JDBC driver class 'null'
> 
> This app works beautifully in Tomcat 4.1.24 and I can put the exact same
> directory, app.xml and jdbc driver in common/lib and it works.  Has anything
> changed configuration-wise in 5.0.4?
> 
> Thanks,
> 
> Matt
>  


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


Mime
View raw message