tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cox, Charlie" <c...@cincom.com>
Subject RE: Problem with Manager App
Date Fri, 01 Feb 2002 18:41:03 GMT
privileged="true" simply allows the servlet to call tomcat internal
functions. it is a security feature so that you can control what can talk to
the tomcat internals.

I am not using mod_webapp, but I have received that error('Manager is
privileged...') when I tried to access manager from a virtual host where I
did not have the manager context defined in server.xml.

a quick look at server.xml - did you define it for your tomcat-apache
service as well as the tomcat-standalone service in server.xml? 

Charlie

> -----Original Message-----
> From: Jean-Luc BEAUDET [mailto:beaudet@toolchest.cyber.kodak.com]
> Sent: Friday, February 01, 2002 12:54 PM
> To: Tomcat Users List
> Subject: Re: Problem with Manager App
> 
> 
> 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:ccox@cincom.com]
> > 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:hlong@ServiceIntelligence.com]
> > > Sent: Friday, February 01, 2002 10:42 AM
> > > To: tomcat-user@jakarta.apache.org
> > > 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:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

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

I've got exactly the same Pb.

Jean-Luc B :O)



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message