org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'Apr 5, 2010 4:32:35 PM org.apache.catalina.core.ApplicationContext log
INFO: StudentServlet: SQLException caught Cannot create JDBC driver of class '' for connect URL 'null'
Tim McGuire wrote:I had same problem recently.
check in $TOMCAT_HOME/conf/Catalina/localhost
for a file called $appname.xml
where $appname is your web application name.
This file is a copy of your context.xml from when you first deployed. If you fixed context.xml since your first deployment, the changes won't be reflected in $appname.xml. Your app is still trying to read from it, however. You can edit $appname.xml by hand or delete it.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Tim Holloway wrote:"No Suitable Driver" means that your driver class wasn't found in Tomcat's classpath. You've either misspelled the classname or you need to place a copy of the jar that contains the driver in $TOMCAT_HOME/lib.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Fabio Piergentili wrote:result from jar tvf command on mysql jar file in tomcat home lib directory
692 Wed Mar 05 17:26:52 EST 2008 com/mysql/jdbc/Driver.class
Tim McGuire wrote:
Fabio Piergentili wrote:result from jar tvf command on mysql jar file in tomcat home lib directory
692 Wed Mar 05 17:26:52 EST 2008 com/mysql/jdbc/Driver.class
Just want to confirm that when you say "tomcat home lib" you are not talking about
$TOMCAT_HOME/lib
it should be in
$TOMCAT_HOME/common/lib
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Tim Holloway wrote:
Not for Tomcat6. The unholy trinity of Tomcat libraries went away after tomcat 5.x. Now there's only TOMCAT_HOME/lib.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Fabio Piergentili wrote:
I have created a context.xml and put it in my deployed application WEB-INF directory
Everybody's invited. Except this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
|