https://issues.apache.org/bugzilla/show_bug.cgi?id=46096
--- Comment #2 from Richard Evans <[EMAIL PROTECTED]> 2008-10-31 05:21:13 PST
---
As a temporary workround, I added a java.lang.RuntimePermission for JSPs to
catalina.policy.
I then had a different exception:
java.security.AccessControlException: access denied
(java.util.PropertyPermission
org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at
java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
at java.lang.System.getProperty(System.java:688)
at
org.apache.jasper.runtime.BodyContentImpl.<clinit>(BodyContentImpl.java:44)
at
org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:717)
at
org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:707)
I think the property access in BodyContentImpl also needs to run in a
privileged block. Or the class should be initialized at startup.
This probably should be a different bug?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]