| <html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Stopping Virgo Server for Apache Tomcat</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 7. Starting and Stopping Virgo Server for Apache Tomcat"><link rel="prev" href="ch07s05.html" title="Starting with a Custom Configuration Directory"><link rel="next" href="ch07s07.html" title="Cleaning Virgo Server for Apache Tomcat without Starting it"></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="ch07s05.html">Prev</a> </td><th align="center" width="60%"> </th><td align="right" width="20%"> <a accesskey="n" href="ch07s07.html">Next</a></td></tr></table><hr></div><div class="section" title="Stopping Virgo Server for Apache Tomcat"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="N108B5"></a>Stopping Virgo Server for Apache Tomcat</h2></div></div></div><div class="section" title="Linux"><div class="titlepage"><div><div><h3 class="title"><a name="N108B8"></a>Linux</h3></div></div></div><p> |
| To stop a running instance of Virgo Server for Apache Tomcat, start a new terminal window and run the <code class="literal">shutdown.sh</code> script: |
| </p><pre class="screen">prompt$ cd $SERVER_HOME |
| prompt$ bin/shutdown.sh</pre><p> |
| To stop a running instance of Virgo Server for Apache Tomcat immediately, bypassing normal shutdown |
| processing, run <code class="literal">shutdown.sh</code> with the <code class="literal">-immediate</code> option: |
| </p><pre class="screen">prompt$ cd $SERVER_HOME |
| prompt$ bin/shutdown.sh -immediate</pre><p> |
| If, when you started the Web Server instance, you used the <code class="literal">-jmxport</code> option to specify a non-default JMX port number, |
| then you must pass this port number to the <code class="literal">-jmxport</code> of the <code class="literal">shutdown.sh</code> script |
| to gracefully shut it down. |
| For example, if you specified <code class="literal">9090</code> as the JMX port, use the following to shut down the Web Server instance: |
| </p><pre class="screen">prompt$ cd $SERVER_HOME |
| prompt$ bin/shutdown.sh -jmxport 9090</pre></div><div class="section" title="Microsoft Windows"><div class="titlepage"><div><div><h3 class="title"><a name="N108E6"></a>Microsoft Windows</h3></div></div></div><p> |
| To stop a running instance of Virgo Server for Apache Tomcat, start a new console window and run the <code class="literal">shutdown.bat</code> script: |
| </p><pre class="screen">prompt> cd %SERVER_HOME% |
| prompt> bin\shutdown.bat</pre><p> |
| To stop a running instance of Virgo Server for Apache Tomcat immediately, bypassing normal shutdown |
| processing, run <code class="literal">shutdown.bat</code> with the <code class="literal">-immediate</code> option: |
| </p><pre class="screen">prompt> cd %SERVER_HOME% |
| prompt> bin\shutdown.bat -immediate</pre><p> |
| If, when you started the Web Server instance, you used the <code class="literal">-jmxport</code> option to specify a non-default JMX port number, |
| then you must pass this port number to the <code class="literal">-jmxport</code> of the <code class="literal">shutdown.bat</code> script to gracefully shut it down. |
| For example, if you specified <code class="literal">9090</code> as the JMX port, use the following to shut down the Web Server instance: |
| </p><pre class="screen">prompt> cd %SERVER_HOME% |
| prompt> bin\shutdown.bat -jmxport 9090</pre></div></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="ch07s05.html">Prev</a> </td><td align="center" width="20%"><a accesskey="u" href="ch07.html">Up</a></td><td align="right" width="40%"> <a accesskey="n" href="ch07s07.html">Next</a></td></tr><tr><td valign="top" align="left" width="40%"> </td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td valign="top" align="right" width="40%"> </td></tr></table></div></body></html> |