When you clean Virgo Server for Apache Tomcat, the startup script removes the SERVER_HOME/work
directory (and hence all
running applications) as well as all trace, log and dump files. It leaves the
SERVER_HOME/repository
and SERVER_HOME/pickup
directories untouched,
which means that any applications previously hot deployed will be automatically reinstalled next time the Web Server is started.
Cleaning is useful when you want to start the Web Server from a clean state next time, but you don't want to start the Web Server yet.
Cleaning is also useful for tidying up the directory structure. For example, sometimes Microsoft Windows won't let you delete the Web Server installation directory. See Problem Deleting Installation Directory under Windows for more details.
To clean Virgo Server for Apache Tomcat, open a terminal window and run startup.sh -clean -noStart
:
prompt$ cd $SERVER_HOME prompt$ bin/startup.sh -clean -noStart