I'm working on a web application using Tomcat 8 and I've been trying to get a custom session manager working. The problem is that I can't get Tomcat to recognize my context.xml
file that contains the <Manager .../>
config.
My server.xml
looks like this:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="false">
<Context path="" docBase="/var/www/" override="true" reloadable="false" />
I've tried putting my context.xml
into /var/www/META-INF
and in /var/www/WEB-INF/META-INF
. I've also tried putting my <Manager .../>
configuration under the Context element in the server.xml shown above, and that does work, but the docs advice against putting things in there.