You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/05/27 14:55:28 UTC

[Bug 55019] New: failed to compile under security manager

https://issues.apache.org/bugzilla/show_bug.cgi?id=55019

            Bug ID: 55019
           Summary: <jsp:include page="blabla" flush="true"/> failed to
                    compile under security manager
           Product: Tomcat 6
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: jfclere@gmail.com

Created attachment 30328
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30328&action=edit
Patch to fix the problem

With 2 JSP on including the other with <jsp:include page="blabla"
flush="true"/>
you get:
java.lang.RuntimePermission accessClassInPackage.org.apache.coyote.http11 when
calling the jsp the first time subsequent requests are working.

-- 
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


[Bug 55019] failed to compile under security manager

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55019

--- Comment #1 from jfclere <jf...@gmail.com> ---
Created attachment 30329
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30329&action=edit
Simple webapp to show the problem

extract jar in webapp
start tomcat
bin/catalina.sh start -security
curl -v curl -v http://localhost:8080/smtest/test.jsp
error
curl -v curl -v http://localhost:8080/smtest/test.jsp
ok

-- 
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


[Bug 55019] failed to compile under security manager

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55019

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30328|0                           |1
           is patch|                            |

-- 
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


[Bug 55019] failed to compile under security manager

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55019

--- Comment #2 from jfclere <jf...@gmail.com> ---
Created attachment 30336
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30336&action=edit
patch on SecurityClassLoad

-- 
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


[Bug 55019] failed to compile under security manager

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55019

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30328|0                           |1
        is obsolete|                            |

-- 
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


[Bug 55019] failed to compile under security manager

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55019

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30336|0                           |1
           is patch|                            |

-- 
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


[Bug 55019] failed to compile under security manager

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55019

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Patch applied to 6.0.x. This will be included in 6.0.38 onwards.

-- 
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