[jboss-jira] [JBoss JIRA] Resolved: (JBAS-5021) org.jboss.test.jca.test.XADSUnitTestCase

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Mon Dec 3 17:55:52 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAS-5021?page=all ]

Shelly McGowan resolved JBAS-5021.
----------------------------------

    Resolution: Done

committed change

> org.jboss.test.jca.test.XADSUnitTestCase
> ----------------------------------------
>
>                 Key: JBAS-5021
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5021
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Deployment services
>            Reporter: Shelly McGowan
>         Assigned To: Shelly McGowan
>             Fix For:  JBossAS-5.0.0.Beta3
>
>
> 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);
>        }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list