-
Notifications
You must be signed in to change notification settings - Fork 2
/
eap_configuration.yml.j2
41 lines (41 loc) · 1.66 KB
/
eap_configuration.yml.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
wildfly-configuration:
subsystem:
datasources:
jdbc-driver:
postgresql:
driver-name: postgresql
driver-xa-datasource-class-name: org.postgresql.xa.PGXADataSource
driver-module-name: org.postgresql
driver-class-name: org.postgresql.Driver
data-source:
PostgreSQLDS:
enabled: true
exception-sorter-class-name: org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter
jndi-name: java:jboss/datasources/{{ postgres.jndi_ds }}
jta: true
max-pool-size: 20
min-pool-size: 0
connection-url: "jdbc:postgresql://{{ (groups['pgsql'][0] if groups['pgsql'] | length > 0 else 'localhost') }}:5432/{{ postgres.db_name }}"
driver-name: postgresql
user-name: {{ postgres.user.name }}
password: {{ postgres.user.password }}
validate-on-match: true
background-validation: false
background-validation-millis: 10000
flush-strategy: FailingConnectionOnly
stale-connection-checker-class-name: org.jboss.jca.adapters.jdbc.extensions.novendor.NullStaleConnectionChecker
valid-connection-checker-class-name: org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker
transaction-isolation: TRANSACTION_READ_COMMITTED
modcluster:
proxy:
default:
advertise-socket: modcluster
proxies:
- proxy1
listener: ajp
socket-binding-group:
standard-sockets:
remote-destination-outbound-socket-binding:
proxy1:
host: {{ groups['jbcs'][0] }}
port: 6666