Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 37970 invoked from network); 1 Feb 2002 18:42:06 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Feb 2002 18:42:06 -0000 Received: (qmail 14160 invoked by uid 97); 1 Feb 2002 18:41:37 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 14144 invoked by uid 97); 1 Feb 2002 18:41:37 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 14133 invoked from network); 1 Feb 2002 18:41:36 -0000 Message-ID: <399E1F52E73BD41194A800D0B74A08AB01E4D6C8@skipper.cincom.com> From: "Cox, Charlie" To: 'Tomcat Users List' Subject: RE: Problem with Manager App Date: Fri, 1 Feb 2002 13:41:03 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.89) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N privileged=3D"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?=20 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 >=20 >=20 > Harry Long a =E9crit : >=20 > > Hi Cox, > > > > Thanks for your answer. But I did do that and it does not=20 > work at all. > > > > In my server.xml , I have : > > privileged=3D"true" /> > > > > In my apache httpd.conf, I have: > > > > WebAppDeploy manager WarpConnection /manager. > > > > But when I try to run http://localhost/manager?list it=20 > 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=3D"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 > > >=20 > 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 > > >=20 > 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 > > >=20 > 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 > > >=20 > 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: =20 > > For additional commands: = > > Troubles with the list: = > > > > -- > To unsubscribe: > For additional commands: > Troubles with the list: > > -- > To unsubscribe: > For additional commands: > Troubles with the list: I guess this is because of the Privileged=3D"true"... I've got exactly the same Pb. Jean-Luc B :O) -- To unsubscribe: For additional commands: Troubles with the list: -- To unsubscribe: For additional commands: Troubles with the list: