Hi,

No, I didn't create the context configuration file under
/conf/[enginename]/[hostname]/.  It was created by Tomcat on the fly. And my
webapp wasn't starting up twice, which is good.  Also I can delete that dir, but
it would be recreated next time when I restart Tomcat5.  I think the confusion
lies on whether it's user's responsibily or the container's to clean up the
configuration file after user deleting a context element in server.xml. 

In tomcat user-guide:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html, there is
nothing about when a context descriptor is created, and what happens if you
decide to delete a context in your server.xml. It would be nice if the container
refreshes that directory/recreates all the context descriptors when server.xml
is modified.  But maybe there is some other setting I don't know of in 5. I
didnt' have this problem with tomcat 4 before.

Thanks!

-Yan


-----Original Message-----
From: Milt Epstein [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 04, 2004 12:12 PM
To: Tomcat Users List
Subject: RE: Tomcat Loads Deleted Context?

>                        I removed the <Context> for that webapp in
> conf/server.xml.

Hmmm -- you had a <Context> element for this webapp in server.xml
*and* a separate context configuration file?  That's redundant,
because they serve the same purpose.  I'm not sure what would happen
in that case -- were you per chance seeing your webapp starting up
twice?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to