tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Janner <Jeffrey.Jan...@PolyDyne.com>
Subject RE: Root context switching
Date Tue, 04 Sep 2012 13:52:04 GMT
Sounds to me like you are looking for the parallel deployment capabilities built into Tomcat
7.
See: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html
Jeff

> -----Original Message-----
> From: Dennie.nl [mailto:dennie.nl@gmail.com]
> Sent: Tuesday, September 04, 2012 6:26 AM
> To: Tomcat Users List
> Subject: Re: Root context switching
> 
> 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 <chris@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
> >


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


Mime
View raw message