well, that error also seems to occur when manager context is not defined.

are you using apache? if so you have to also list it under the tomcat-apache
service, not just tomcat-standalone service in server.xml.

you shouldn't have to do anything for web.xml. 

I'm not sure about catalina.policy. Do you allow the servlet defined in
web.xml?

Charlie

> -----Original Message-----
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 21, 2002 3:08 PM
> To: Tomcat Users List
> Subject: RE: Is anyone using manager for virtual hosts?
> 
> 
> 
> 
> 
> I have done that, do I need to do anything special with the 
> web.xml file or
> the catalina.policy file?  I have added the user and role to
> tomcat-users.xml inside the conf directory.
> 
> Still getting the following error.
> 
> java.lang.SecurityException: Servlet of class
> org.apache.catalina.servlets.HTMLManagerServlet is privileged 
> and cannot be
> loaded by this web application
> 
> What makes this a priveleged servlet and how can I change it?
> 
> I found this information...
> 
> "This package contains Servlets that implement some of the standard
> functionality provided by the Catalina servlet container. 
> Because these
> servlets are in the org.apache.catalina package hierarchy, 
> they are in the
> privileged position of being able to reference internal server data
> structures, which application level servlets are prevented 
> from accessing
> (by the application class loader implementation)."
> 
> I think that when I am defining the context within my virtual 
> host it is
> thinking that it is an application level servlet and can't 
> reference what it
> needs.
> 
> I have set it to priveleged in my context but it seems to ignore that
> setting.
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 21, 2002 12:52 PM
> To: 'Tomcat Users List'
> Subject: RE: Is anyone using manager for virtual hosts?
> 
> 
> you have to define the Manager context for each virtual host. 
> You do not
> need to copy any files for the manager app.
> 
> Charlie
> 
> > -----Original Message-----
> > From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 21, 2002 1:22 PM
> > To: Tomcat Users List
> > Subject: Is anyone using manager for virtual hosts?
> >
> >
> > Do I have to copy the entire webapp into each virtual host's
> > appbase or will
> > it be enough to just add the context definition?  I have
> > added the context
> > definition, but am getting a servlet error that says 
> ManagerServlet is
> > priveleged and can't be loaded.
> >
> >
> >
> > -----Original Message-----
> > From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 21, 2002 9:53 AM
> > To: Tomcat Users List
> > Subject: Manager problem (Priveleged Servlets?) with Virtual Hosts
> >
> >
> > This is my first attempt at using the manager and I am having
> > some problems.
> > I can use the manager if I access the localhost.  It shows me
> > everything
> > installed into the webapps folder.
> >
> > I am trying to set up the manager for each virtual host but 
> am having
> > problems.  I have entered the context definition for the
> > <Host> like this...
> >
> > <Context path="/manager"
> > docBase="/usr/local/tomcat4112/server/webapps/manager" debug="9"
> > priveleged="true"/>
> >
> > After logging into the manager, I get the following error...
> >
> >
> > "ManagerServlet is privileged and cannot be loaded"
> >
> > Is there some other security setting I need to change to make
> > this work?
> >
> >
> >
> >
> > --
> > 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]>
> >
> 
> --
> 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]>
> 
> 
> 
> --
> 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]>

Reply via email to