tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <>
Subject RE: Where does it find them ?
Date Sat, 22 Nov 2008 14:44:29 GMT


This is the reason why god made laptops so you can try your <TC>configuration on your
own working computer
before touching anything from your client..gettin the config to work on your laptop is what
a client needs to see and hear

the sysadmin in charge of XYZ machine should have the responsibility of
a)performing any clean up including removing work folders during a TC cycle
b)make sure there are backups of the entire good TC distro (all of $CATALINA_HOME%)
before any config changes as well as ensuring configurations such as JRE_HOME written down
*usually in readme.txt*

The work folders belong to Tomcat so by 
rm -rf $CATALINA_HOME/work 
you can rest assured any residual legacy TC files would be cleaned
Also make sure there are NO legacy *.war in $CATALINA_HOME/webapps lingering about that might

Just as a carpenter measures twice before cutting think twice and ask these questions before
using rm -rf
1)did I make a backup to an acessible location?
2)do I need to remove all of these files?

Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender.
This transmission is of a confidential nature and Sender does not endorse distribution to
any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission. 

> Date: Sat, 22 Nov 2008 00:06:02 +0100
> From:
> To:
> Subject: Re: Where does it find them ?
> Martin Gainty wrote:
> > Hi Andre
> > 
> > did you try to clean all folders below $TOMCAT_HOME/work, make sure the wars are
not located in webapps (and recycle TC)
> > ?
> > 
> Martin, Chuck,
> No, I did not do that, because I did not know I had to, and since this 
> is a customer's Tomcat and not mine, I didn't want to risk anything that 
> might make the sysadmin unhappy.  He lent me root access and trusts me, 
> I would not want to lose that.
> Now, when you both say "cleanup", you mean "delete", like in "rm", right ?
> These apps did not come in a war, so what if I wanted to re-install them 
> later ? Can I just then re-copy the stuff in /webapps, where it came 
> from, or do I also need to keep copies of what I am going to delete from 
> /work and /catalina/.. ?
> ---------------------------------------------------------------------
> To start a new topic, e-mail:
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack now.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message