<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2) on Sat Sep 25 10:14:03 EDT 2004 -->
<TITLE>
ManagerServlet (Catalina Internal API Documentation)
</TITLE>

<META NAME="keywords" CONTENT="org.apache.catalina.servlets.ManagerServlet class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="ManagerServlet (Catalina Internal API Documentation)";
}
</SCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/catalina/servlets/InvokerServlet.html" title="class in org.apache.catalina.servlets"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/catalina/servlets/WebdavServlet.html" title="class in org.apache.catalina.servlets"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ManagerServlet.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>

</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.catalina.servlets</FONT>
<BR>
Class ManagerServlet</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by">javax.servlet.GenericServlet
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by">javax.servlet.http.HttpServlet
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.catalina.servlets.ManagerServlet</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/catalina/ContainerServlet.html" title="interface in org.apache.catalina">ContainerServlet</A>, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig</DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/catalina/servlets/HTMLManagerServlet.html" title="class in org.apache.catalina.servlets">HTMLManagerServlet</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>ManagerServlet</B><DT>extends javax.servlet.http.HttpServlet<DT>implements <A HREF="../../../../org/apache/catalina/ContainerServlet.html" title="interface in org.apache.catalina">ContainerServlet</A></DL>

<P>
Servlet that enables remote management of the web applications installed
 within the same virtual host as this web application is.  Normally, this
 functionality will be protected by a security constraint in the web
 application deployment descriptor.  However, this requirement can be
 relaxed during testing.
 <p>
 This servlet examines the value returned by <code>getPathInfo()</code>
 and related query parameters to determine what action is being requested.
 The following actions and parameters (starting after the servlet path)
 are supported:
 <ul>
 <li><b>/install?config={config-url}</b> - Install and start a new
     web application, based on the contents of the context configuration
     file found at the specified URL.  The <code>docBase</code> attribute
     of the context configuration file is used to locate the actual
     WAR or directory containing the application.</li>
 <li><b>/install?config={config-url}&war={war-url}/</b> - Install and start
     a new web application, based on the contents of the context
     configuration file found at <code>{config-url}</code>, overriding the
     <code>docBase</code> attribute with the contents of the web
     application archive found at <code>{war-url}</code>.</li>
 <li><b>/install?path=/xxx&war={war-url}</b> - Install and start a new
     web application attached to context path <code>/xxx</code>, based
     on the contents of the web application archive found at the
     specified URL.</li>
 <li><b>/list</b> - List the context paths of all currently installed web
     applications for this virtual host.  Each context will be listed with
     the following format <code>path:status:sessions</code>.
     Where path is the context path.  Status is either running or stopped.
     Sessions is the number of active Sessions.</li>
 <li><b>/reload?path=/xxx</b> - Reload the Java classes and resources for
     the application at the specified path, but do not reread the web.xml
     configuration files.</li>
 <li><b>/remove?path=/xxx</b> - Shutdown and remove the web application
     attached to context path <code>/xxx</code> for this virtual host.</li>
 <li><b>/resources?type=xxxx</b> - Enumerate the available global JNDI
     resources, optionally limited to those of the specified type
     (fully qualified Java class name), if available.</li>
 <li><b>/roles</b> - Enumerate the available security role names and
     descriptions from the user database connected to the <code>users</code>
     resource reference.
 <li><b>/serverinfo</b> - Display system OS and JVM properties.
 <li><b>/sessions?path=/xxx</b> - List session information about the web
     application attached to context path <code>/xxx</code> for this
     virtual host.</li>
 <li><b>/start?path=/xxx</b> - Start the web application attached to
     context path <code>/xxx</code> for this virtual host.</li>
 <li><b>/stop?path=/xxx</b> - Stop the web application attached to
     context path <code>/xxx</code> for this virtual host.</li>
 <li><b>/undeploy?path=/xxx</b> - Shutdown and remove the web application
     attached to context path <code>/xxx</code> for this virtual host,
     and remove the underlying WAR file or document base directory.
     (<em>NOTE</em> - This is only allowed if the WAR file or document
     base is stored in the <code>appBase</code> directory of this host,
     typically as a result of being placed there via the <code>/deploy</code>
     command.</li>
 </ul>
 <p>Use <code>path=/</code> for the ROOT context.</p>
 <p>The syntax of the URL for a web application archive must conform to one
 of the following patterns to be successfully deployed:</p>
 <ul>
 <li><b>file:/absolute/path/to/a/directory</b> - You can specify the absolute
     path of a directory that contains the unpacked version of a web
     application.  This directory will be attached to the context path you
     specify without any changes.</li>
 <li><b>jar:file:/absolute/path/to/a/warfile.war!/</b> - You can specify a
     URL to a local web application archive file.  The syntax must conform to
     the rules specified by the <code>JarURLConnection</code> class for a
     reference to an entire JAR file.</li>
 <li><b>jar:http://hostname:port/path/to/a/warfile.war!/</b> - You can specify
     a URL to a remote (HTTP-accessible) web application archive file.  The
     syntax must conform to the rules specified by the
     <code>JarURLConnection</code> class for a reference to an entire
     JAR file.</li>
 </ul>
 <p>
 <b>NOTE</b> - Attempting to reload or remove the application containing
 this servlet itself will not succeed.  Therefore, this servlet should
 generally be deployed as a separate web application within the virtual host
 to be managed.
 <p>
 <b>NOTE</b> - For security reasons, this application will not operate
 when accessed via the invoker servlet.  You must explicitly map this servlet
 with a servlet mapping, and you will always want to protect it with
 appropriate security constraints as well.
 <p>
 The following servlet initialization parameters are recognized:
 <ul>
 <li><b>debug</b> - The debugging detail level that controls the amount
     of information that is logged by this servlet.  Default is zero.
 </ul>
<P>

<P>
<DL>
<DT><B>Version:</B></DT>
  <DD>$Revision: 1.34 $ $Date: 2004/08/26 21:38:13 $</DD>
<DT><B>Author:</B></DT>
  <DD>Craig R. McClanahan</DD>
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.catalina.servlets.ManagerServlet">Serialized Form</A></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->


<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/catalina/Context.html" title="interface in org.apache.catalina">Context</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#context">context</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Context container associated with our web application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#debug">debug</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The debugging detail level for this servlet.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#deployed">deployed</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File object representing the directory into which the deploy() command
 will store the WAR and context configuration files that have been
 uploaded.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/catalina/Deployer.html" title="interface in org.apache.catalina">Deployer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#deployer">deployer</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Deployer container that contains our own web application's Context,
 along with the associated Contexts for web applications that we
 are managing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;javax.naming.Context</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#global">global</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The global JNDI <code>NamingContext</code> for this server,
 if available.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;<A HREF="../../../../org/apache/catalina/util/StringManager.html" title="class in org.apache.catalina.util">StringManager</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#sm">sm</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The string manager for this package.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/catalina/Wrapper.html" title="interface in org.apache.catalina">Wrapper</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#wrapper">wrapper</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Wrapper container associated with this servlet.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#ManagerServlet()">ManagerServlet</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#deploy(java.io.PrintWriter, java.lang.String, javax.servlet.http.HttpServletRequest)">deploy</A></B>(java.io.PrintWriter&nbsp;writer,
       java.lang.String&nbsp;path,
       javax.servlet.http.HttpServletRequest&nbsp;request)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deploy a web application archive (included in the current request)
 at the specified context path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#destroy()">destroy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finalize this servlet.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">doGet</A></B>(javax.servlet.http.HttpServletRequest&nbsp;request,
      javax.servlet.http.HttpServletResponse&nbsp;response)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process a GET request for the specified resource.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#doPut(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">doPut</A></B>(javax.servlet.http.HttpServletRequest&nbsp;request,
      javax.servlet.http.HttpServletResponse&nbsp;response)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process a PUT request for the specified resource.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#extractXml(java.io.File, java.io.File)">extractXml</A></B>(java.io.File&nbsp;war,
           java.io.File&nbsp;xml)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extract the context configuration file from the specified WAR,
 if it is present.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/catalina/Wrapper.html" title="interface in org.apache.catalina">Wrapper</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#getWrapper()">getWrapper</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the Wrapper with which we are associated.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#init()">init</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize this servlet.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#install(java.io.PrintWriter, java.lang.String, java.lang.String, java.lang.String)">install</A></B>(java.io.PrintWriter&nbsp;writer,
        java.lang.String&nbsp;config,
        java.lang.String&nbsp;path,
        java.lang.String&nbsp;war)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Install an application for the specified path from the specified
 web application archive.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#list(java.io.PrintWriter)">list</A></B>(java.io.PrintWriter&nbsp;writer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Render a list of the currently active Contexts in our virtual host.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#printResources(java.io.PrintWriter, java.lang.String, javax.naming.Context, java.lang.String, java.lang.Class)">printResources</A></B>(java.io.PrintWriter&nbsp;writer,
               java.lang.String&nbsp;prefix,
               javax.naming.Context&nbsp;namingContext,
               java.lang.String&nbsp;type,
               java.lang.Class&nbsp;clazz)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List the resources of the given context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#reload(java.io.PrintWriter, java.lang.String)">reload</A></B>(java.io.PrintWriter&nbsp;writer,
       java.lang.String&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reload the web application at the specified context path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#remove(java.io.PrintWriter, java.lang.String)">remove</A></B>(java.io.PrintWriter&nbsp;writer,
       java.lang.String&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the web application at the specified context path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#resources(java.io.PrintWriter, java.lang.String)">resources</A></B>(java.io.PrintWriter&nbsp;writer,
          java.lang.String&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Render a list of available global JNDI resources.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#roles(java.io.PrintWriter)">roles</A></B>(java.io.PrintWriter&nbsp;writer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Render a list of security role names (and corresponding descriptions)
 from the <code>org.apache.catalina.UserDatabase</code> resource that is
 connected to the <code>users</code> resource reference.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#serverinfo(java.io.PrintWriter)">serverinfo</A></B>(java.io.PrintWriter&nbsp;writer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes System OS and JVM properties.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#sessions(java.io.PrintWriter, java.lang.String)">sessions</A></B>(java.io.PrintWriter&nbsp;writer,
         java.lang.String&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Session information for the web application at the specified context path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#setWrapper(org.apache.catalina.Wrapper)">setWrapper</A></B>(<A HREF="../../../../org/apache/catalina/Wrapper.html" title="interface in org.apache.catalina">Wrapper</A>&nbsp;wrapper)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the Wrapper with which we are associated.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#start(java.io.PrintWriter, java.lang.String)">start</A></B>(java.io.PrintWriter&nbsp;writer,
      java.lang.String&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start the web application at the specified context path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#stop(java.io.PrintWriter, java.lang.String)">stop</A></B>(java.io.PrintWriter&nbsp;writer,
     java.lang.String&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stop the web application at the specified context path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#undeploy(java.io.PrintWriter, java.lang.String)">undeploy</A></B>(java.io.PrintWriter&nbsp;writer,
         java.lang.String&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Undeploy the web application at the specified context path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#undeployDir(java.io.File)">undeployDir</A></B>(java.io.File&nbsp;dir)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delete the specified directory, including all of its contents and
 subdirectories recursively.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/catalina/servlets/ManagerServlet.html#uploadWar(javax.servlet.http.HttpServletRequest, java.io.File)">uploadWar</A></B>(javax.servlet.http.HttpServletRequest&nbsp;request,
          java.io.File&nbsp;war)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload the WAR file included in this request, and store it at the
 specified file location.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.servlet.http.HttpServlet"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.servlet.http.HttpServlet</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>doDelete, doHead, doOptions, doPost, doTrace, getLastModified, service, service</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.servlet.GenericServlet"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.servlet.GenericServlet</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="context"><!-- --></A><H3>
