Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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