context_.xml
1.85 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version='1.0' encoding='utf-8'?>
<Context antiJARLocking="true"
antiResourceLocking="false"
distributable="true"
reloadable="false" crossContext="false">
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<Manager pathname="" />
<!-- SVILUPPO -->
<!-- DATASOURCE -->
<Resource name="jdbc/dm-stage"
auth="Container"
description="DB Connection"
driverClass="com.mysql.jdbc.Driver"
initialPoolSize="2"
minPoolSize="2"
maxPoolSize="10"
acquireIncrement="2"
checkoutTimeout="3600"
breakAfterAcquireFailure="false"
maxIdleTimeExcessConnections = "30"
maxIdleTime = "1800"
maxConnectionAge="3600"
idleConnectionTestPeriod="200"
user="web103u1"
password="98c7EwXJS7"
factory="org.apache.naming.factory.BeanFactory"
type="com.mchange.v2.c3p0.ComboPooledDataSource"
jdbcUrl="jdbc:mysql://localhost:3306/web103db1?autoReconnect=true" />
<Resource name="jdbc/dm-master"
auth="Container"
description="DB Connection"
driverClass="com.mysql.jdbc.Driver"
initialPoolSize="2"
minPoolSize="2"
maxPoolSize="10"
acquireIncrement="2"
checkoutTimeout="3600"
breakAfterAcquireFailure="false"
maxIdleTimeExcessConnections = "30"
maxIdleTime = "1800"
maxConnectionAge="3600"
idleConnectionTestPeriod="200"
user="web103u2"
password="GOoRoTj5K5"
factory="org.apache.naming.factory.BeanFactory"
type="com.mchange.v2.c3p0.ComboPooledDataSource"
jdbcUrl="jdbc:mysql://localhost:3306/web103db2?autoReconnect=true" />
</Context>