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.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
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.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
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
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
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.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Fabio Piergentili wrote:
I have created a context.xml and put it in my deployed application WEB-INF directory
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |