tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Single webapp multiple contexts
Date Tue, 09 Nov 2010 17:49:43 GMT
On 09/11/2010 17:30, Rob Gregory wrote:
> Hi Mark, 
> 
> I presume you are the same Mark that has committed the fixes made in the
> changelog?

Correct.

> I have tried what you suggest but the result is that each context
> defined in CATALINA_BASE/conf/<enginename>/<hostname> get
> deployed/expanded into webapps which results in much more disk space
> usage.

Hmm. That isn't meant to happen. Please create a Bugzilla entry for that
one and I'll get it fixed.

> Is there any way to achieve the same result as was previously
> possible within Tomcat 5.5.9 where I could have a context declared
> within CATALINA_BASE/conf/<enginename>/<hostname> but have that
> point/map to an already deployed webapp without it deploying another
> copy of the codebase or seeing the warning that is now output from
> Tomcat 6. Also using a .war file is a real pain for me because of how we
> deploy the different parts of our application.

Try using a directory rather than a WAR and have your context.xml files
point to that.

All of this should be covered in [1] & [2]. I'm guessing that those docs
aren't sufficiently clear. Suggestions for improvements welcome.

Mark

[1] http://tomcat.apache.org/tomcat-7.0-doc/config/context.html
[2]
http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Automatic%20Application%20Deployment


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message