Precompiled JSPs needs following additional permission if running with securitymanager: permission java.util.PropertyPermission "org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER", "read"; Please add this line in the sample policy file (catalina.policy) or change the code in org.apache.jasper.runtime.BodyContentImpl: private static final boolean LIMIT_BUFFER = Boolean.valueOf(System.getProperty("org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER", "false")).booleanValue();
I don't see LIMIT_BUFFER in the latest PageContextImpl, on either the Tomcat 5.0 or 5.5 branches. Is this still needed?
(In reply to comment #1) > I don't see LIMIT_BUFFER in the latest PageContextImpl, on either the Tomcat 5.0 > or 5.5 branches. Is this still needed? It's in class BodyContentImpl not in PageContextImpl. The above source line wasn't in 5.5.9 - it has been added after 5.5.9, I've seen it in 5.5.16, 5.5.17 and 5.5.20
This has been fixed in svn and will be in 5.5.24 and 6.0.14 onwards. Thanks for the report.