Harry Long a écrit :

> Hi Cox,
>
> Thanks for your answer. But I did do that and it does not work at all.
>
> In my server.xml , I have :
> <Context path="/manager" docBase="manager" debug="0" privileged="true" />
>
> In my apache httpd.conf, I have:
>
> WebAppDeploy manager WarpConnection /manager.
>
> But when I try to run http://localhost/manager?list it crashed and I got
> that
> inner error.  Would you please tell me how you make it works ?
>
> Many thanks
> Harry
>
> -----Original Message-----
> From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 01, 2002 10:19 AM
> To: 'Tomcat Users List'
> Subject: RE: Problem with Manager App
>
> you need to define the manager context for each virtual host.
>
> also make sure it has privileged="true"
>
> Charlie
>
> > -----Original Message-----
> > From: Harry Long [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 01, 2002 10:42 AM
> > To: [EMAIL PROTECTED]
> > Subject: Problem with Manager App
> >
> >
> > Hi I just wonder anyone can please tell me how I should configure
> > the Manager App. There is no any problem of using Manager App
> > when Tomcat is running as a stand alone server. But when I run it
> > under Apache and using MOD_WEBAPP as connnector. I got
> > some inner problem. These are the error messages when I run
> > the Manager App.
> > (I tried to reload a servlet via Manager App. Even I have set
> > reloadable
> > attribute
> > to 'true' in the context, it doesn't work at all for me. I am
> > running Tomcat
> > 4.0.1
> > under Apache1.3.22 on Linux 7.2 )
> >
> > message Internal Server Error
> > description The server encountered an internal error
> > (Internal Server Error)
> > that prevented it from fulfilling this request.
> >
> > java.lang.SecurityException: Servlet of class
> > org.apache.catalina.servlets.ManagerServlet is privileged and
> > cannot be
> > loaded by this web application
> >       at
> > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.
> > java:836)
> >       at
> > org.apache.catalina.core.StandardWrapper.allocate(StandardWrap
> > per.java:615)
> >       at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.ja
> > va:214)
> >       at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> >       at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> >       at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >       at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.ja
> > va:201)
> >       at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> >       at
> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
> > henticatorBase
> > .java:518)
> >       at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> >       at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> >       at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >       at
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:2344)
> >       at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java:164
> > )
> >       at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> >       at
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > spatcherValve.
> > java:170)
> >       at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> >       at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > Valve.java:170
> > )
> >       at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> >       at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> >       at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >       at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > gineValve.java
> > :163)
> >       at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> >       at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> >       at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >       at
> > org.apache.catalina.connector.warp.WarpRequestHandler.handle(W
> > arpRequestHand
> > ler.java:215)
> >       at
> > org.apache.catalina.connector.warp.WarpConnection.run(WarpConn
> > ection.java:19
> > 4)
> >       at java.lang.Thread.run(Thread.java:484)
> >
> > Many thanks for any help you can give.
> >
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

I guess this is because of the Privileged="true"...

I've got exactly the same Pb.

Jean-Luc B :O)



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to