Rev 253 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 207 | espaco | 1 | <?xml version='1.0' encoding='utf-8'?> |
| 2 | <Context debug="true" reloadable="true" crossContext="true" antiJARLocking="true"> |
||
| 242 | espaco | 3 | <!-- |
| 4 | <Resource name="jdbc/sistemaEC2" auth="Container" |
||
| 5 | factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" |
||
| 6 | type="javax.sql.DataSource" |
||
| 207 | espaco | 7 | |
| 242 | espaco | 8 | initialSize="5" minIdle="5" maxActive="15" maxIdle="10" |
| 9 | |||
| 10 | testWhileIdle="true" |
||
| 11 | timeBetweenEvictionRunsMillis="30000" |
||
| 12 | testOnBorrow="true" |
||
| 13 | validationQuery="SELECT 1" |
||
| 14 | validationInterval="30000" |
||
| 15 | |||
| 16 | driverClassName="org.postgresql.Driver" |
||
| 17 | url="jdbc:postgresql://localhost:5432/espacocase" |
||
| 18 | username="espacoc_sc_sec" password="espaco10" |
||
| 19 | /> |
||
| 20 | --> |
||
| 21 | |||
| 22 | <Resource name="jdbc/sistemaEC" auth="Container" |
||
| 23 | type="javax.sql.DataSource" driverClassName="org.postgresql.Driver" |
||
| 253 | espaco | 24 | url="jdbc:postgresql://localhost:5432/espacoc_db" |
| 319 | espaco | 25 | initialSize="3" maxActive="100" maxWait="10000" |
| 244 | espaco | 26 | minEvictableIdleTimeMillis="60000" timeBetweenEvictionRunsMillis="10000" |
| 27 | removeAbandoned = "true" removeAbandonedTimeout = "180" |
||
| 242 | espaco | 28 | username="espacoc_sc_sec" password="espaco10" /> |
| 29 | |||
| 30 | <Resource name="jdbc/sisEC2" auth="Container" |
||
| 207 | espaco | 31 | type="javax.sql.DataSource" driverClassName="org.postgresql.Driver" |
| 32 | url="jdbc:postgresql://localhost:5432/espacocase" |
||
| 33 | maxActive="20" maxIdle="10" maxWait="-1" |
||
| 34 | username="espacoc_sc_sec" password="espaco10" /> |
||
| 35 | |||
| 36 | <Resource name="jdbc/sisDS" auth="Container" |
||
| 37 | type="javax.sql.DataSource" driverClassName="org.postgresql.Driver" |
||
| 38 | url="jdbc:postgresql://localhost:5432/espacocase" |
||
| 39 | maxActive="20" maxIdle="10" maxWait="-1" |
||
| 40 | username="sc_sec" password="sc_sec" /> |
||
| 41 | |||
| 42 | <Resource name="jdbc/sisRB" auth="Container" |
||
| 43 | type="javax.sql.DataSource" driverClassName="org.postgresql.Driver" |
||
| 44 | url="jdbc:postgresql://localhost:5432/ranchoveiodabarra" |
||
| 45 | maxActive="20" maxIdle="10" maxWait="-1" |
||
| 46 | username="sc_sec" password="sc_sec" /> |
||
| 47 | |||
| 48 | <!-- |
||
| 49 | |||
| 50 | <Resource name="jdbc/sisDS" auth="Container" |
||
| 51 | type="javax.sql.DataSource" driverClassName="org.postgresql.Driver" |
||
| 52 | url="jdbc:postgresql://174.142.226.43:5432/espacocase" maxActive="20" maxIdle="10" maxWait="-1" |
||
| 53 | username="sc_sec" password="sc_sec" /> |
||
| 54 | --> |
||
| 55 | |||
| 56 | <!-- validationQuery="select sysdate from dual" --> |
||
| 57 | </Context> |