Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C9A9683C5 for ; Tue, 30 Aug 2011 10:19:49 +0000 (UTC) Received: (qmail 77982 invoked by uid 500); 30 Aug 2011 10:19:43 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 77675 invoked by uid 500); 30 Aug 2011 10:19:33 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 77666 invoked by uid 99); 30 Aug 2011 10:19:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 10:19:29 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.5.214.110] (HELO tcmail53.telekom.de) (217.5.214.110) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 10:19:22 +0000 From: Uwe.Hellmann@t-systems.com Received: from he111527.emea1.cds.t-internal.com ([10.125.90.86]) by tcmail51.telekom.de with ESMTP/TLS/AES128-SHA; 30 Aug 2011 12:18:55 +0200 Received: from HE113414.emea1.cds.t-internal.com (10.125.65.80) by HE111527.EMEA1.CDS.T-INTERNAL.COM (10.125.90.86) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 30 Aug 2011 12:18:54 +0200 Received: from HE111523.emea1.cds.t-internal.com ([10.125.90.76]) by HE113414.emea1.cds.t-internal.com ([2002:7cd:4150::7cd:4150]) with mapi; Tue, 30 Aug 2011 12:18:54 +0200 To: Date: Tue, 30 Aug 2011 12:18:52 +0200 Subject: AW: Problems with manager app under Tomcat 6.0.29 Thread-Topic: Problems with manager app under Tomcat 6.0.29 Thread-Index: Acxm+ci7V0KI+umeTUiC/xkgFiluQwAA+ugQ Message-ID: References: In-Reply-To: Accept-Language: en-US, de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, de-DE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hello Thanks for the info, I checked it. There are many entries for Manager in webapps/manager/WEB-INF/web.xml. But I checked in original file from tomcat.apache.org and there it is also = more from them. So this could not be the failure hence it runs under one instance fine. I have posted the complete web.xml f= ile here, maybe I have made mistake while=20 adding another role? Tomcat Manager Application A scriptable management web application for the Tomcat Web Server; Manager lets you view, load/unload/etc particular web applications. Manager org.apache.catalina.manager.ManagerServlet debug 2 HTMLManager org.apache.catalina.manager.HTMLManagerServlet debug 2 Status org.apache.catalina.manager.StatusManagerServlet debug 0 JMXProxy org.apache.catalina.manager.JMXProxyServlet Manager /list Manager /expire Manager /sessions Manager /start Manager /stop Manager /install Manager /remove Manager /deploy Manager /undeploy Manager /reload Manager /save Manager /serverinfo Manager /roles Manager /resources Manager /findleaks Status /status/* JMXProxy /jmxproxy/* HTMLManager /html/* Link to the UserDatabase instance from which we request lists of defined role names. Typically, this will be connected to the global user database with a ResourceLink element in server.xml or the contex= t configuration file for the Manager web application. users org.apache.catalina.UserDatabase HTMLManager and Manager command /html/* /list /expire /sessions /start /stop /install /remove /deploy /undeploy /reload /save /serverinfo /roles /resources /findleaks manager JMX proxy /jmxproxy/* manager-jmx manager Status /status/* manager-jmx manager BASIC Tomcat Manager Application The role that is required to log in to the Manager Application manager The role that is required to access the HTML JMX Proxy manager-jmx 401 /401.jsp Thanks for the help. - Uwe -----Urspr=FCngliche Nachricht----- Von: Konstantin Kolinko [mailto:knst.kolinko@gmail.com]=20 Gesendet: Dienstag, 30. August 2011 11:45 An: Tomcat Users List Betreff: Re: Problems with manager app under Tomcat 6.0.29 2011/8/30 : > java.lang.IllegalArgumentException: addChild: =A0Child name 'Manager' is= =20 >not unique > =A0 =A0 =A0 =A0at=20 >org.apache.tomcat.util.digester.Digester.createSAXException(Digester.ja >va:2806) >(...) > 30.08.2011 09:19:41 org.apache.catalina.startup.ContextConfig=20 >applicationWebConfig > SEVERE: Occurred at line 43 column 13 >(...) > > In this error message it says something about line 43 column 13. > But I have copied the same web.xml to all four instance=20 > webapps/manager/WEB-INF/ directories and as I said on one instance it is = running well. > This is the entry in it in this line. > =A0 =A0 36 =A0 =A0 > =A0 =A0 37 =A0 =A0 Manager > =A0 =A0 38 =A0 =A0=20 > org.apache.catalina.manager.ManagerServlet ss> > =A0 =A0 39 =A0 =A0 > =A0 =A0 40 =A0 =A0 =A0 debug > =A0 =A0 41 =A0 =A0 =A0 2 > =A0 =A0 42 =A0 =A0 > =A0 =A0 43 =A0 Check that you do not have Manager 1. elsewhere in manager/WEB-INF/web.xml 2. in conf/web.xml E.g. such error will happen if you try to use default in your webapp, because servlet named "default" is defined in conf/= web,xml. I have no problem running several Tomcat + Manager webapp instances on the = same host in standard configuration. You configuration must have some diffe= rences wrt. standard one. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org