context</H3>
<PRE>
protected <A HREF="../../../../org/apache/catalina/Context.html" title="interface in org.apache.catalina">Context</A> <B>context</B></PRE>
<DL>
<DD>The Context container associated with our web application.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="debug"><!-- --></A><H3>
debug</H3>
<PRE>
protected int <B>debug</B></PRE>
<DL>
<DD>The debugging detail level for this servlet.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="deployed"><!-- --></A><H3>
deployed</H3>
<PRE>
protected java.io.File <B>deployed</B></PRE>
<DL>
<DD>File object representing the directory into which the deploy() command
 will store the WAR and context configuration files that have been
 uploaded.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="deployer"><!-- --></A><H3>
deployer</H3>
<PRE>
protected <A HREF="../../../../org/apache/catalina/Deployer.html" title="interface in org.apache.catalina">Deployer</A> <B>deployer</B></PRE>
<DL>
<DD>The Deployer container that contains our own web application's Context,
 along with the associated Contexts for web applications that we
 are managing.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="global"><!-- --></A><H3>
global</H3>
<PRE>
protected javax.naming.Context <B>global</B></PRE>
<DL>
<DD>The global JNDI <code>NamingContext</code> for this server,
 if available.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="sm"><!-- --></A><H3>
sm</H3>
<PRE>
protected static <A HREF="../../../../org/apache/catalina/util/StringManager.html" title="class in org.apache.catalina.util">StringManager</A> <B>sm</B></PRE>
<DL>
<DD>The string manager for this package.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="wrapper"><!-- --></A><H3>
wrapper</H3>
<PRE>
protected <A HREF="../../../../org/apache/catalina/Wrapper.html" title="interface in org.apache.catalina">Wrapper</A> <B>wrapper</B></PRE>
<DL>
<DD>The Wrapper container associated with this servlet.
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="ManagerServlet()"><!-- --></A><H3>
ManagerServlet</H3>
<PRE>
public <B>ManagerServlet</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getWrapper()"><!-- --></A><H3>
getWrapper</H3>
<PRE>
public <A HREF="../../../../org/apache/catalina/Wrapper.html" title="interface in org.apache.catalina">Wrapper</A> <B>getWrapper</B>()</PRE>
<DL>
<DD>Return the Wrapper with which we are associated.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/catalina/ContainerServlet.html#getWrapper()">getWrapper</A></CODE> in interface <CODE><A HREF="../../../../org/apache/catalina/ContainerServlet.html" title="interface in org.apache.catalina">ContainerServlet</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setWrapper(org.apache.catalina.Wrapper)"><!-- --></A><H3>
setWrapper</H3>
<PRE>
public void <B>setWrapper</B>(<A HREF="../../../../org/apache/catalina/Wrapper.html" title="interface in org.apache.catalina">Wrapper</A>&nbsp;wrapper)</PRE>
<DL>
<DD>Set the Wrapper with which we are associated.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/catalina/ContainerServlet.html#setWrapper(org.apache.catalina.Wrapper)">setWrapper</A></CODE> in interface <CODE><A HREF="../../../../org/apache/catalina/ContainerServlet.html" title="interface in org.apache.catalina">ContainerServlet</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>wrapper</CODE> - The new wrapper</DL>
</DD>
</DL>
<HR>

