tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br1 <>
Subject Re: Convenient web application configuration.
Date Thu, 30 Oct 2008 18:32:27 GMT

jason cipriani-2 wrote:
> Ideally I'd be able to put the settings in context.xml and web.xml
> somewhere outside of the web application directory, and leave them out
> of the web-app's local files, and so they wouldn't have to be packaged
> with the WAR and deploying the WAR wouldn't blow away existing
> configuration data.


The easiest way is to place Context and the different Resource elements into
each Tomcat's server.xml file.
Someone will tell you that it's not recommended, but it will just work.

Hope it helps,

View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message