Re: root context path - war file not unwar'd

2009-03-25 Thread Andrew Eells
pid-2 is right in that the path shouldn't be used here, if i remove this Tomcat still deploys myapp.war as "/" as it's using the name of the ROOT.xml file to infer the actual path. i misread the tomcat context documentation http://tomcat.apache.org/tomcat-5.5-doc/config/context.html. deploying y

Re: root context path - war file not unwar'd

2009-03-25 Thread Pid
Andrew Eells wrote: > If it helps it's also possible to deploy your war file with any name at all > and have it deployed as the default context "/" - without the need to name > it ROOT.war. > > The trick is to have it located outside the Tomcat directory and have the > ROOT.xml context docBase po

Re: root context path - war file not unwar'd

2009-03-24 Thread Andrew Eells
If it helps it's also possible to deploy your war file with any name at all and have it deployed as the default context "/" - without the need to name it ROOT.war. The trick is to have it located outside the Tomcat directory and have the ROOT.xml context docBase point to it whilst setting path="

Re: root context path - war file not unwar'd

2009-01-20 Thread AD
Thanks charles, i thought there was an easier way to make a default webapp other than naming it ROOT.war. I will give that a shot to see if it works. Adam On Mon, Jan 19, 2009 at 10:36 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: AD [mailto:straightfl...@gmail.com]

RE: root context path - war file not unwar'd

2009-01-19 Thread Caldarale, Charles R
> From: AD [mailto:straightfl...@gmail.com] > Subject: root context path - war file not unwar'd > > I have an issue where inside a i set the context path > of "/" to a directory inside webapps (myapp). This is bad practice, and gets your webapp deployed twice. Sounds like you also didn't remove