sedj
Programmer
- Aug 6, 2002
- 5,610
Hello people,
I am getting the below error on Tomcat which is hosted on a "buy web space on our server" type outfit :
java.security.AccessControlException: access denied (java.io.FilePermission /home/.sites/5/site513/web/WEB-INF/classes read)
This occurs when I am invoking a servlet from a jsp page. I'm thinking that the error is (obviously) due to the permissions on directories which the servlet is trying to access (or rather lying in), but am unsure of how to negate the error. I've tryed adding a .java.policy file in my home directory on their server, and tryed fiddling about with various java.security and java.io permission classes, but to no avail ... in the past I've always done servlet stuff on my machine at home, so am in a new world with this "remote-hosting on someone else's server" type malarky ... any ideas ?!
Is this something I need to add myself - or are permissions on my directories on their Sun Cobalt server incorrectly set up.
Thanks,
Ben
I am getting the below error on Tomcat which is hosted on a "buy web space on our server" type outfit :
java.security.AccessControlException: access denied (java.io.FilePermission /home/.sites/5/site513/web/WEB-INF/classes read)
This occurs when I am invoking a servlet from a jsp page. I'm thinking that the error is (obviously) due to the permissions on directories which the servlet is trying to access (or rather lying in), but am unsure of how to negate the error. I've tryed adding a .java.policy file in my home directory on their server, and tryed fiddling about with various java.security and java.io permission classes, but to no avail ... in the past I've always done servlet stuff on my machine at home, so am in a new world with this "remote-hosting on someone else's server" type malarky ... any ideas ?!
Is this something I need to add myself - or are permissions on my directories on their Sun Cobalt server incorrectly set up.
Thanks,
Ben