tomcat-users mailing list archives

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

Howdy,
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 [mailto:chaseja@muohio.edu]
>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
available
>to a number of different clients, where the configuration variables
>(web.xml) are slightly different for each client.  Currently, if we
have
>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
one
>copy of the app with three different web.xml's as opposed to making
three
>copies of the entire app (without running multiple instances of
Tomcat)?
>
>Jon
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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.


Mime
View raw message