You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Maarten Dirkse <ma...@radium.jvb.tudelft.nl> on 2003/04/16 18:27:28 UTC
Tomcat 4.1.12 FilePermission problem
Hi,
I'm running a webapp under Tomcat 4.1.12 and I'm getting a FilePermission
read denied error. The application reads sql statements from a file called
statements.sql that resides in the WEB-INF directory of the app. The
catalina.policy file says that all webapps will be given read access to all
files in their document root, but obviously that is not the case, at least
not for this file. Adding an explicit FilePermission (permission
java.io.FilePermission
"${catalina.home}/webapps/hsvl/WEB-INF/sql.statements", "read";) doesn't
help either. Can anyone tell me what I should do to make this work?
Thanks in advance,
Maarten Dirkse.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org