tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Problems with manager app under Tomcat 6.0.29
Date Tue, 30 Aug 2011 09:45:26 GMT
2011/8/30  <Uwe.Hellmann@t-systems.com>:
> java.lang.IllegalArgumentException: addChild:  Child name 'Manager' is not unique
>        at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2806)
>(...)
> 30.08.2011 09:19:41 org.apache.catalina.startup.ContextConfig 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 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.
>     36    <servlet>
>     37     <servlet-name>Manager</servlet-name>
>     38     <servlet-class>org.apache.catalina.manager.ManagerServlet</servlet-class>
>     39     <init-param>
>     40       <param-name>debug</param-name>
>     41       <param-value>2</param-value>
>     42     </init-param>
>     43   </servlet>

Check that you do not have <servlet-name>Manager</servlet-name>
1. elsewhere in manager/WEB-INF/web.xml
2. in conf/web.xml

E.g. such error will happen if you try to use
<servlet-name>default</servlet-name> 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 differences 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


Mime
View raw message