tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Fiala" <>
Subject RE: Upgrade your webapps easily HOW-TO (requires ant/manager app practice)
Date Thu, 01 May 2003 18:16:11 GMT
Hi Yoav,

Thank you very much for your thank-you mail! 

1.) I'm about to integrate the changes into TC 5.0.1, but am unable to 
build it due to a commons-el problem. Should I post build questions for TC 
5.0.1 here or at the tomcat-dev list?

2.) I'm currently reading the whole context.xml-InputStream and use 
.indexOf to find the attribute I need. 
Is there another more elegant approach using an apache-commons library?

3.) How do I make sure the overrideDocBase-enhancement makes eventually 
its way into TC 5.0.x, so I can rely on them?

thx alot

"Shapira, Yoav" <> 
01.05.2003 19:50
Please respond to
"Tomcat Users List" <>

"Tomcat Users List" <>

RE: Upgrade your webapps easily HOW-TO (requires ant/manager app practice)

I just wanted to say thanks for two things:

1. Contributing something, anything, instead of just ranting like an
unfortunate amount of people on the list,

2. Following a very nice question/answer/finding answer
unsatisfactory/inquiries on dev list/develop patch/publish patch

That's how it should be done, and I hope more people follow the same
process, so thanks again and kudos.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Johannes Fiala []
>Sent: Thursday, May 01, 2003 1:22 PM
>To: Tomcat Users List
>Subject: Upgrade your webapps easily HOW-TO (requires ant/manager app
>Hi there,
>I just created a patch for my release-switching problem, which allows
>deploy a Context which points to a specific docBase to Tomcat. This
>you to have a lightweight "pointer-app" which only points to a specific
>version of your webapp (=the current version).
>Suppose you want to update your application myapp-1.0 to myapp-1.1.
>The lightweight pointer-app is named myapp and starts pointing to
>After you have deployed the new myapp-1.1 and run production-level
>against it, you sooner or later want to upgrade myapp to point to
>myapp-1.1. You can do that by changing the docBase parameter in
>context.xml of myapp and then redeploying myapp using the ant manager
>You should already have used the manager app and ant to understand the
>More info:
>You can upgrade to new releases of your apps
>- easily
>- safely (preventing yourself from bad surprises after deploying your
>- and with a minimized downtime experience for your end users.

This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your 
computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

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