tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Running multiple instances of one webapp
Date Wed, 24 Sep 2003 14:57:29 GMT

Web.xml is part of the webapp, so no.

But you can do something similar: define env-entry references in web.xml
for those settings that are different for each copy of the webapp.  Then
define the values for these env entries different in server.xml.  Each
webapp's web.xml will be exactly the same but the JNDI lookup will get
the value from server.xml which would be different for each webapp.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Jonathan A. Chase []
>Sent: Wednesday, September 24, 2003 10:45 AM
>To: Tomcat Users List
>Subject: Running multiple instances of one webapp
>On our instance of Tomcat 4.1.27 we have a webapp which we make
>to a number of different clients, where the configuration variables
>(web.xml) are slightly different for each client.  Currently, if we
>three clients who wish to use the app, we make three copies of it and
>updated web.xml in each copy.
>Here's the question:  is there a way to configure Tomcat to use just
>copy of the app with three different web.xml's as opposed to making
>copies of the entire app (without running multiple instances of
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

View raw message