tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Gooding <josh.good...@gmail.com>
Subject Re: Tomcat 5.5 context.xml question.
Date Fri, 24 Aug 2012 20:09:01 GMT
Mark, Konstantin, thank you very much.  As usual I highly appreciate it.


On Fri, Aug 24, 2012 at 4:05 PM, Mark Thomas <markt@apache.org> wrote:

> On 24/08/2012 20:53, Josh Gooding wrote:
> > Yeah you see what I'm given to work with.  The sever.xml will be cleaned
> > up, but i'm trying to get this fixed to upgrade to 6.0.35 or 7.
> >
> > So let me ask this, given that billing-1.0.4 is a branch that contains 4
> > war files.  Am I able to deploy say billing-1.0.5 on the fly without
> having
> > to restart tomcat from a CI server like hudson?  If I have hudson (as the
> > TC user) make a new directory in tomcat's webapps folder while it was
> still
> > running and push the 4 wars?
> >
> > The current solution they have, they have locked a single branch to each
> > tomcat server (dumb dumb dumb) and I'm trying to give them access to
> EVERY
> > development server they have for multiple branches.  So I want to have
> > webapps/billing-1.0.4/WebEMR.war, foo.war, bar.war, thing.war.  Then also
> > have billing-1.0.5/WebEMR.war, foo.war, etc.  It just has to be dynamic
> > enough to not need restarted everytime I need to add a new branch to the
> > server.
> >
> > I want it to be localhost:8080/billing-1.0.4/WebEMR, to
> > locahost:8080/billing-x.n.y/WebEMR
>
> Rename the WAR to billing-x.n.y#WebEMR.war and place it directly in the
> webapps directory. Providing autoDeploy is enabled (it is by default) it
> should just work.
>
> See
> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Introduction
> for why this works. (Search for #)
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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