SHARE
TWEET

Untitled

a guest Jul 12th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         <subsystem xmlns="urn:jboss:domain:datasources:5.0">
  2.             <datasources>
  3.                 <xa-datasource jndi-name="java:jboss/datasources/pg_postgresql" pool-name="pg_postgresql-PG" enabled="true" use-java-context="true" statistics-enabled="${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}">
  4.                     <driver>postgresql</driver>
  5.                     <security>
  6.                         <user-name>pguser</user-name>
  7.                         <password>pgpass</password>
  8.                     </security>
  9.                     <validation>
  10.                         <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker"/>
  11.                         <validate-on-match>true</validate-on-match>
  12.                         <background-validation>false</background-validation>
  13.                         <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter"/>
  14.                     </validation>
  15.                 </xa-datasource>
  16.                 <xa-datasource jndi-name="java:jboss/datasources/mysql_mysql" pool-name="mysql_mysql-MYSQL" enabled="true" use-java-context="true" statistics-enabled="${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}">
  17.                     <xa-datasource-property name="DatabaseName">
  18.                         kitchensink
  19.                     </xa-datasource-property>
  20.                     <xa-datasource-property name="Port">
  21.                         3306
  22.                     </xa-datasource-property>
  23.                     <xa-datasource-property name="ServerName">
  24.                         10.1.1.1
  25.                     </xa-datasource-property>
  26.                     <driver>mysql</driver>
  27.                     <security>
  28.                         <user-name>mysqluser</user-name>
  29.                         <password>mysqlpass</password>
  30.                     </security>
  31.                     <validation>
  32.                         <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker"/>
  33.                         <validate-on-match>true</validate-on-match>
  34.                         <background-validation>false</background-validation>
  35.                         <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter"/>
  36.                     </validation>
  37.                 </xa-datasource>
  38.                 <drivers>
  39.                     <driver name="postgresql" module="org.postgresql.jdbc">
  40.                         <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
  41.                     </driver>
  42.                 </drivers>
  43.             </datasources>
  44.         </subsystem>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top