tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Majors, Jeremy" <>
Subject Re: Expected Delay when Switching to New Version of Application Using Parallel Deployment (Tomcat 7.0.27)
Date Tue, 09 Jul 2013 13:58:13 GMT
On 7/8/13 10:52 PM, "Christopher Schultz" <>

>Hash: SHA256
>On 7/5/13 11:24 AM, Majors, Jeremy wrote:
>> For a simple web application, what is the expected delay when
>> switching to new version of an application when using the parallel
>> deployment process?  I'm trying to do timings right now with a
>> single Hello World JSP and sometimes there is a delay of up to 4
>> seconds when the new version of the application is deployed
>> (running 5 users simultaneously using Jmeter with cookies turned
>> off), but other times I don't see this behavior.
>How are you deploying the new version? Are you dropping another WAR
>file into the webapps/ directory, or are you using the manager webapp
>to deploy the new version?

Our current deployment mechanism involves placing a new context.xml file
in {tomcat.root}/conf/Catalina/localhost/ which has the docbase property
set to an already exploded WAR.

>> Does anyone know if it is expected for there to be a slight hiccup
>> in response times when the applications are deployed via parallel
>> deployment?  I understand that many applications will have
>> initialization logic and that may cause a delay, but I'm wondering
>> if I should expect tomcat to introduce a very small delay when
>> switching from the old version to the new version and if so, how
>> long should I expect that process to take.
>You might be seeing the delay that Tomcat has between auto-deployment
>runs... it can't scan the webapps/ directory all the time for updates,
>or it would significantly impact overall performance of the server.
>- -chris
>Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>Comment: GPGTools -
>Comment: Using GnuPG with Thunderbird -
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message