Author: markt Date: Mon Aug 12 16:01:39 2013 New Revision: 1513178 URL: http://svn.apache.org/r1513178 Log: Add a JarScanFilter configuration to skip the JARs that contain SCIs but no TLDs
Modified: tomcat/trunk/conf/context.xml Modified: tomcat/trunk/conf/context.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/conf/context.xml?rev=1513178&r1=1513177&r2=1513178&view=diff ============================================================================== --- tomcat/trunk/conf/context.xml (original) +++ tomcat/trunk/conf/context.xml Mon Aug 12 16:01:39 2013 @@ -34,4 +34,16 @@ <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" /> --> + <!-- Tomcat 8 uses SCIs to initialise both JSP and WebSocket support. --> + <!-- This means that neither jasper.jar nor tomcat-websocket.jar can be --> + <!-- excluded from SCI scanning. Therefore, they do not appear in the --> + <!-- default list of JARs to skip. However, they do not contain TLDs so --> + <!-- they can be skipped for TLD scanning. The JarScanFilter below --> + <!-- configures a custom TLD skip list that is all the default JARs plus --> + <!-- these two. --> + <JarScanner> + <JarScanFilter + tldSkip="${tomcat.util.scan.StandardJarScanFilter.jarsToSkip}, + jasper.jar,tomcat-websocket.jar"/> + </JarScanner> </Context> \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org