You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Francois JEANMOUGIN <Fr...@123multimedia.com> on 2003/12/22 16:12:07 UTC
Permission Denied in tomcat4
I have this strange error in tomcat4 :
java.security.AccessControlException: access denied
(java.util.PropertyPermission catalina.base read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1276)
at java.lang.System.getProperty(System.java:573)
at org.apache.catalina.startup.HostConfig.appBase(HostConfig.java:376)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:394)
at org.apache.catalina.startup.HostConfig.run(HostConfig.java:851)
at java.lang.Thread.run(Thread.java:534)
It is an application that try to access a RMi server. Anyway the error occurs before any connection to the Server, and after displaying the page (say, when going out from the servlet).
I have a fairly unsecure and completely open Catalina.policy :
/* AUTOMATICALLY GENERATED ON Fri Dec 19 10:41:57 CET 2003*/
/* DO NOT EDIT */
grant {
permission java.security.AllPermission;
};
Where can I find what kind of resource tomcat try to access ? Thanks for any help.
François.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org