43 lines
968 B
XML
43 lines
968 B
XML
<Context>
|
|
<Resource
|
|
name="jdbc/postgresql"
|
|
driverClassName="org.postgresql.Driver"
|
|
|
|
auth="Container"
|
|
type="javax.sql.DataSource"
|
|
|
|
initialSize="3"
|
|
maxActive="10"
|
|
maxIdle="10"
|
|
maxWait="30000"
|
|
|
|
poolPreparedStatements="true"
|
|
|
|
testOnBorrow="true"
|
|
validationQuery="select 1"
|
|
|
|
username="postgres"
|
|
password="postgres"
|
|
url="jdbc:postgresql://localhost:5432/orbeon?useUnicode=true&characterEncoding=UTF8&socketTimeout=30&tcpKeepAlive=true"/>
|
|
<Resource
|
|
name="jdbc/postgresql"
|
|
driverClassName="org.postgresql.Driver"
|
|
|
|
auth="Container"
|
|
type="javax.sql.DataSource"
|
|
|
|
initialSize="3"
|
|
maxActive="10"
|
|
maxIdle="10"
|
|
maxWait="30000"
|
|
|
|
poolPreparedStatements="true"
|
|
|
|
testOnBorrow="true"
|
|
validationQuery="select 1"
|
|
|
|
username="postgres"
|
|
password="postgres"
|
|
url="jdbc:postgresql://localhost:5432/orbeon_mapper?useUnicode=true&characterEncoding=UTF8&socketTimeout=30&tcpKeepAlive=true"/>
|
|
</Context>
|