On Tue, 4 Feb 2003, Ben Walding wrote:
> Date: Tue, 04 Feb 2003 15:12:33 +1000 > From: Ben Walding <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: TomCat auto-deployment > > Is the following behaviour intentional (as it seems brain-dead to me) > > Create a > warp-1.0.war - Normal war file > warp-1.0.xml - Normal xml file, but set path to /warp > > > TomCat merrily deploys > /warp (great!) > AND > /warp-1.0 (not so great!!) > > > Is this intentional or just an oversight? > If you put both of these files in the $CATALINA_HOME/webapps directory, that is absolutely the expected behavior. Tomcat only checks for duplicates on the context path. What you probably want to do is put warp-1.0.war someplace else, and make the docRoot of the <Context> element in warp-1.0.xml point at it via an absolute path. > > Cheers, > > Ben Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]