You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Aline <al...@webcaster.fr> on 2002/02/21 11:00:13 UTC

catalina.policy

Hi list,

I'm using -security option when I' starting my tomcat 4.0 server.
I'd like to allow a web application to access files from another web application. So I have added those lines in my catalina.policy file : 

grant codeBase "myApp1" {  
 permission java.security.FilePermission "file:${catalina.home}/webapps/myApp2/-","read,write";
};

But I have a error when I'm starting my server.

Can anyone help me?

thanks

Aline
www.visiodrome.com
www.oeilpouroeil.fr