tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven J. Owens" <>
Subject Re: Configuration Management, JSP Recompiles, War Files
Date Sat, 06 Nov 2004 08:20:46 GMT
On Mon, Oct 25, 2004 at 09:15:41AM -0400, Shapira, Yoav wrote:
> >     If I understand correctly, WAR file is just a glorified JAR file,
> >which in turn is just a glorified tar file.  So unless you're
> >unjarring it, editing the config file and rejarring it, you can't
> >really muck with the config settings inside it.  How/where do people
> >normally keep the configuration variables for the webapp?
> You might want to read up the Servlet Spec's section on resource-ref and
> env-entry refs. These provide a way for you to keep one WAR and edit
> server.xml (or another server-specific, outside-your-WAR configuration
> file) to modify configuration information.  Your understanding above is
> incomplete.

     So the standard practice is to put all of your configuration
variables in server.xml and reboot the server if you need to change
the configuration?

Steven J. Owens

"I'm going to make broad, sweeping generalizations and strong,
 declarative statements, because otherwise I'll be here all night and
 this document will be four times longer and much less fun to read.
 Take it all with a grain of salt." -

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

View raw message