context.xml
1.14 KB
<?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="" />
<Resource name="jdbc/mwm_app"
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="web77u12"
password="Ghec56hj"
factory="org.apache.naming.factory.BeanFactory"
type="com.mchange.v2.c3p0.ComboPooledDataSource"
jdbcUrl="jdbc:mysql://mysql-jcluster.backplane:3306/web77db12?autoReconnect=true&characterEncoding=UTF-8" />
</Context>