Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: my webapps lost after deleting *.war

dl

2006-12-19

Replies:



Mark Thomas-11 wrote:
>
> I am afraid they are gone for good. Do have anything in a backup of
> version control system you can recover from?

That came as a shock .. can you confirm whether this behaviour is new to
tomcat 5.5 ..
since I am fairly sure that I have deleted *.war files in older tomcat
installations, leaving the deployed webapp, plus added files, intact.

What is the correct procedure for deleting the *.war after deployment (since
it just is an archive of the installed webapp). It would be helpful to
understand the tomcat policy for deleting files. Not even a warning was
given! "Are you sure you want to delete this webapp?"

...

As to reverting to backup files, I do have some old backups (going back a
couple of months), but unfortunately recently developed apps (not backed up)
were lost.

So I have started applying disk data recovery utilities and I have recovered
some of the tomcat deleted files. It is a long recovery process but I'll be
more careful with *.war files in future. Perhaps locating the developed
apps outside the tomcat server webapps folder? And more frequent backups.






--
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.