<!-- The contents of this file will be loaded for each web application -->
<Context distributable="true" className="org.apache.catalina.ha.context.ReplicatedContext">

    <!-- Default set of monitored resources -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>

    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
    
    <Manager pathname="" className="org.apache.catalina.ha.session.SimpleTcpReplicationManager" />


    <!-- Uncomment this to enable Comet connection tacking (provides events
         on session expiration as well as webapp lifecycle) -->
    <!--
    <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
    -->
     <Resource name="jdbc/rmsDataSource" auth="Container" type="javax.sql.DataSource"
              maxActive="100" maxIdle="30" maxWait="10000"
              removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"
              username="postgres" password="" driverClassName="org.postgresql.Driver"
              url="jdbc:postgresql://192.168.123.160:5432/RMS"/>
</Context>
