this is a bug in 5.5.0 and you will have to wait for 5.5.1 which I believe Yoav said "might" be out today :p
ADC > -----Original Message----- > From: helena rato [mailto:[EMAIL PROTECTED] > Sent: 07 September 2004 16:01 > To: [EMAIL PROTECTED] > Subject: Tomcat 5.5.0 - Child name is not unique error > > > Hi all, > > Here is the problem description: > > I have Linux RedHat 9 (kernel 2.4.20-8). > I have Java jdk 1.5.0 > I have installed tomcat 5.5.0 > > I create a brand new web app, I call it 'blabli' : > > mkdir $CATALINA_HOME/webapps/blabli > mkdir $CATALINA_HOME/webapps/blabli/WEB-INF > mkdir $CATALINA_HOME/webapps/blabli/WEB-INF/classes > mkdir $CATALINA_HOME/webapps/blabli/WEB-INF/lib > > In $CATALINA_HOME/webapps/blabli/WEB-INF, I added a web.xml > file, as follows: > > [EMAIL PROTECTED] root]# cat $CATALINA_HOME/webapps/blabli/WEB-INF/web.xml > <?xml version="1.0" encoding="ISO-8859-1"?> > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > <web-app> > <display-name>Servlet 2.4 Examples</display-name> > <description> > Servlet 2.4 Examples. > </description> > </web-app> > > I re-start tomcat. > > At this point, tomcat runs fine. > > Now, I add a logger using a context tag in > $CATALINA_HOME/conf/server.xml. > > The code added to $CATALINA_HOME/conf/server.xml is: > > <Context path="/blabli" docBase="blabli" > debug="5" reloadable="true" crossContext="true"> > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="localhost_blabli_log." suffix=".txt" > timestamp="true"/> > </Context> > > I re-start tomcat. > > And I get a strange error! > > The error in catalina.out is: > > [GC 3771K->3357K(5044K), 0.0031900 secs] > Sep 7, 2004 10:51:21 AM > org.apache.catalina.startup.HostConfig deployDirectory > SEVERE: Error deploying web application directory blabli > java.lang.IllegalArgumentException: addChild: Child name > '/blabli' is not unique > at > org.apache.catalina.core.ContainerBase.addChildInternal(Contai > nerBase.java:749) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase. > java:739) > > > > > Thank-you in advance for any clue! > > Helena > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software <a href="http://www.qas.com">www.qas.com</a> Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- </FONT> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]