I am also getting this error in 5.5.9 and 5.5.12. I have the mysql driver in $CATALINA_HOME/common/lib. My application was working in 5.0.28.
I took the following from the server.xml in 5.0.28 (that was working) and pasted it in the 5.5.x server.xml and I get the "Cannot create JDBC driver" error. <Context path="/Hello2" docBase="/Hello2" debug="info"> <Manager className="org.apache.catalina.session.PersistentManager" maxIdleBackup="5" maxIdleSwap="5" checkInterval="1"> <Store className="org.apache.catalina.session.JDBCStore" connectionURL="jdbc:mysql://localhost/wroxtomcat?user=empro&password =empass" driverName="com.mysql.jdbc.Driver" debug="4" sessionIdCol="session_id" sessionValidCol="valid_session" sessionMaxInactiveCol="max_inactive" sessionLastAccessedCol="last_access" sessionTable = "tomcat_sessions" sessionAppCol = "app_context" sessionDataCol = "session_data"/> </Manager> <Resource name="jdbc/hello2" auth="Container" type="javax.sql.DataSource" /> <ResourceParams name="jdbc/hello2"> <parameter> <name>factory</name> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value> </parameter> <parameter><name>maxActive</name><value>10</value></parameter> <parameter><name>maxWait</name><value>500</value></parameter> <parameter><name>username</name><value>root</value></parameter> <parameter><name>password</name><value>root</value></parameter> <parameter> <name>driverClassName</name> <value>com.mysql.jdbc.Driver</value> </parameter> <parameter> <name>url</name> <value>jdbc:mysql://localhost/hello</value> </parameter> </ResourceParams> </Context> I have Hello2.war in the webapps directory. Is there a change re: deployment between Tomcat 5.0.x and Tomcat 5.5.x? Thanks, Gary -----Original Message----- From: Eric Munson [mailto:[EMAIL PROTECTED] Sent: Monday, January 02, 2006 6:44 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help I found the error, there was a misspelling of the Context object in one of the context.xml files. When it was corrected everything worked. Thanks for all of your help. Thanks, Eric On 1/2/06, Eric Munson <[EMAIL PROTECTED]> wrote: > Thanks for your reply, but I have already moved the proper driver into > the $CATALINA_HOME/common/lib. Is there anything else that would > cause this behavior? > > Thanks, > Eric > On 1/2/06, Roberto Rios <[EMAIL PROTECTED]> wrote: > > Copy your jdbc driver into [tomcat]/common/lib > > > > -------------------------------------------------------------------- > > - To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]