Created
November 6, 2015 20:56
-
-
Save jamiejackson/cecd18a8bf9b01ca051b to your computer and use it in GitHub Desktop.
Tomcat 8: Allow Symlinks and Disable Jar Scanning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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