Errors using Struts2 and Tomcat Security on Ubuntu 9.04.
Here is a sample error:
java.security.AccessControlException: access denied (java.io.FilePermission /var/lib/tomcat6/webapps/struts2-mailreader-2.1.6/WEB-INF/database.xml.new write)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
Easy Answer:
Turn off Tomcats security manger. Change TOMCAT6_SECURITY=yes to TOMCAT6_SECURITY=no in /etc/init.d/tomcat6
Long Answer:
http://tomcat.apache.org/tomcat-6.0-doc/securityanager-howto.html
2009/06/19
Subscribe to:
Posts (Atom)