Created
May 23, 2011 13:16
-
-
Save maeste/986674 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/build/src/main/resources/standalone/configuration/clustering-standalone.xml b/build/src/main/resources/standalone/configuration/clustering-standalone.xml | |
| index ed6e85a..2e439a4 100644 | |
| --- a/build/src/main/resources/standalone/configuration/clustering-standalone.xml | |
| +++ b/build/src/main/resources/standalone/configuration/clustering-standalone.xml | |
| @@ -177,8 +177,7 @@ | |
| <datasources> | |
| <datasource jndi-name="java:/H2DS" enabled="true" use-java-context="true" pool-name="H2DS"> | |
| <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url> | |
| - <driver-class>org.h2.Driver</driver-class> | |
| - <driver>org.h2.Driver#1.2</driver> | |
| + <driver>h2</driver> | |
| <pool></pool> | |
| <security> | |
| <user-name>sa</user-name> | |
| @@ -188,10 +187,12 @@ | |
| <timeout></timeout> | |
| <statement></statement> | |
| </datasource> | |
| + <drivers> | |
| + <driver name="h2" module="com.h2database.h2"> | |
| + <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class> | |
| + </driver> | |
| + </drivers> | |
| </datasources> | |
| - <drivers> | |
| - <driver module="com.h2database.h2"/> | |
| - </drivers> | |
| </subsystem> | |
| <subsystem xmlns="urn:jboss:domain:resourceadapters:1.0"> | |
| <!-- <resource-adapters> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment