cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5978] New: - Java SecurityManager java.lang.RuntimePermission createSecurityManager required for cocoon 2
Date Wed, 23 Jan 2002 14:04:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5978>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5978

Java SecurityManager java.lang.RuntimePermission createSecurityManager required for cocoon
2

           Summary: Java SecurityManager java.lang.RuntimePermission
                    createSecurityManager required for cocoon 2
           Product: Cocoon 2
           Version: 2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: glenn@apache.org


The class org.apache.cocoon.util.log.CocoonLogFormatter$CallStack
extends java.lang.SecurityManager.  The comments for this class
indicate that this is a hack to get a stack trace as an array of
classses.  But if you are running Cocoon 2 in a servlet container
such as Tomcat with the Java SecurityManager enabled this requires
that you grant the java.lang.RuntimePermission createSecurityManager
to cocoon in your policy file  This is a dangerous permission to grant.

This needs to be changed so that extending java.lang.SecurityManager
is not needed.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message