tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaël Lams <>
Subject catalina.policy configuration problem
Date Mon, 09 Jan 2006 16:18:10 GMT
Hi all,

I want to start Tomcat using the security manager

I've an application that needs to have access to a folder outside the web
applications folder (which is /opt/jakarta/tomcat/webapps).

I added the following lines to the catalina.policy file:

// Permissions granted to access /var/opt/jakarta/tomcat/PROD/MAP.
grant codeBase "file:${catalina.home}/webapps/PROD/MAP/-" {
     permission "/var/opt/jakarta/tomcat",

But whenever the application is deployed, there is an access error when the
application tries to read a file in /var/opt/jakarta/tomcat/PROD/MAP (the
file system permissions are set recursively to tomcat.tomcat for all the

Am I missing?

Kind regards,


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message