can you post your standalone/domain.xml please?
Below is my standalone.xml. Just a note I have 3 seperate ds.xml files in the deployment directory.
<subsystem xmlns="urn:jboss:domain:datasources:2.0"> <datasources> <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true"> <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url> <driver>h2</driver> <security> <user-name>sa</user-name> <password>sa</password> </security> </datasource> <drivers> <driver name="h2" module="com.h2database.h2"> <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class> </driver> </drivers> </datasources> </subsystem>
Leaving for home now will check you reply tomorrow.
please provide me also *-ds.xml. How is the db2 driver provided? Is it deployed as jar?
Thanks Frank I have seen that Issue,
What I have done is removed the individual Datasources and added them all into the standalone.xml which works, an I no longer get this error. I will test using multiple DS files after the next release.
Thanks for your help thus far Stefano.