Hello, If my idea was only as simple as renaming it to ROOT.war (this one I know of):) Basic what I want is the same functionality which google apps provides. So I want to be able to have multiple versions of my application online, let people try the new environment and eventually switch the root context to the new running version. This enables my clients to try out the new version and options before they switch over to the new environment and enables me to fix bugs found in the new release.
I think I need a tunnelfilter or something for this, but maybe there's something available already. I've looked at parallel deployment, but this is mostly to serve the current users the version they are currently using. Cheers, Dennie 2012/9/4 chris derham <ch...@derham.me.uk> > 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 >