ExampleDS is not added by default in EAP 7.3 container or later
Issue
- The default datasource
ExampleDS
is not added by default in EAP 7.3 container or later. - If the standalone-openshift.xml is brought from EAP 7.2 or earlier container to EAP 7.3 container, the place holder
<!-- ##DATASOURCES## -->
is not replaced byExampleDS
during starting up the container.
Before starting the container:
<subsystem xmlns="urn:jboss:domain:datasources:5.0">
<datasources>
<!-- ##DATASOURCES## -->
<drivers>
Expected after starting the container (<!-- ##DATASOURCES## -->
is not replaced in practice):
<subsystem xmlns="urn:jboss:domain:datasources:5.0">
<datasources>
<datasource jta="true" jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true" statistics-enabled="${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}"> <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><!-- ##DATASOURCES## -->
<drivers>
Environment
- JBoss EAP for OpenShift Container Platform
- 7.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.