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
I able done it, Just adding mysql-connector-java-2.0.14-bin.jar to JBOSS_CLASSPATH.