Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 23rd, 2006, 09:41 AM
Registered User
 
Join Date: Dec 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to arun_sunmic
Default JDBC Driver not loaded



     Hai I am arun.I have connected tomcat with mysql using mm.mysql connector. I have configured the server.xml and I placed the mm.mysql.jar file in the CATALINA_HOME/common/lib folder as per the procedure specified in the tomact documentaion.But when I execute a sample jsp program which retrieves the values from the mysql database I get the following error.

  java.sql.SQLException: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'

I have tried all the possiblities but I couldn't able to successfully run the sample application. So someone please help me in troubleshooting this problem.

V.S.Arun
 
Old April 8th, 2006, 04:09 AM
Authorized User
 
Join Date: Mar 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try with this driver :

com.mysql.jdbc.Driver






Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server 2000 Driver for JDBC Errors cash Java Databases 2 December 22nd, 2006 01:18 AM
Exception while loading JDBC driver dshashi1234 Java Databases 0 December 21st, 2006 02:34 AM
java.sql.SQLException: Error loading JDBC Driver jdphjp Java Databases 1 August 5th, 2004 12:46 AM
Cannot load JDBC driver class with com.mysql.jdbc. dzis Apache Tomcat 0 January 29th, 2004 11:57 AM
Cannot load JDBC driver class with com.mysql.jdbc. dzis MySQL 0 January 29th, 2004 11:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.