You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Torsten <tw...@yahoo.de> on 2008/07/30 16:46:39 UTC
WAR files updates not recognized by Tomcat
Hi,
when deploying a web application as a WAR archive the archive is automatically unpacked to a directory by tomcat but the WAR file stays as is on the disk.
When this WAR file is later updated while the tomcat is NOT running tomcat will not notice the update when it is started afterwards. That is, it will continue to use the files from the old directory that it created on its own and ignore the new WAR. A possible workaround is of course to delete the directory (tomcat will automatically unpack the new WAR and restart the servlet then if it's running, otherwise after it is started).
Is this a known bug? Or is it possible to make tomcat check its WARs instead?
Thanks a lot in advance!
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: WAR files updates not recognized by Tomcat
Posted by Torsten <tw...@yahoo.de>.
Sorry: I'm using Tomcat version 5.5.
Regards, Torsten
--- Alessandro Ferrucci <al...@gmail.com> schrieb am Mi, 30.7.2008:
> Von: Alessandro Ferrucci <al...@gmail.com>
> Betreff: Re: WAR files updates not recognized by Tomcat
> An: "Tomcat Users List" <us...@tomcat.apache.org>, twisted24de@yahoo.de
> Datum: Mittwoch, 30. Juli 2008, 18:10
> What version of tomcat are you running?
>
> Signed,
> Alessandro Ferrucci :)
>
> On Wed, Jul 30, 2008 at 10:46 AM, Torsten
> <tw...@yahoo.de> wrote:
>
> > Hi,
> >
> > when deploying a web application as a WAR archive the
> archive is
> > automatically unpacked to a directory by tomcat but
> the WAR file stays as is
> > on the disk.
> >
> > When this WAR file is later updated while the tomcat
> is NOT running tomcat
> > will not notice the update when it is started
> afterwards. That is, it will
> > continue to use the files from the old directory that
> it created on its own
> > and ignore the new WAR. A possible workaround is of
> course to delete the
> > directory (tomcat will automatically unpack the new
> WAR and restart the
> > servlet then if it's running, otherwise after it
> is started).
> >
> > Is this a known bug? Or is it possible to make tomcat
> check its WARs
> > instead?
> >
> > Thanks a lot in advance!
> >
> >
> >
> >
> __________________________________________________________
> > Gesendet von Yahoo! Mail.
> > Dem pfiffigeren Posteingang.
> > http://de.overview.mail.yahoo.com
> >
> >
> ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail:
> users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail:
> users-help@tomcat.apache.org
> >
> >
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: WAR files updates not recognized by Tomcat
Posted by Alessandro Ferrucci <al...@gmail.com>.
What version of tomcat are you running?
Signed,
Alessandro Ferrucci :)
On Wed, Jul 30, 2008 at 10:46 AM, Torsten <tw...@yahoo.de> wrote:
> Hi,
>
> when deploying a web application as a WAR archive the archive is
> automatically unpacked to a directory by tomcat but the WAR file stays as is
> on the disk.
>
> When this WAR file is later updated while the tomcat is NOT running tomcat
> will not notice the update when it is started afterwards. That is, it will
> continue to use the files from the old directory that it created on its own
> and ignore the new WAR. A possible workaround is of course to delete the
> directory (tomcat will automatically unpack the new WAR and restart the
> servlet then if it's running, otherwise after it is started).
>
> Is this a known bug? Or is it possible to make tomcat check its WARs
> instead?
>
> Thanks a lot in advance!
>
>
>
> __________________________________________________________
> Gesendet von Yahoo! Mail.
> Dem pfiffigeren Posteingang.
> http://de.overview.mail.yahoo.com
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>