Last active
September 17, 2015 18:26
-
-
Save marcioviegas/f4b3a9645e24cfa4e5ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- The contents of this file will be loaded for each web application --> | |
<Context> | |
<!-- Default set of monitored resources --> | |
<WatchedResource>WEB-INF/web.xml</WatchedResource> | |
<Resource name="jdbc/web" auth="Container" type="javax.sql.DataSource" maxActive="100" | |
maxIdle="30" maxWait="10000" username="<%= db_user %>" password="<%= db_password %>" driverClassName="com.mysql.jdbc.Driver" | |
url="jdbc:mysql://<%= db_host %>:3306/<%= db_schema %>"/> | |
<Resource name="jdbc/secure" auth="Container" type="javax.sql.DataSource" maxActive="100" | |
maxIdle="30" maxWait="10000" username="<%= db_user %>" password="<%= db_password %>" driverClassName="com.mysql.jdbc.Driver" | |
url="jdbc:mysql://<%= db_host %>:3306/<%= db_schema %>"/> | |
<Resource name="jdbc/storage" auth="Container" type="javax.sql.DataSource" maxActive="100" | |
maxIdle="30" maxWait="10000" username="<%= db_user %>" password="<%= db_password %>" driverClassName="com.mysql.jdbc.Driver" | |
url="jdbc:mysql://<%= db_host %>:3306/<%= db_schema %>"/> | |
<!-- Uncomment this to disable session persistence across Tomcat restarts --> | |
<!-- | |
<Manager pathname="" /> | |
--> | |
<!-- Uncomment this to enable Comet connection tacking (provides events | |
on session expiration as well as webapp lifecycle) --> | |
<!-- | |
<Valve className="org.apache.catalina.valves.CometConnectionManagerValve" /> | |
--> | |
</Context> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment