更新时间:2023-09-10 22:08:22
假定您使用的是现有的Ubuntu Tomcat,默认情况下,安全管理器将锁定所有内容.建议您阅读此页面:
Assuming you are using the stock Ubuntu Tomcat, everything is locked down by the security manager by default. Suggest you read this page:
http://tomcat.apache.org/tomcat -6.0-doc/security-manager-howto.html
并了解其工作原理.您需要对$CATALINA_BASE/conf/catalina.policy
文件进行更改,以授予访问权限,让您的Web应用程序位于文件系统上.
and get a grasp on how it works. You'll need to make changes to $CATALINA_BASE/conf/catalina.policy
file, granting access where your webapp is located on the filesystem.