tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Looijmans, Mike" <mike.looijm...@oce.com>
Subject RE: Safe to move tomcat directory while tomcat running?
Date Wed, 02 Dec 2009 06:57:16 GMT
On unix (posix, linux) systems you can move anything even when in use.
Files that are open will remain open, and the application will continue
to use them. Problems will arise when the application attempts to open
new files, because then they have to be at the expected location.

If you really want zero downtime, you can set up softlinks to make the
program believe that everything is still in its old location during the
transition phase.

On the other hand, if you prepare it well, you can stop, move and start
in a matter of seconds, and most users will never notice it was down.
And the risk of the whole thing crashing down because of some
peculiarity in the application due to the unexpected move is probably
big enough to want to avoid that situation.

M.

> -----Original Message-----
> From: Dean Chester [mailto:dean.g.chester@googlemail.com] 
> Sent: dinsdag 01 december 2009 22:08
> To: Tomcat Users List
> Subject: Re: Safe to move tomcat directory while tomcat running?
> 
> I would be doing it on red hat. Would it just be easier to 
> email all the users and say its down for maintenance and then 
> just move it?
> Dean
> 
> On Tue, Dec 1, 2009 at 9:02 PM, David kerber 
> <dckerber@verizon.net> wrote:
> 
> > Dean Chester wrote:
> >
> >> Hi,
> >> I have to move the tomcat directory with in my user and i 
> ask is it 
> >> safe if i do it while tomcat is running as i need to avoid 
> downtime 
> >> of my application.
> >> Thanks in Advance
> >> Dean
> >>
> >>
> > I doubt you would even be able to do so, at least not in Windows.
> >
> >
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
> 

This message and attachment(s) are intended solely for use by the addressee and may contain
information that is privileged, confidential or otherwise exempt from disclosure under applicable
law.

If you are not the intended recipient or agent thereof responsible for delivering this message
to the intended recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.

If you have received this communication in error, please notify the sender immediately by
telephone and with a 'reply' message.

Thank you for your co-operation.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message