tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48323] New: AccessControlException on AJP connector, in security mode
Date Tue, 01 Dec 2009 23:57:29 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48323

           Summary: AccessControlException on AJP connector, in security
                    mode
           Product: Tomcat 6
           Version: 6.0.20
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: alexis.hassler@sewatech.fr


I started Tomcat in security mode. Everything is fine when accessing via an
HTTP connector, either directly or via a reverse proxy. If I first access via
an AJP connector, I have the following exception :

    java.security.AccessControlException: access denied
(java.lang.RuntimePermission accessClassInPackage.org.apache.coyote)
       
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
       
java.security.AccessController.checkPermission(AccessController.java:546)
        java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
        java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1512)
        sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:298)
        java.lang.ClassLoader.loadClass(ClassLoader.java:300)
        java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        org.apache.jk.common.JkInputStream.appendHead(JkInputStream.java:283)
        org.apache.jk.core.MsgContext.action(MsgContext.java:266)
        org.apache.coyote.Response.action(Response.java:183)
        org.apache.coyote.Response.sendHeaders(Response.java:379)
       
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:305)
        org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:273)
       
org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:104)
        ...

This exception happens only at the first call. The second call is OK.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message