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 2003/12/05 13:01:39 UTC

DO NOT REPLY [Bug 25238] New: - codebase in catalina.policy doesn't work

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=25238>.
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=25238

codebase in catalina.policy doesn't work

           Summary: codebase in catalina.policy doesn't work
           Product: Tomcat 4
           Version: 4.1.29
          Platform: PC
        OS/Version: Windows 9x
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: avogt@skillsonline.de


I start Tomcat 4.1.29 with 
startup -security

The testing page, /test/test.jsp,
invokes a method from a class in test.jar.
The method reads the "user.home" system property.

This works with a grant statement without codebase.
It does not work with a grant statement which specifies the test.jar file
as codebase.
I have tried several variants of writing the codebase. None worked.

I will attach my catalina.policy (my additions at the end of the file)
and test.war files

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org