geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Geronimo v2.2 > shutdown
Date Thu, 30 Jul 2009 10:26:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=GMOxDOC22&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="http://cwiki.apache.org/confluence/display/GMOxDOC22/shutdown">shutdown</a></h2>
     <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~chirunhua@gmail.com">Runhua
Chi</a>
    </h4>
     
          <br/>
     <div class="notificationGreySide">
         <p>The <b>shutdown</b> command stops the Apache Geronimo server.
This command has the following syntax:</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>shutdown [options]
</pre>
</div></div>

<p>The available <em>options</em> are:</p>

<p><b>&#45;-user &lt;user_name&gt;</b><br/>
Specifies the user name with the authority to stop the server. By default you would normally
use <b>system</b> as the user name.</p>

<p><b>&#45;-password &lt;password&gt;</b><br/>
Specifies the password for the user name you just entered. By default you would normally use
<b>manager</b> as the password.</p>

<p><b>&#45;-port &lt;port_number&gt;</b><br/>
Specifies the RMI naming port to connect to the server (for example JMX connection port).
By default port <b>1099</b> is used.</p>

<p><b>&#45;-host &lt;host_name&gt;</b><br/>
Specifies the host name of the server you are trying to stop. By default <b>localhost</b>
is used. <em>This parameter is only available in Geronimo 2.1.3 and greater.</em></p>

<p><b>&#45;-secure</b><br/>
Use secure channel to communicate with JMX server, see <a href="#shutdown-Security">Security</a>
for details. <em>This parameter is only available in Geronimo 2.1.3 and greater.</em></p>

<p>If you do not specify any parameters, this command will prompt you for a user name
and password and will connect to port 1099 on localhost.</p>

<p>The <b>shutdown</b> command can also be started by using the <b>java
-jar</b> command: </p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>java -Djava.endorsed.dirs=lib/endorsed -jar bin/shutdown.jar [options]
</pre>
</div></div>

<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16"
height="16" align="absmiddle" alt="" border="0"></td><td><p>You don't
have to specify or re-enter the user name and password if you have the credential saved by
the <a href="/confluence/display/GMOxDOC22/deploy#deploy-Login">login option of the
deploy command</a>. </p></td></tr></table></div>
     </div>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/GMOxDOC22/shutdown">View
Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=102661&revisedVersion=4&originalVersion=3">View
Change</a>
              |
       <a href="http://cwiki.apache.org/confluence/display/GMOxDOC22/shutdown?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message