<A NAME="destroy()"><!-- --></A><H3>
destroy</H3>
<PRE>
public void <B>destroy</B>()</PRE>
<DL>
<DD>Finalize this servlet.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>destroy</CODE> in interface <CODE>javax.servlet.Servlet</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
doGet</H3>
<PRE>
public void <B>doGet</B>(javax.servlet.http.HttpServletRequest&nbsp;request,
                  javax.servlet.http.HttpServletResponse&nbsp;response)
           throws java.io.IOException,
                  javax.servlet.ServletException</PRE>
<DL>
<DD>Process a GET request for the specified resource.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>response</CODE> - The servlet response we are creating
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - if an input/output error occurs
<DD><CODE>javax.servlet.ServletException</CODE> - if a servlet-specified error occurs</DL>
</DD>
</DL>
<HR>

<A NAME="doPut(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
doPut</H3>
<PRE>
public void <B>doPut</B>(javax.servlet.http.HttpServletRequest&nbsp;request,
                  javax.servlet.http.HttpServletResponse&nbsp;response)
           throws java.io.IOException,
                  javax.servlet.ServletException</PRE>
<DL>
<DD>Process a PUT request for the specified resource.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>response</CODE> - The servlet response we are creating
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - if an input/output error occurs
<DD><CODE>javax.servlet.ServletException</CODE> - if a servlet-specified error occurs</DL>
</DD>
</DL>
<HR>

