But the context I have configured in context.xml is not /vale, it's /dept/post/vale. Why/when/how does Tomcat decide to properly deploy it at the context I indicated in the context.xml for one instance of the webapp, then arbitrarily deploy a second instance at /vale, when I haven't told it to do that in the context.xml file?
> -----Original Message----- > From: Brice Ruth [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 09, 2004 10:40 AM > To: Tomcat Users List > Subject: Re: why two webapps from one war file? > > > if you put your .WAR in the webapps directory and you have Tomcat > configured to automatically deploy WARs that are placed > there, then it > will deploy that WAR from the file, and deploy it from the > context you > configure in server.xml. > > Rob Ross wrote: > > >I have a war file, vale.war. The context.xml for this webapp > (in META-INF) > >is > > > ><Context path="/dept/post/vale" docBase="vale" debug="0" > > reloadable="true" crossContext="false"> > > <Logger className="org.apache.catalina.logger.FileLogger" > > prefix="localhost_vale_log." suffix=".txt" > timestamp="true"/> > ></Context > > > > >When I use the manager app to deploy a war file, I end up > with TWO webapps > >listed in the manger, one for /dept/post/vale, and one for > just /vale. > > > >Why does this happen? > > > >Rob Ross > >Senior Software Engineer > >E! Networks > >[EMAIL PROTECTED] > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > Brice D. Ruth > Sr. IT Analyst > Fiskars Brands, Inc. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]