Rev 207 | Rev 244 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 207 | Rev 242 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | <?xml version='1.0' encoding='utf-8'?>
|
1 | <?xml version='1.0' encoding='utf-8'?>
|
| 2 | <Context debug="true" reloadable="true" crossContext="true" antiJARLocking="true">
|
2 | <Context debug="true" reloadable="true" crossContext="true" antiJARLocking="true">
|
| - | 3 | <!--
|
|
| - | 4 | <Resource name="jdbc/sistemaEC2" auth="Container"
|
|
| - | 5 | factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
|
|
| - | 6 | type="javax.sql.DataSource"
|
|
| 3 | 7 | ||
| 4 | <Resource name="jdbc/sisEC" auth="Container"
|
- | |
| - | 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"
|
|
| - | 24 | url="jdbc:postgresql://localhost:5432/espacocase"
|
|
| - | 25 | validationInterval="30000" timeBetweenEvictionRunsMillis="30000"
|
|
| - | 26 | maxActive="3000" minIdle="10" maxWait="10000" initialSize="10"
|
|
| - | 27 | minEvictableIdleTimeMillis="30000" jmxEnabled="true"
|
|
| - | 28 | username="espacoc_sc_sec" password="espaco10" />
|
|
| - | 29 | ||
| - | 30 | <Resource name="jdbc/sisEC2" auth="Container"
|
|
| 5 | type="javax.sql.DataSource" driverClassName="org.postgresql.Driver"
|
31 | type="javax.sql.DataSource" driverClassName="org.postgresql.Driver"
|
| 6 | url="jdbc:postgresql://localhost:5432/espacocase"
|
32 | url="jdbc:postgresql://localhost:5432/espacocase"
|
| 7 | maxActive="20" maxIdle="10" maxWait="-1"
|
33 | maxActive="20" maxIdle="10" maxWait="-1"
|
| 8 | username="espacoc_sc_sec" password="espaco10" />
|
34 | username="espacoc_sc_sec" password="espaco10" />
|
| 9 | 35 | ||