> > From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> > Date: 2006/01/31 Tue AM 08:01:01 EST > To: "Tomcat Users List" <users@tomcat.apache.org> > Subject: RE: RE: context.xml > > Thanks again Warren. > > I guess I must be approaching this from the wrong perspective of what > the designers originally intended. > > I am hoping to find a place for a context.xml to live where it will > never get deleted. That a customer can change and when we give them a > new war file, the context.xml changes that they have made will stick > around. > > Is there a way to do this that you know of? > Dennis, Short of defining the context in server.xml, there's nothing I can think of. I believe it's still OK to do this in Tomcat 5.0. I believe it works in 5.5 but is frowned upon. I have a feeling this won't be an option in future releases. Warren
> -Dennis > > -----Original Message----- > From: Warren Pace [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 31, 2006 5:19 AM > To: Tomcat Users List > Subject: Re: RE: context.xml > > > > > > From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> > > Date: 2006/01/30 Mon PM 08:28:10 EST > > To: "Tomcat Users List" <users@tomcat.apache.org> > > Subject: RE: context.xml > > > > Thanks Warren for the reply. > > > > Wouldn't that version of the file be deleted when I undeploy? > > > If you're using the manager app to "un-deploy" the entire folder gets > deleted. But if you're packaging your app as a .war file, then you > always have that copy. > > -Dennis > > > > -----Original Message----- > > From: Warren Pace [mailto:[EMAIL PROTECTED] > > Sent: Monday, January 30, 2006 7:41 PM > > To: Tomcat Users List > > Subject: Re: context.xml > > > > > > > > > > From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> > > > Date: 2006/01/30 Mon PM 07:00:03 EST > > > To: "Tomcat Users List" <users@tomcat.apache.org> > > > Subject: context.xml > > > > > > I thought the name of the xml file located in : > > > > > > $CATALINA_HOME/conf/[enginename]/[hostname]/ > > > > > > had to match the name of your webapp directory. > > > > > > I just read some documentation for 5.5.9 that says otherwise. It > > > mentions that under certain conditions it will be created for you. > But > > I > > > would like to have a persistent xml file that will not be deleted > when > > I > > > un-deploy the app. > > > > > > > save your context file as: > > webapp_name/META-INF/context.xml > > > > > Can someone please tell me which is correct? > > > > > > Regards, > > > > > > -Dennis > > > > > > > > --------------------------------------------------------------------- > 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]