oops... you configured the instance in contex.xml within your WAR. So do you deploy this app through the ant deployer or through the web deployer ? In any event, turning off the autodeployer should get rid of the extraneous /vale context.
> -----Original Message----- > From: Mike Curwen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 09, 2004 1:25 PM > To: 'Tomcat Users List' > Subject: RE: why two webapps from one war file? > > > Tomcat will deploy a webapp from any war file it finds in > /webapps. It will configure the context to be the name of > the war. So vale.war becomes /vale. > > THEN , in ADDITION to this context, you've configured one in > server.xml to be at /dept/post/vale. This will also get deployed. > > 1) turn off autodeploying of WAR files from the webapps > directory in server.xml > 2) don't put vale.war in webapps. > > > > -----Original Message----- > > From: Rob Ross [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 09, 2004 12:40 PM > > To: 'Tomcat Users List' > > Subject: RE: why two webapps from one war file? > > > > > > 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] > > > > > --------------------------------------------------------------------- > 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]
