-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
Test: org.jboss.test.jca.test.XADSUnitTestCase.testXADSDeployed was failing when attempting to get an XAManagedConnection. This connection attempt failed because an XADataSourceClass was not supplied:
11:30:03,439 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: No XADataSourceClass supplied!)
at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:451)
It appears that the issue is simply that the xa-datasource-class is not added to the property list obtained from the method getManagedConnectionFactoryProperties() in connector/src/main/org/jboss/resource/metadata/mcf/XADataSourceDeploymentMetaData.java
===================================================================
— XADataSourceDeploymentMetaData.java (revision 67443)
+++ XADataSourceDeploymentMetaData.java (working copy)
@@ -104,6 +104,7 @@
property = new ManagedConnectionFactoryPropertyMetaData();
property.setName("XADataSourceClass");
property.setValue(getXaDataSourceClass());
+ properties.add(property);
}