blob: 8b789c48cdec4eb253729bb28e667aee2ca6c7a6 [file] [log] [blame]
<html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Cleaning Virgo Server for Apache Tomcat without Starting it</title><meta content="DocBook XSL Stylesheets V1.76.0" name="generator"><link rel="home" href="index.html" title="Virgo User Guide"><link rel="up" href="ch07.html" title="Chapter&nbsp;7.&nbsp;Starting and Stopping Virgo Server for Apache Tomcat"><link rel="prev" href="ch07s06.html" title="Stopping Virgo Server for Apache Tomcat"><link rel="next" href="ch07s08.html" title="Using Equinox Launcher"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation header" width="100%"><tr><td align="left" width="20%"><a accesskey="p" href="ch07s06.html">Prev</a>&nbsp;</td><th align="center" width="60%">&nbsp;</th><td align="right" width="20%">&nbsp;<a accesskey="n" href="ch07s08.html">Next</a></td></tr></table><hr></div><div class="section" title="Cleaning Virgo Server for Apache Tomcat without Starting it"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="cleaning-without-starting"></a>Cleaning Virgo Server for Apache Tomcat without Starting it</h2></div></div></div><p>
When you clean Virgo Server for Apache Tomcat, the startup script removes the <code class="literal">SERVER_HOME/work</code> directory (and hence all
running applications) as well as all trace, log and dump files. It leaves the
<code class="literal">SERVER_HOME/repository</code> and <code class="literal">SERVER_HOME/pickup</code> directories untouched,
which means that any applications previously hot deployed will be automatically reinstalled next time the Web Server is started.
</p><p>
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.
</p><p>
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 <a class="link" href="apbs05.html" title="Problem Deleting Installation Directory under Windows">Problem Deleting Installation Directory under Windows</a> for more details.
</p><div class="section" title="Linux"><div class="titlepage"><div><div><h3 class="title"><a name="N1092E"></a>Linux</h3></div></div></div><p>
To clean Virgo Server for Apache Tomcat, open a terminal window and run <code class="literal">startup.sh -clean -noStart</code>:
</p><pre class="screen">prompt$ cd $SERVER_HOME
prompt$ bin/startup.sh -clean -noStart</pre></div><div class="section" title="Microsoft Windows"><div class="titlepage"><div><div><h3 class="title"><a name="N1093A"></a>Microsoft Windows</h3></div></div></div><p>
To clean Virgo Server for Apache Tomcat, open a command window and run <code class="literal">startup.bat -clean -noStart</code>:
</p><pre class="screen">prompt&gt; cd %SERVER_HOME%
prompt&gt; bin\startup.bat -clean -noStart</pre></div></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="ch07s06.html">Prev</a>&nbsp;</td><td align="center" width="20%"><a accesskey="u" href="ch07.html">Up</a></td><td align="right" width="40%">&nbsp;<a accesskey="n" href="ch07s08.html">Next</a></td></tr><tr><td valign="top" align="left" width="40%">&nbsp;</td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td valign="top" align="right" width="40%">&nbsp;</td></tr></table></div></body></html>