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 java.io.FilePermission "/var/opt/jakarta/tomcat", "read,write,delete"; }; 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 folder). Am I missing? Kind regards, Gaël