I would like an directory under the webapp/myapp directory to have
read,write,delete file permissions. Currently I am getting an Exception;

   java.lang.SecurityException: sealing violation

when I try to create a File Object from the file in my application. I cant
get the catalina.policy to open it up;

      grant codeBase "file:${catalina.home}/webapps/myapp/-" 
      {
        permission java.io.FilePermission
"${catalina.home}/webapps/myapp/myopendirectory/-", "read,write,delete";
      };

Does the "/-" mean 'and all sub-directories'? I am totally confused on all
this and couldnt find any documentation on it.






Cameron Riley




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

Reply via email to