Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jamiejackson
Created November 6, 2015 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamiejackson/cecd18a8bf9b01ca051b to your computer and use it in GitHub Desktop.
Save jamiejackson/cecd18a8bf9b01ca051b to your computer and use it in GitHub Desktop.
Tomcat 8: Allow Symlinks and Disable Jar Scanning
--- context.xml.20151105_160437.bak 2015-07-08 14:56:35.000000000 -0500
+++ context.xml 2015-11-05 17:59:41.063050250 -0600
@@ -17,6 +17,7 @@
-->
<!-- The contents of this file will be loaded for each web application -->
<Context useHttpOnly="true">
+ <Resources allowLinking="true" />
<!-- Default set of monitored resources. If one of these changes, the -->
<!-- web application will be reloaded. -->
@@ -24,13 +25,13 @@
<WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
<!-- 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" />
-->
+
+ <JarScanner scanClassPath="false" />
</Context>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment