[jboss-jira] [JBoss JIRA] Commented: (AS7-724) XA Datasource get removed from XML when booted in domain mode

Stefano Maestri (JIRA) jira-events at lists.jboss.org
Tue May 10 12:51:19 EDT 2011


    [ https://issues.jboss.org/browse/AS7-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601106#comment-12601106 ] 

Stefano Maestri commented on AS7-724:
-------------------------------------

The problem generathing this is that you have not provided the driver. That is mandatory also for XA as we have already discussed.
Anyway I've found some other issues during deployment and I'm asking for a pull request for them on mailing list.
Please wait that pull before retry to have a clean XADS deployment.

S.

> XA Datasource get removed from XML when booted in domain mode
> -------------------------------------------------------------
>
>                 Key: AS7-724
>                 URL: https://issues.jboss.org/browse/AS7-724
>             Project: Application Server 7
>          Issue Type: Bug
>            Reporter: Heiko Braun
>            Assignee: Stefano Maestri
>             Fix For: 7.0.0.CR1
>
>
> I am adding an XA declaration to domain.xml:
>  <xa-datasource jndi-name="java:/H2XADS" pool-name="H2XADS">
>    <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
>     <xa-datasource-property name="URL">jdbc:h2:mem:test</xa-datasource-property>
>     <security>
>        <!-- Have to defined as a primary property - otherwise it won't work -->
>       <user-name>sa</user-name>
>       <!-- Have to defined as a primary property - otherwise it won't work -->
>       <password>sa</password>
>     </security>
>   </xa-datasource>
> After the server has booted it's gone.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list