That's the "master" context.xml which defines general settings for all webapps.
When I set up a new webapp, I make a file called "xx.xml" where xx is the name of the webapp, stick the context xml for that webapp in there, then put it in /usr/tomcat/conf/Catalina/localhost/. It's an alternative to the old method of directly editing server.xml. See "A word on Contexts" http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html Always, always restart Tomcat after you edit this info. WILL On 3/16/07, Richard Dunne <[EMAIL PROTECTED]> wrote:
Context.xml is in the same directory as server.xml c:\ApacheTomcat\apache-tomcat-6.0.10\conf Never loolked at that file before it has <WatchedResource>WEB-INF/web.xml</WatchedResource> <Manager pathname="" /> Richard ----- Original Message ---- From: Will Glass-Husain <[EMAIL PROTECTED]> To: Jakarta General List <general@jakarta.apache.org> Sent: Friday, March 16, 2007 3:37:51 AM Subject: Re: tomcat config Where is the context XML. Is it in a file named "Projects.xml" in the conf/Catalina/localhost directory? WILL On 3/15/07, Richard Dunne <[EMAIL PROTECTED]> wrote: > > Appreciate the idea, no joy though. > > > ----- Original Message ---- > From: David Fisher <[EMAIL PROTECTED]> > To: Jakarta General List <general@jakarta.apache.org> > Sent: Thursday, March 15, 2007 9:48:49 PM > Subject: Re: tomcat config > > > Try <Context path="Projects" docBase="c:\Projects" debug="0"/> > > Make sure that <Context .../> is inside of <Host name="localhost" > debug="0" appBase="webapps" ... </Host> > > Also, at least this is so for tomcat 4.1.31// > > Good luck/ > > Dave > > > On Mar 15, 2007, at 2:19 PM, Richard Dunne wrote: > > > After subscribing to apache mailing list, I tried mailing > > users@tomcat.apache.org and got a delivery failure message. I have > > a query re: tomcat configuration. If this is not the correct list, > > apologies, perhaps someone can point me in the right direction. I > > have installed tomcat 5 on my machine and got the page which states > > that "if you are seeing this page then your installation of apache > > tomcat was successful". On that assumption I tried to access a > > file called index.jsp in a folder called Projects located at c:\ I > > entered the following line in server.xml: <Context path="/ > > Projects" docBase="c:\Projects" debug="0"/> > > I typed http://localhost:8080/Projects hoping to see index.jsp, but > > got a http error instead. > > > > Any ideas what may be causing the error? > > > > Richard. > > > > > > > > ______________________________________________________________________ > > ______________ > > Be a PS3 game guru. > > Get your game face on with the latest PS3 news and previews at > > Yahoo! Games. > > http://videogames.yahoo.com/platform?platform=120121 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > ____________________________________________________________________________________ > Food fight? Enjoy some healthy debate > in the Yahoo! Answers Food & Drink Q&A. > http://answers.yahoo.com/dir/?link=list&sid=396545367 -- Forio Business Simulations Will Glass-Husain 415 440-7500x89 [EMAIL PROTECTED] www.forio.com ____________________________________________________________________________________ Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097
-- Forio Business Simulations Will Glass-Husain 415 440-7500x89 [EMAIL PROTECTED] www.forio.com