4 Replies Latest reply on Apr 25, 2002 5:00 PM by Kevin Stoll

    MySQL classpath query

    David Harte Newbie

      Quick Question, after changing my DefaultDS to MySql I am getting a class not found error for my driver, I have

      mm.mysql-2.0.4-bin.jar in my lib/ext dir and have my driver referenced in my-sqlservice.xml as


      ConnectionURL=jdbc:mysql://localhost
      DriverClass=org.gjt.mm.mysql.Driver
      UserName=root



      18:42:46,558 INFO [ConnectionFactoryLoader] Creating
      18:42:46,558 INFO [ConnectionFactoryLoader] Created
      18:42:46,558 INFO [ConnectionFactoryLoader] Starting
      18:42:46,629 ERROR [JDBCManagedConnectionFactory] Unable to load JDBC driver 'o
      g.gjt.mm.mysql.Driver '
      java.lang.ClassNotFoundException: org/gjt/mm/mysql/Driver
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)

      does anyone have any idea on why this might not be working .....

      many thanks

      David Harte