<A NAME="init()"><!-- --></A><H3>
init</H3>
<PRE>
public void <B>init</B>()
          throws javax.servlet.ServletException</PRE>
<DL>
<DD>Initialize this servlet.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>javax.servlet.ServletException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="deploy(java.io.PrintWriter, java.lang.String, javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
deploy</H3>
<PRE>
protected void <B>deploy</B>(java.io.PrintWriter&nbsp;writer,
                      java.lang.String&nbsp;path,
                      javax.servlet.http.HttpServletRequest&nbsp;request)</PRE>
<DL>
<DD>Deploy a web application archive (included in the current request)
 at the specified context path.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - Writer to render results to<DD><CODE>path</CODE> - Context path of the application to be installed<DD><CODE>request</CODE> - Servlet request we are processing</DL>
</DD>
</DL>
<HR>

<A NAME="install(java.io.PrintWriter, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
install</H3>
<PRE>
protected void <B>install</B>(java.io.PrintWriter&nbsp;writer,
                       java.lang.String&nbsp;config,
                       java.lang.String&nbsp;path,
                       java.lang.String&nbsp;war)</PRE>
<DL>
<DD>Install an application for the specified path from the specified
 web application archive.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - Writer to render results to<DD><CODE>config</CODE> - URL of the context configuration file to be installed<DD><CODE>path</CODE> - Context path of the application to be installed<DD><CODE>war</CODE> - URL of the web application archive to be installed</DL>
