mark your context as privileged. just take a look at the manager.xml in
your webapps dir (privileged="true" is what you need):
<Context path="/manager" docBase="../server/webapps/manager"
debug="0" privileged="true">
<!-- Link to the user database we will get roles from -->
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
</Context>
Christian Traber wrote:
> Hi,
>
> I tried to use the HTMLManagerServlet in another virtual host but I
> get a SecurityException.
>
> java.lang.SecurityException: Servlet of class
> org.apache.catalina.servlets.HTMLManagerServlet is privileged and
> cannot be loaded by this web application
>
> How can I use the manager app for my virtual hosts?
>
> Regards,
> Christian
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
|