KEYCLOAK-3644 demo-dist broken due to broken datasource element in standalone.xml

This commit is contained in:
mposolda 2016-10-03 17:42:20 +02:00
parent d71fadabeb
commit 81e773688f

View file

@ -42,14 +42,14 @@
<xsl:template match="//ds:datasources"> <xsl:template match="//ds:datasources">
<xsl:copy> <xsl:copy>
<xsl:apply-templates select="node()[name(.)='datasource']"/> <xsl:apply-templates select="node()[name(.)='datasource']"/>
<datasource jndi-name="java:jboss/datasources/KeycloakDS" pool-name="KeycloakDS" use-java-context="true"> <xa-datasource jndi-name="java:jboss/datasources/KeycloakDS" pool-name="KeycloakDS" use-java-context="true">
<xa-datasource-property name="URL">jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE</xa-datasource-property> <xa-datasource-property name="URL">jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE</xa-datasource-property>
<driver>h2</driver> <driver>h2</driver>
<security> <security>
<user-name>sa</user-name> <user-name>sa</user-name>
<password>sa</password> <password>sa</password>
</security> </security>
</datasource> </xa-datasource>
<xsl:apply-templates select="node()[name(.)='drivers']"/> <xsl:apply-templates select="node()[name(.)='drivers']"/>
</xsl:copy> </xsl:copy>
</xsl:template> </xsl:template>