[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] raq 550 servlet permissions



Looking through the list I can see this is a common
error, but can't see any solution.

this error comes up for all servlets:

java.security.AccessControlException: access denied
(java.io.FilePermission
/home/.sites/x/sitexx/web/roster/WEB-INF/classes read)

even though this is in the tomcat.policy file:
grant codeBase "file:/home/.sites/x/sitexx/web/-" {
  permission SocketPermission "localhost:1024-",
"listen,connect,resolve";
  permission java.util.PropertyPermission "*",
"read,write";
  permission java.io.FilePermission
"/home/.sites/x/sitexx/-", "read,write,delete";
  permission java.lang.RuntimePermission
"accessClassInPackage.sun.io";
};

I can't see anything wrong with it - server has been
restarted, etc, it just keeps up with the same
permissions error

Is there a secure way to fix this? 


=====

--

Ursula


http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.