5.2 Starting in Clean Mode
Prev | 5. Starting and Stopping Virgo Tomcat Server | Next

## 5.2 Starting in Clean Mode

When you start Virgo Tomcat Server in clean mode, 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.

### Linux

To start Virgo Tomcat Server in clean mode, open a terminal window and run `startup.sh -clean`:

    prompt$ cd $SERVER_HOME
    prompt$ bin/startup.sh -clean

### Microsoft Windows

To start Virgo Tomcat Server in clean mode, open a command window and run `startup.bat -clean`:

    prompt> cd %SERVER_HOME%
    prompt> bin\startup.bat -clean

Prev | Up | Next
5. Starting and Stopping Virgo Tomcat Server | Home | 5.3 Starting in Debug Mode