Tomcat HOW-TO does a really bad job of explaining of how context.xml would work... Google didn't yield any useful information as well...
So, as far as I understand, you create a file called context.xml, and place the <Context> tag and all its contents into it (instead of keeping them inside of server.xml)... Now, where does that context.xml go? Into WEB-INF? Tried it, didn't work. Also, how would it know which <Host> to belong to? And do I use the manager application to deploy those dynamically? In manager application, you can deploy only one .war file, so I guess it goes in it somehow? -----Original Message----- From: QM [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 3:04 PM To: Tomcat Users List Subject: Re: Can server.xml be reloaded without restart? On Wed, Jun 16, 2004 at 02:27:33PM -0700, Ivan Jouikov wrote: : If I am hosting a large number of applications on my server, and I add a new : application every couple of hours and every application requires having its : own DB pool (aka <Resource> entry in server.xml), how can I make it so that my : server.xml gets reloaded automatically? You can keep the <Resource> tags with the webapp. See the Tomcat docs for "context.xml." The short version is, everything you put under a <Context> tag, you can put in a separate, per-webapp file. When that webapp is updated, the rest of the container is undisturbed. Icing on the cake: app-specific settings stay with the app, making it more portable within your infrastructure. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.701 / Virus Database: 458 - Release Date: 07.06.2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.701 / Virus Database: 458 - Release Date: 07.06.2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]