You need the </Context> closing tags whenever you need to nest others tags inside the context tags. Such as <Realm> or <Logger> or <Valve>
<Context path="/foo" docBase="foo" debug="0"> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs/foo" prefix="foo." suffix=".log" verbosity="4" timestamp="true"/> </Context> If you have no nested tags you can just us <Context path="/foo" docBase="foo" debug="0"/> where /> ends the tags -----Original Message----- From: Geoff Peters [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 3:01 PM To: Tomcat Users List Subject: RE: Server.xml Sandra - I have had similar experiences with similar frustrating results, and it always seems to be placement of the <Context> </Context> tags - for some reason sometimes you need closing </Context> tags, other times you don't, I can't seem to figure out when to use them and when not to, so I end up fiddling around with various combinations until Tomcat starts! (that was a really dumb answer but it works for me) Geoff -----Original Message----- From: Hunter, Sandra [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 5:00 PM To: 'Tomcat Users List' Subject: Server.xml Frustration abounds: I am plodding through a tomcat tutorial and it suggests modifying the Server.xml file to include a new context path line to allow for playing with a sample file. Everything works tickety boo until I do that, then Tomcat won't startup at all. When I enter the startup command I just get a really brief flash of screen and poof! It's gone again. When I take the new line out of the server.xml file the problem persists: poof! Gone. That is the only change I make. Any thoughts? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]