/
Datasources
Datasources
standalone-full ( datasources )
<subsystem xmlns="urn:jboss:domain:datasources:2.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> <datasource jta="true" jndi-name="java:/jdbc/uvms_audit" pool-name="jdbc/uvms_audit" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <security> <user-name>audit</user-name> <password>audit</password> </security> </datasource> <datasource jta="true" jndi-name="java:/jdbc/uvms_mobterm" pool-name="jdbc/uvms_mobterm" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <security> <user-name>mobterm</user-name> <password>mobterm</password> </security> </datasource> <datasource jta="true" jndi-name="java:/jdbc/uvms_movement" pool-name="jdbc/uvms_movement" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <transaction-isolation>TRANSACTION_REPEATABLE_READ</transaction-isolation> <security> <user-name>movement</user-name> <password>movement</password> </security> </datasource> <datasource jta="true" jndi-name="java:/jdbc/uvms_asset" pool-name="jdbc/uvms_asset" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <security> <user-name>asset</user-name> <password>asset</password> </security> </datasource> <datasource jta="true" jndi-name="java:jboss/datasources/uvms_vessel" pool-name="uvms" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <security> <user-name>uvms</user-name> <password>uvms</password> </security> </datasource> <datasource jta="true" jndi-name="java:/jdbc/uvms_exchange" pool-name="jdbc/uvms_exchange" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <security> <user-name>exchange</user-name> <password>exchange</password> </security> </datasource> <datasource jta="true" jndi-name="java:/jdbc/uvms_rules" pool-name="jdbc/uvms_rules" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <security> <user-name>rules</user-name> <password>rules</password> </security> </datasource> <datasource jta="true" jndi-name="java:jboss/datasources/uvms_usm" pool-name="uvms_usm" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <security> <user-name>usm</user-name> <password>usm</password> </security> </datasource> <datasource jta="true" jndi-name="java:/jdbc/USM2" pool-name="jdbc/USM2" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <security> <user-name>usm</user-name> <password>usm</password> </security> </datasource> <datasource jta="true" jndi-name="java:jboss/datasources/uvms_spatial" pool-name="uvms_spatial" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <security> <user-name>spatial</user-name> <password>postgres</password> </security> </datasource> <datasource jta="true" jndi-name="java:jboss/datasources/uvms_reporting" pool-name="uvms_reporting" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <security> <user-name>reporting</user-name> <password>reporting</password> </security> </datasource> <datasource jta="true" jndi-name="java:/jdbc/uvms_config" pool-name="jdbc/uvms_config" enabled="true" use-ccm="true"> <connection-url>jdbc:postgresql://localhost:5432/db71u</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql</driver> <security> <user-name>config</user-name> <password>config</password> </security> </datasource> <drivers> <driver name="h2" module="com.h2database.h2"> <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class> </driver> <driver name="postgresql" module="org.postgresql"> <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class> </driver> </drivers> </datasources> </subsystem>