5 Replies Latest reply on Sep 6, 2002 11:37 AM by matn1

    Failed to register driver for: org.gjt.mm.mysql.Driver

    matn1

      Can someone explain to me why my session bean is throwing the following sqlexception.

      I thought that my DriverClass
      was already bound in mysql-service.xml. When I start the server it tells me the following
      16:56:17,224 INFO [MySqlDS] Bound connection factory for resource adapter 'JBoss LocalTransaction JDBC Wrapper' to JNDI name 'java:/MySqlDS'

      yet when I run my program I get the following error
      ------------------------------------------------------
      va.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
      java.rmi.ServerException: Failure creating executing sql in session bean: Failed to register driver for: org.gjt.mm.mysql.Driver;

      -- Thanks