Fix connection string for h2 db in dist
This commit is contained in:
parent
8f2c7a92b0
commit
2deaca8fc6
2 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
4
dist/src/main/xslt/standalone.xsl
vendored
4
dist/src/main/xslt/standalone.xsl
vendored
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue