Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <Context allowCasualMultipartParsing="true">
- <Resource
- name="jdbc/postgres"
- auth="Container"
- type="javax.sql.DataSource"
- driverClassName="org.postgresql.Driver"
- url="jdbc:postgresql://localhost/hispy"
- username="postgres" password="dgtic123"
- initialSize ="3"
- maxTotal="300" maxIdle="10" maxWaitMillis="30000"
- closeMethod="close"
- validationQuery="SELECT 1"
- validationQueryTimeout="5"
- removeAbandonedOnBorrow="true"
- removeAbandonedOnMaintenance="true"
- removeAbandonedTimeout="60"
- logAbandoned="true"
- />
- <Resource
- name="jdbc/postgresPolicia"
- auth="Container"
- type="javax.sql.DataSource"
- driverClassName="org.postgresql.Driver"
- url="jdbc:postgresql://localhost/policia"
- username="postgres" password="dgtic123"
- initialSize ="3"
- maxTotal="300" maxIdle="10" maxWaitMillis="30000"
- closeMethod="close"
- validationQuery="SELECT 1"
- validationQueryTimeout="5"
- removeAbandonedOnBorrow="true"
- removeAbandonedOnMaintenance="true"
- removeAbandonedTimeout="60"
- logAbandoned="true"
- />
- </Context>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement