On 10 Aug 2012, at 20:44, "Ian Long (Opterus)" <ian.l...@opterus.com> wrote:
> Hi Mark, > > Thanks for the info. > > I would rather not rename the WAR file or add the context.xml to it, because > it is deployed in multiple ways on different severs and in development > environments etc. > > Why must it be called ROOT.war, the Tomcat 6 way seems more flexible? It's been ROOT.war for a long time and ths is the preferred way of doing it. 6 had broader but less clear and more error prone possible alternatives. p > > Cheers, > Ian Long > Chief Software Architect, Opterus Inc. > > Email: ian.l...@opterus.com > Phone: 416-840-8495 x666 > Mobile: 416-817-9206 > Web: http://www.opterus.com > > > On Friday, 10 August, 2012 at 3:38 PM, Mark Thomas wrote: > >> On 10/08/2012 20:20, Ian Long (Opterus) wrote: >>> Any help is greatly appreciated! >> >> >> 1. Remove the docBase from the context.xml file >> 2. Package the context.xml file in the WAR >> 3. rename the WAR to ROOT.war >> 4. Place the WAR in the appBase >> >> Mark >> >> P.S. If you want to add some name/version to the WAR, name it >> ROOT##SomeMarkerOfYourChoice.war >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> (mailto:users-unsubscr...@tomcat.apache.org) >> For additional commands, e-mail: users-h...@tomcat.apache.org >> (mailto:users-h...@tomcat.apache.org) >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org