tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chris derham <ch...@derham.me.uk>
Subject Re: Root context switching
Date Tue, 04 Sep 2012 10:54:12 GMT
I am new to Tomcat. What I like to do is to deploy different versions of my

> application, for example:
> hostname\myappv1
> hostname\myappv2
>
> Now I want the ROOT context to be set dynamicly to one of the available
> deployed versions. Is this possible? Is there a way to implement this?
>
> Dennie,

This question is asked regularly. The regularly posted answer is that you
must call the root war ROOT.war, such that it is unpacked as
CATALINA_HOME\webapps\ROOT. There may be ways around this, but it really is
much, much simpler to do this in all cases I have seen discussed.

Having said that, you say that you wish to change the ROOT dynamically.
Why? What is your use case? If you explain, perhaps we might be able to
describe a suitable alternative

Chris

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message