Browse Source

revise datasource setting

master
shihxuancheng 5 years ago
parent
commit
8ee49d482a
2 changed files with 16 additions and 0 deletions
  1. 8
      wildfly_tml_khhw/config/standalone.xml
  2. 8
      wildfly_tml_txgw/config/standalone.xml

8
wildfly_tml_khhw/config/standalone.xml

@ -140,6 +140,14 @@
<subsystem xmlns="urn:jboss:domain:core-management:1.0"/>
<subsystem xmlns="urn:jboss:domain:datasources:5.0">
<datasources>
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
<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>
<!-- KHHW PROD DB -->
<datasource jta="true" jndi-name="java:/OraWhltKHHW7DS" pool-name="OraWhltKHHW7DS" enabled="true" use-ccm="true">
<connection-url>jdbc:oracle:thin:@khhw7.wanhai.com:1521:whlt</connection-url>

8
wildfly_tml_txgw/config/standalone.xml

@ -140,6 +140,14 @@
<subsystem xmlns="urn:jboss:domain:core-management:1.0"/>
<subsystem xmlns="urn:jboss:domain:datasources:5.0">
<datasources>
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
<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>
<!-- TXGW PROD DB -->
<datasource jta="true" jndi-name="java:/OraWhltTXGW7DS" pool-name="OraWhltTXGW7DS" enabled="true" use-ccm="true">
<connection-url>jdbc:oracle:thin:@txgw5.wanhai.com:1521:whlt</connection-url>

Loading…
Cancel
Save