[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] raq 550 servlet permissions
- Subject: [cobalt-developers] raq 550 servlet permissions
- From: Ursula <ursulasays@xxxxxxxxxxxx>
- Date: Sat Mar 29 21:19:01 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
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.