Fix connection string for h2 db in dist

This commit is contained in:
Stian Thorgersen 2013-11-26 12:52:15 +00:00
parent 8f2c7a92b0
commit 2deaca8fc6
2 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
<datasource jndi-name="java:jboss/datasources/KeycloakDS" pool-name="KeycloakDS" enabled="true" use-java-context="true">
<connection-url>jdbc:h2:${jboss.server.data.dir}/keycloak;DB_CLOSE_DELAY=-1</connection-url>
<connection-url>jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE</connection-url>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
@ -30,4 +30,4 @@
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>

View file

@ -14,7 +14,7 @@
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
<datasource jndi-name="java:jboss/datasources/KeycloakDS" pool-name="KeycloakDS" enabled="true" use-java-context="true">
<connection-url>jdbc:h2:${jboss.server.data.dir}/keycloak;DB_CLOSE_DELAY=-1</connection-url>
<connection-url>jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE</connection-url>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
@ -30,4 +30,4 @@
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>