Re: [Q] Restart required?

From: Christophe Vanfleteren (c.v4nfl3t3r3n_at_pandora.be)
Date: 10/11/03


Date: Sat, 11 Oct 2003 10:35:27 GMT

Silvain Piree wrote:

>> It is not required - Tomcat has a management application that
>> can be used to stop, start, remove and deploy web applications
>> without restarting the server.
>
> So, it's not the server that needs to be restarted, but the
> running web application that is restarted. I understand.
>
> But what if that application is handling a user session at that
> moment? Will that user session be aborted? For example,
> if the user requests a page, will that request be aborted?
> Or if the customer submits an order, will that process
> be aborted?
>
> In PHP I can replace a script that is part of the application
> without impacting on the running web application. Any
> subsequent user request will use the new script; any running
> user request keeps using the old script until it is finished.
>
> I would really like to switch to Java for server-side development
> but this is one of the major issues that is holding me back.
>
> Silvain

This should not be a problem in real life:

First of all, a running web application shouldn't have to be changed that
much. Development and testing should be done on another server.

Second, the user session will be saved even if you restart the webapp (at
least with tomcat it is), so your user will not lose session data. At most
some requests will get a 404, while the webapp reloads. But when you do
redeploy your webapp, it probably safer to give a "under maintenance"
message first (redeploy during the calmest hours).

-- 
Regards,
Christophe Vanfleteren


Relevant Pages

  • Re: No DC shown in NTDSUTIL.exe in Single DC network
    ... Connecting to directory service on server 2003server. ... Test omitted by user request: ... Running partition tests on: Configuration ... No delegations were found in this zone on this DNS server ...
    (microsoft.public.windows.server.active_directory)
  • Re: NTDS Replication Event ID 1083/1955
    ... I ran netdom query fsmo on all domains, dcdiag /v on two DCs, and ipconfig ... Connecting to directory service on server S1. ... Test omitted by user request: ... The File Replication Service SYSVOL ready test ...
    (microsoft.public.windows.server.active_directory)
  • Re: Proper way to configure DNS for child domain
    ... Primary server: Child Domain DC1 ... use the parent DNS server as a secondary. ... Test omitted by user request: ...
    (microsoft.public.windows.server.dns)
  • Re: Proper way to configure DNS for child domain
    ... The Name Servers Tab only exists as Properties of the Zone itself,...what ... Primary server: Child Domain DC1 ... use the parent DNS server as a secondary. ... Test omitted by user request: ...
    (microsoft.public.windows.server.dns)
  • Re: Forced client disconnect problem.
    ... * Connecting to directory service on server towner-s1. ... replicas and are not verifiably latent, or dc's no longer replicating this ... Test omitted by user request: ... Starting test: CrossRefValidation ...
    (microsoft.public.windows.server.security)