I just started working with a raq550 and am having problems.
I have a servlet that uses one external jar file. I installed the
servlet
according to the 'simple' instructions. Step 1 place the class file in
the
{site}/WEB-INF/classes directory. Step 2 place the jar library in the
{site}/WEB-INF/lib directory. Step 3 restart the web service. Upon
checking the servlet, I get the following error
java.security.AccessControlException: access denied
(java.io.FilePermission /home/.sites/28/site1/web/WEB-INF/classes read)
I know this means I have to set some security policy up but I have no
idea
what to set up. I tried putting:
grant codeBase "file:/home/.sites/28/site1/web/WEB-INF/classes/-"{
permission java.security.AllPermission;
}
in 2 different places according to what I've read -
/usr/java/jakarta-tomcat/conf/tomcat.policy.custom and
/usr/java/jakarta-tomcat/conf/tomcat.policy (after the first method
didn't work)
I only have (and plan on having) a single site up on this box and
blowing the security
is less of an issue since it's an internal-only machine.
What could I be doing wrong?
Greg Davis
_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers
- Re: [cobalt-developers] Help with external jars/servlets... Greg Davis
- Re: [cobalt-developers] Help with external jars/ser... Wouter van Reeven
- Re: [cobalt-developers] Help with external jars... Greg Davis
- [cobalt-developers] Knox Arkeria?? David Smulsky
- [cobalt-developers] FrontPage 2002 Exte... Your Own ISP
- Re: [cobalt-developers] FrontPage ... Matthew Nuzum
- RE: [cobalt-developers] FrontP... Your Own ISP
- Re: [cobalt-developers] Knox Arkeria?? ed mildenberger
- Re: [cobalt-developers] Knox Arker... David Smulsky