</DD>
</DL>
<HR>

<A NAME="list(java.io.PrintWriter)"><!-- --></A><H3>
list</H3>
<PRE>
protected void <B>list</B>(java.io.PrintWriter&nbsp;writer)</PRE>
<DL>
<DD>Render a list of the currently active Contexts in our virtual host.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - Writer to render to</DL>
</DD>
</DL>
<HR>

<A NAME="reload(java.io.PrintWriter, java.lang.String)"><!-- --></A><H3>
reload</H3>
<PRE>
protected void <B>reload</B>(java.io.PrintWriter&nbsp;writer,
                      java.lang.String&nbsp;path)</PRE>
<DL>
<DD>Reload the web application at the specified context path.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - Writer to render to<DD><CODE>path</CODE> - Context path of the application to be restarted</DL>
</DD>
</DL>
<HR>

<A NAME="remove(java.io.PrintWriter, java.lang.String)"><!-- --></A><H3>
remove</H3>
<PRE>
protected void <B>remove</B>(java.io.PrintWriter&nbsp;writer,
                      java.lang.String&nbsp;path)</PRE>
<DL>
<DD>Remove the web application at the specified context path.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - Writer to render to<DD><CODE>path</CODE> - Context path of the application to be removed</DL>
</DD>
</DL>
<HR>

<A NAME="resources(java.io.PrintWriter, java.lang.String)"><!-- --></A><H3>
resources</H3>
<PRE>
protected void <B>resources</B>(java.io.PrintWriter&nbsp;writer,
                         java.lang.String&nbsp;type)</PRE>
<DL>
<DD>Render a list of available global JNDI resources.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - Fully qualified class name of the resource type of interest,
  or <code>null</code> to list resources of all types</DL>
</DD>
</DL>
<HR>

<A NAME="printResources(java.io.PrintWriter, java.lang.String, javax.naming.Context, java.lang.String, java.lang.Class)"><!-- --></A><H3>
printResources</H3>
<PRE>
protected void <B>printResources</B>(java.io.PrintWriter&nbsp;writer,
                              java.lang.String&nbsp;prefix,
                              javax.naming.Context&nbsp;namingContext,
                              java.lang.String&nbsp;type,
                              java.lang.Class&nbsp;clazz)</PRE>
<DL>
<DD>List the resources of the given context.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="roles(java.io.PrintWriter)"><!-- --></A><H3>
roles</H3>
<PRE>
protected void <B>roles</B>(java.io.PrintWriter&nbsp;writer)</PRE>
<DL>
<DD>Render a list of security role names (and corresponding descriptions)
 from the <code>org.apache.catalina.UserDatabase</code> resource that is
 connected to the <code>users</code> resource reference.  Typically, this
 will be the global user database, but can be adjusted if you have
 different user databases for different virtual hosts.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - Writer to render to</DL>
</DD>
</DL>
<HR>

