[jboss-user] [JCA/JBoss] - MySql XA Datasource with JBoss 5.1.GA

mdesignz do-not-reply at jboss.com
Fri Jun 5 16:14:27 EDT 2009


Hello, I have an existing Seam 2.1.2.CR2 application with a MySql XA datasource using the 5.1.7 MySql connector that works fine under JBoss 4.2.3.GA.  When I deploy under 5.1.GA, it complains with the below exception.  I didn't notice an XA example in the 5.1.GA distribution...is it supported?   Any suggestions on what the issue might be?  Thanks.

13:32:06,865 WARN  [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
  | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Could not find accessor on XADataSource: ; - nested throwable: (java.lang.NoSuchMethodException: com.mysql.jdbc.jdbc2.optional.MysqlXADataSource.setJdbc(java.lang.String)))
  | 	at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:465)
  | 	at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:409)
  | 	at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
  | 	at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
  | 	at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622)
  | 	at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
  | 	at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
  | 	at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
  | 	at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
  | 	at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235748#4235748

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235748



More information about the jboss-user mailing list