DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.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://issues.apache.org/bugzilla/show_bug.cgi?id=25238

codebase in catalina.policy doesn't work

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Windows 9x                  |Windows XP



------- Additional Comments From [EMAIL PROTECTED]  2004-06-25 22:09 -------
I can reproduce this under WinXP on TC4 and TC5.

I have a simple test application that is deployed in exploded form. A JSP 
contains a single call to <%=test.Bug25238.getUserHome() %>

The class is located at ${catalina.home}/webapps/Bugfix/WEB-
INF/classes/test/Bug25238.class
(as expected)

This enables the JSP to work:
grant codeBase "file:${catalina.home}/webapps/Bugfix/-" {
    permission java.util.PropertyPermission "user.home", "read";
};

This one doesn't:
grant codeBase "file:${catalina.home}/webapps/Bugfix/WEB-INF/classes/-" {
    permission java.util.PropertyPermission "user.home", "read";
};

I have tried various combinations and it seems that any codeBase below 
the /webapps/Bugfix/ gets ignored.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to