Jeremy-

From tomcat
Context descriptors allow defining all aspects and configuration parameters of 
a Context, such as 
naming resources and 
session manager configuration. 
It should be noted that the docBase specified in the Context element can refer 
to either the .WAR or the directory

so if your resources are exactly the same and session config info is the same 
and docBase is the same then go ahead and combine contexts
If they are different dont combine the context.xml file

M-
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
----- Original Message ----- 
From: "Jeremy Nix" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Wednesday, October 25, 2006 3:41 PM
Subject: Running single webapp across multiple hosts


>I have a webapps that are utilized on 2 different domains.  Currently, 
> I'm managing it by deploying separate versions (2 context files pointing 
> to 2 separate installs of the webapp.  What I would like is to simplify 
> this so that a single instance of my webapp is running, but both 
> connectors/hosts are using it.  I'm sure there are many ways of doing 
> this.  For instance, I did try just installing a single instance and 
> having the 2 context.xml files pointing to the same directory.  That 
> seems to work fine...except for the log4j logging I have set up within 
> my app (file doesn't seem to roleover, it just resets each day).  Are 
> there other options available?
> 
> Thanks for any help.
> 
> -- 
> 
> __________________________
> Jeremy Nix
> Senior Application Developer
> Southwest Financial Services, Ltd.
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to