Which Tomcat version are you using (works for me with 4.1/5.0)? From the
error you have provided, seems you are trying to get access to class
ManagerServlet from one of your class. ManagerServlet class is package
protected by Tomcat when running with the security manager (your case).
If you want to use it (and open a possible SECURITY hole), add this to
your catalina.policy:
permission java.lang.RuntimePermission
accessClassInPackage.org.apache.catalina.servlets.;
At your own risk :-)
-- Jeanfrancois
Durham David Cntr 805CSS/SCBE wrote:
Hello,
I'm trying to use the manager app but recieve the following error:
java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application
Did some looking around and the only thing I can come up with is changing the catalina.policy file. So I added:
grant codeBase file:${catalina.home}/webapps/manager/- {
permission java.security.AllPermission;
};
to catalina.policy, but that did not fix it.
Has anyone seen this before and no what the problem is?
Thanks,
David Durham
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]