In the context tag you need to add an attribute named docBase pointing to your warfile.
Cheers, Kees de Kooter http://www.boplicity.net On Wed, Feb 4, 2009 at 11:05, James Hoare <james.ho...@net-a-porter.com> wrote: > > Hi, was hoping someone would help with the following. I have a webapp called > myApp.war but I would like to set this to a different url path than the > webapp name. I've seen in the docs that you can specify an xml file under > Catalina_Home/Catalina/localhost/newurlname.xml. > > > I have tried this but I get an error stating that the docBase doesn't exist? > > > in my xml file I just have a <Context></Context> definition I don't specify a > docBase? > > Can anyone clarify the correct procedure? > > Thanks > > > Discover spring's new designers at > http://www.net-a-porter.com/Content/NewDesignersforSS09form > ______________________________________________________________________ > > CONFIDENTIALITY NOTICE > The information in this email is confidential and is intended solely for the > addressee. Access to this email by anyone else is unauthorised. If you are > not the intended recipient, you must not read, use or disseminate the > information. Any views expressed in this message are those of the individual > sender, except where the sender specifically states them to be the views of > Net a Porter Ltd. > > Net A Porter Ltd is a company registered in England & Wales Number: 3820604 > Registered Office: The Dome, Whiteleys Centre, 151 Queensway, London, W2 4YN. > _____________________________________________________________________ > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org