[jboss-jira] [JBoss JIRA] (AS7-2718) Cannot configure an H2 XA datasource due to missing service

Jesper Pedersen (Closed) (JIRA) jira-events at lists.jboss.org
Mon Nov 21 09:44:41 EST 2011


     [ https://issues.jboss.org/browse/AS7-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesper Pedersen closed AS7-2718.
--------------------------------

      Assignee: Jesper Pedersen  (was: Kurt Stam)
    Resolution: Rejected


Change the datasource for the JAXR subsystem to point to your datasource definition. Use the user forum for discussion.
                
> Cannot configure an H2 XA datasource due to missing service
> -----------------------------------------------------------
>
>                 Key: AS7-2718
>                 URL: https://issues.jboss.org/browse/AS7-2718
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JAXR
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Michael Musgrove
>            Assignee: Jesper Pedersen
>
> Configuring an XA H2 datasource in standalone.xml (7.1.0.Alpha2-SNAPSHOT) fails with an unsatisfied service dependency:
>  
> 14:13:15,611 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
> JBAS014775:    New missing/unsatisfied dependencies:
>       service jboss.data-source.java:jboss/datasources/ExampleDS (missing) dependents: [service jboss.jaxr.as.bootstrap]
>  
> 14:13:15,618 ERROR [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha2-SNAPSHOT "Ahoy!" started (with errors) in 4061ms - Started 154 of 217 services (1 services failed or missing dependencies, 60 services are passive or on-demand)
> My XA datasorce is configured as follows:
> 	<xa-datasource jndi-name="java:jboss/datasources/H2XADS" enabled="true"
>                           	use-java-context="true" pool-name="H2XADS">
>                	<xa-datasource-property name="URL">jdbc:h2:mem:test</xa-datasource-property>
>                	<driver>h2</driver>
>                	<xa-pool></xa-pool>
>                	<security>
>                    	<user-name>sa</user-name>
>                    	<password>sa</password>
>                	</security>
>         </xa-datasource>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list