Hi All I have configured connectionpooling for MYSQL using Hibernate on Jboss but the problem is when i am trying to use the jndi name its working but on jboss console i get a error saying
| 12:09:19,601 INFO [DatasourceConnectionProvider] Using datasource: java:/metada | ta | 12:09:19,632 WARN [JBossManagedConnectionPool] Throwable while attempting to ge | t a new connection: null | 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://localho | st:3306/metadata) | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c | reateManagedConnection(LocalManagedConnectionFactory.java:161) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cr | eateConnectionEventListener(InternalManagedConnectionPool.java:508) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.ge | tConnection(InternalManagedConnectionPool.java:207) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BaseP | ool.getConnection(JBossManagedConnectionPool.java:534) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManage | dConnection(BaseConnectionManager2.java:395) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCo | nnection(TxConnectionManager.java:297) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC | onnection(BaseConnectionManager2.java:447) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio | nManagerProxy.allocateConnection(BaseConnectionManager2.java:874) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp | erDataSource.java:103) | at org.hibernate.connection.DatasourceConnectionProvider.getConnection(D | atasourceConnectionProvider.java:67) | But this driver was working properly when i had used ordinary JDBC mechnism like prepared statment etc... Any help greatly appreciated.. Thanks Sreenath M View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899773#3899773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899773 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user