<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (C) 2003-2017 eXo Platform SAS.

    This file is part of eXo Platform Public Distributions - Tomcat Resources.

    eXo Platform Public Distributions - Tomcat Resources is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 3 of
    the License, or (at your option) any later version.

    eXo Platform Public Distributions - Tomcat Resources software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with eXo Platform Public Distributions - Tomcat Resources; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see <http://www.gnu.org/licenses/>.

-->
<!-- The contents of this file will be loaded for each web application -->
<Context reloadable="${EXO_DEV}" crossContext="true" sessionCookiePath="/" xmlValidation="false" xmlNamespaceAware="false" unpackWAR="${EXO_TOMCAT_UNPACK_WARS}">

  <!-- Default set of monitored resources. If one of these changes, the    -->
  <!-- web application will be reloaded.                                   -->
  <WatchedResource>WEB-INF/web.xml</WatchedResource>
  <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>

  <JarScanner scanClassPath="false" scanManifest="false">
  </JarScanner>

  <!-- Disable session persistence across Tomcat restarts -->
  <Manager pathname="" />

  <!--<Valve className="org.gatein.sso.agent.tomcat.ServletAccessValve" asyncSupported="true"/>-->
  <!-- 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>
