1 Reply Latest reply on Aug 22, 2002 3:15 PM by srinivas challa

    Error while geting connection from mysql

    srinivas challa Newbie

      I am trying to use mysql connection pooling and to do so following modifications was made to the mysql-service.xml



      <config-property name="ConnectionURL" type="java.lang.String">jdbc:mysql://localhost/test</config-property>
      <config-property name="DriverClass" type="java.lang.String">com.mysql.jdbc.Driver</config-property>
      <config-property name="UserName" type="java.lang.String"></config-property>
      <config-property name="Password" type="java.lang.String"></config-property>



      While retriving the connection object from JSP, I received the following error

      HTTP ERROR: 500 Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost/test; - nested throwable: (javax.resource.ResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost/test)

      Some headway on the same will be greatly appreciated.
      Regards