context.xml
1.45 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
<?xml version='1.0' encoding='utf-8'?>
<Context antiJARLocking="true"
antiResourceLocking="false"
distributable="true"
reloadable="false" crossContext="false">
<Parameter name="localhost" value="yes" override="true" />
<Parameter name="localhost.database" value="web77db12" override="true" />
<Parameter name="localhost.environment" value="jcluster" override="true" />
<Parameter name="localhost.context" value="mwm.ctsapplications.it/adt" override="true" />
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<Manager pathname="" />
<!-- ADT -->
<Resource name="jdbc/mwm_app"
auth="Container"
description="DB Connection"
driverClass="com.mysql.jdbc.Driver"
initialPoolSize="1"
minPoolSize="1"
maxPoolSize="10"
acquireIncrement="1"
checkoutTimeout="10000"
breakAfterAcquireFailure="false"
maxIdleTimeExcessConnections = "15"
maxIdleTime = "30"
maxConnectionAge="120"
idleConnectionTestPeriod="30"
user="web77u12"
password="Ghec56hj"
factory="org.apache.naming.factory.BeanFactory"
type="com.mchange.v2.c3p0.ComboPooledDataSource"
jdbcUrl="jdbc:mysql://localhost:3306/web77db12?autoReconnect=true&characterEncoding=UTF-8" />
</Context>