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="1"
minPoolSize="1"
maxPoolSize="15"
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://mysql-jcluster.backplane:3306/web77db12?autoReconnect=true&characterEncoding=UTF-8" />
</Context>