<A NAME="serverinfo(java.io.PrintWriter)"><!-- --></A><H3>
serverinfo</H3>
<PRE>
protected void <B>serverinfo</B>(java.io.PrintWriter&nbsp;writer)</PRE>
<DL>
<DD>Writes System OS and JVM properties.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - Writer to render to</DL>
</DD>
</DL>
<HR>

<A NAME="sessions(java.io.PrintWriter, java.lang.String)"><!-- --></A><H3>
sessions</H3>
<PRE>
protected void <B>sessions</B>(java.io.PrintWriter&nbsp;writer,
                        java.lang.String&nbsp;path)</PRE>
<DL>
<DD>Session information for the web application at the specified context path.
 Displays a profile of session MaxInactiveInterval timeouts listing number
 of sessions for each 10 minute timeout interval up to 10 hours.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - Writer to render to<DD><CODE>path</CODE> - Context path of the application to list session information for</DL>
</DD>
</DL>
<HR>

<A NAME="start(java.io.PrintWriter, java.lang.String)"><!-- --></A><H3>
start</H3>
<PRE>
protected void <B>start</B>(java.io.PrintWriter&nbsp;writer,
                     java.lang.String&nbsp;path)</PRE>
<DL>
<DD>Start the web application at the specified context path.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - Writer to render to<DD><CODE>path</CODE> - Context path of the application to be started</DL>
</DD>
</DL>
<HR>

<A NAME="stop(java.io.PrintWriter, java.lang.String)"><!-- --></A><H3>
stop</H3>
<PRE>
protected void <B>stop</B>(java.io.PrintWriter&nbsp;writer,
                    java.lang.String&nbsp;path)</PRE>
<DL>
<DD>Stop the web application at the specified context path.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - Writer to render to<DD><CODE>path</CODE> - Context path of the application to be stopped</DL>
</DD>
</DL>
<HR>

<A NAME="undeploy(java.io.PrintWriter, java.lang.String)"><!-- --></A><H3>
undeploy</H3>
<PRE>
protected void <B>undeploy</B>(java.io.PrintWriter&nbsp;writer,
                        java.lang.String&nbsp;path)</PRE>
<DL>
<DD>Undeploy the web application at the specified context path.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - Writer to render to<DD><CODE>path</CODE> - Context path of the application to be removed</DL>
</DD>
</DL>
<HR>

<A NAME="extractXml(java.io.File, java.io.File)"><!-- --></A><H3>
extractXml</H3>
<PRE>
protected void <B>extractXml</B>(java.io.File&nbsp;war,
                          java.io.File&nbsp;xml)
                   throws java.io.IOException</PRE>
<DL>
<DD>Extract the context configuration file from the specified WAR,
 if it is present.  If it is not present, ensure that the corresponding
 file does not exist.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>war</CODE> - File object representing the WAR<DD><CODE>xml</CODE> - File object representing where to store the extracted
  context configuration file (if it exists)
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - if an i/o error occurs</DL>
</DD>
</DL>
<HR>

<A NAME="undeployDir(java.io.File)"><!-- --></A><H3>
undeployDir</H3>
<PRE>
protected void <B>undeployDir</B>(java.io.File&nbsp;dir)</PRE>
<DL>
<DD>Delete the specified directory, including all of its contents and
 subdirectories recursively.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dir</CODE> - File object representing the directory to be deleted</DL>
</DD>
</DL>
<HR>

<A NAME="uploadWar(javax.servlet.http.HttpServletRequest, java.io.File)"><!-- --></A><H3>
uploadWar</H3>
<PRE>
protected void <B>uploadWar</B>(javax.servlet.http.HttpServletRequest&nbsp;request,
                         java.io.File&nbsp;war)
                  throws java.io.IOException</PRE>
<DL>
<DD>Upload the WAR file included in this request, and store it at the
 specified file location.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - if an I/O error occurs during processing</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/catalina/servlets/InvokerServlet.html" title="class in org.apache.catalina.servlets"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/catalina/servlets/WebdavServlet.html" title="class in org.apache.catalina.servlets"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ManagerServlet.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>

</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright  2000-2002 Apache Software Foundation.  All Rights Reserved.
</BODY>
</HTML>
