tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yansheng Lin" <>
Subject RE: Tomcat Loads Deleted Context?
Date Wed, 04 Feb 2004 20:19:44 GMT

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:, 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.



-----Original Message-----
From: Milt Epstein [] 
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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message