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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to