I am using mysql with jboss

mysql-ds.xml
===========

<datasources>
<local-tx-datasource>
<jndi-name>jdbc/vlearn</jndi-name>
<connection-url>jdbc:mysql://192.168.2.41:3306/learndb</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password>root</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<idle-timeout-minutes>0</idle-timeout-minutes>
</local-tx-datasource>
</datasources>

jboss-web.xml
==========

<jboss-web>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/vlearn</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:/jdbc/vlearn</jndi-name>
<res-auth>Container</res-auth>
</resource-ref>

context creation
===========
InitialContext ctx = new InitialContext();
System.out.println("I here for InitialContext"+ctx);
DataSource ds = (DataSource)ctx.lookup("java:jdbc/vlearn");
System.out.println("I here for DataSource"+ds);
connection = ds.getConnection();
System.out.println("I here for connection"+connection);


Exception
========
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://192.168.2.41:3306/learndb)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:500)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:347)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:330)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:90)
at com.iGrandee.Common.ConnectionManager.getVirtualLearnConnection(ConnectionManager.java:69)
at com.iGrandee.Common.ConnectionInfo.makeConnection(ConnectionInfo.java:95)