Anoop's major update. Everything has changed location.

This commit is contained in:
amontano 2005-02-21 06:54:11 +00:00
parent c4c899c895
commit 6251b6c670
438 changed files with 40585 additions and 0 deletions

View file

@ -0,0 +1,419 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>controls</short-name>
<description>
JSP tag library containing custom GUI controls used in the
Tomcat Administrative Application.
</description>
<!-- ========== Instant Table Tag ===================================== -->
<tag>
<name>table</name>
<tag-class>org.apache.webapp.admin.TableTag</tag-class>
<body-content>JSP</body-content>
<description>
Render a "table" object, which is rendered as an HTML
"table" element.
NOTE: The only valid nested content for this tag is
"row" tags from this library. Anything else will cause
the rendered HTML to be invalid.
NOTE: To be usable, this tag must be nested inside an
HTML &lt;form&gt; element.
</description>
<attribute>
<name>columns</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
(Integer) number of columns that the table contains. If
not specified, only two columns will be visible.
</description>
</attribute>
<attribute>
<name>tableStyle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The CSS style class to be applied to the entire rendered output
of the instant table. If not specified, no overall
style class is applied.
</description>
</attribute>
<attribute>
<name>lineStyle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The CSS style for the lines between rows.
</description>
</attribute>
</tag>
<tag>
<name>row</name>
<tag-class>org.apache.webapp.admin.RowTag</tag-class>
<body-content>JSP</body-content>
<description>
Define a single "instant table row" option for the surrounding "table"
tag. It is not valid to use this tag *except* when nested inside an
"table" tag.
NOTE: This tag can nest only "label" and "data" tags.
</description>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
(Boolean) variable set to "true" or "yes" if this row is
the header row.
</description>
</attribute>
<attribute>
<name>labelStyle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The style for the label table data element.
</description>
</attribute>
<attribute>
<name>dataStyle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The style for the value of the table data element.
</description>
</attribute>
<attribute>
<name>styleId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The styleId for the label table data element.
</description>
</attribute>
</tag>
<tag>
<name>label</name>
<tag-class>org.apache.webapp.admin.LabelTag</tag-class>
<body-content>JSP</body-content>
<description>
Render a "label" object, which is rendered as a label in the row of
an HTML "table" element.
NOTE: To be usable, this tag must be nested inside a "row" tag.
</description>
</tag>
<tag>
<name>data</name>
<tag-class>org.apache.webapp.admin.DataTag</tag-class>
<body-content>JSP</body-content>
<description>
Render a "data" object, which is rendered as a label in the row of
an HTML "table" element.
NOTE: To be usable, this tag must be nested inside a "row" tag.
</description>
</tag>
<!-- ========== Instant Actions Tag ===================================== -->
<tag>
<name>actions</name>
<tag-class>org.apache.webapp.admin.ActionsTag</tag-class>
<body-content>JSP</body-content>
<description>
Render an "instant actions" object, which is rendered as an HTML
"select" element, where the selection of a particular element from
the list immediately causes a JavaScript function to be executed
(with the available elements specified by "action" tag instances
nested within the body of the "actions" tag).
NOTE: The only valid nested content for this tag is
"action" tags from this library. Anything else will cause
the rendered HTML to be invalid.
NOTE: To be usable, this tag must be nested inside an
HTML &lt;form&gt; element.
</description>
<attribute>
<name>size</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
(Integer) number of rows that will be visible to the user. If
not specified, only one row will be visible.
</description>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The CSS style class to be applied to the entire rendered output
of the instant actions control. If not specified, no overall
style class is applied.
</description>
</attribute>
<attribute>
<name>label</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
HTML Label tag generation.
</description>
</attribute>
</tag>
<tag>
<name>action</name>
<tag-class>org.apache.webapp.admin.ActionTag</tag-class>
<body-content>JSP</body-content>
<description>
Define a single "instant action" option for the surrounding "actions"
tag. It is not valid to use this tag *except* when nested inside an
"actions" tag.
NOTE: The body content of this tag (which should be suitably
localized, if required by your application) is used as the
user-visible label for this action.
</description>
<attribute>
<name>selected</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
(Boolean) variable set to "true" or "yes" if this action should
already be selected when the "instant actions" element is
initially displayed.
</description>
</attribute>
<attribute>
<name>disabled</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
(Boolean) variable set to "true" or "yes" if the selection
for this action should be disabled.
</description>
</attribute>
<attribute>
<name>url</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The URL to which the current frame or window will be transferred
if the "onchange" event handler of this "instant actions" element
is triggered, and this is the currently selected action. If no
URL is specified, no action will be taken (useful for "(None)"
options and dividers).
If this URL starts with a slash, it will be assumed to be
context-relative, and will be prefixed with the context path
of this request. Otherwise, it will be used unmodified.
NOTE: This URL will be passed through URL rewriting so that it
will maintain session identity even in environments were cookies
are not being used.
</description>
</attribute>
</tag>
<!-- ========== Tree Control Tag ======================================== -->
<tag>
<name>tree</name>
<tag-class>org.apache.webapp.admin.TreeControlTag</tag-class>
<body-content>empty</body-content>
<description>
Render a "tree" control, based on the current state of a data object
of type org.apache.webapp.admin.TreeControl, which is identified
by the name specified in the "tree" attribute, in the JSP scope
specified by the "scope" attribute.
</description>
<attribute>
<name>action</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Hyperlink to which expand/contract actions should be sent,
with a string "${node}" marking where the node name of the
affected node should be included (which will usually be as
the value of a request parameter).
</description>
</attribute>
<attribute>
<name>images</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Name of a directory containing the images for our icons,
relative to the page including this tag. If not specified,
defaults to "images".
</description>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The JSP scope within which the "tree" attribute is to be found
(page, request, session, or application). If not specified, the
"tree" attribute will be searched for in any scope.
</description>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The CSS style class to be applied to the entire rendered output
of the tree control. If not specified, no overall style class
is applied.
</description>
</attribute>
<attribute>
<name>styleSelected</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The CSS style class to be applied to the text of any node that
is currently selected. If not specified, no style class will be
applied to the text of the selected node.
</description>
</attribute>
<attribute>
<name>styleUnselected</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The CSS style class to be applied to the text of any node that
is *not* currently selected. If not specified, no style class will
be applied to the text of non-selected nodes.
</description>
</attribute>
<attribute>
<name>tree</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Name of the attribute (in the scope specified by the "scope"
attribute, if any) under which an object of type
org.apache.webapp.admin.TreeControl is stored. This object
represents the entire current state of the tree, including
a representation of the hierarchical representation of the
nodes, plus the current expanded/ or contracted state of
non-leaf nodes.
</description>
</attribute>
</tag>
<!-- ========== JMX Attribute Display Tag =============================== -->
<tag>
<name>attribute</name>
<tag-class>org.apache.webapp.admin.AttributeTag</tag-class>
<body-content>empty</body-content>
<description>
Look up an attribute on a JMX MBean, specified by an object name
specified by the "name" (and optional "property" and "scope")
attributes, and render it to the current JSP writer. The object name
identified by these attributes can be either a java.lang.String version
of the name, or a javax.management.ObjectName instance.
</description>
<attribute>
<name>attribute</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<description>
Name of the attribute of the JMX MBean whose value is to be
retrieved and written to the current JSP writer.
</description>
</attribute>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<description>
Name of a bean, optionally in some scope identified by the "scope"
attribute. If the "property" attribute is not specified, this bean
must by a String or an ObjectName. Otherwise, this bean must have
a property getter for the property named by "property", which will
return the String or ObjectName.
</description>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Name of a bean property, on the bean identified by the "name"
(and optional "scope") attributes, that is either a String or an
ObjectName of the JMX MBean whose attribute is to be retrieved.
</description>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Name of the scope ("page", "request", "session", or "application")
in which the bean identified by the "name" attribute is to be found.
If not specified, all scopes will be searched in ascending order.
</description>
</attribute>
</tag>
</taglib>

Binary file not shown.

View file

@ -0,0 +1,382 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>bean</shortname>
<uri>http://jakarta.apache.org/struts/tags-bean</uri>
<tag>
<name>cookie</name>
<tagclass>org.apache.struts.taglib.bean.CookieTag</tagclass>
<teiclass>org.apache.struts.taglib.bean.CookieTei</teiclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>multiple</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>define</name>
<tagclass>org.apache.struts.taglib.bean.DefineTag</tagclass>
<teiclass>org.apache.struts.taglib.bean.DefineTei</teiclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>toScope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>header</name>
<tagclass>org.apache.struts.taglib.bean.HeaderTag</tagclass>
<teiclass>org.apache.struts.taglib.bean.HeaderTei</teiclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>multiple</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>include</name>
<tagclass>org.apache.struts.taglib.bean.IncludeTag</tagclass>
<teiclass>org.apache.struts.taglib.bean.IncludeTei</teiclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>anchor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>forward</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>href</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>page</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>transaction</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>message</name>
<tagclass>org.apache.struts.taglib.bean.MessageTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>arg0</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>arg1</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>arg2</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>arg3</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>arg4</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>bundle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>key</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>locale</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>page</name>
<tagclass>org.apache.struts.taglib.bean.PageTag</tagclass>
<teiclass>org.apache.struts.taglib.bean.PageTei</teiclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>parameter</name>
<tagclass>org.apache.struts.taglib.bean.ParameterTag</tagclass>
<teiclass>org.apache.struts.taglib.bean.ParameterTei</teiclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>multiple</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>resource</name>
<tagclass>org.apache.struts.taglib.bean.ResourceTag</tagclass>
<teiclass>org.apache.struts.taglib.bean.ResourceTei</teiclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>input</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>size</name>
<tagclass>org.apache.struts.taglib.bean.SizeTag</tagclass>
<teiclass>org.apache.struts.taglib.bean.SizeTei</teiclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>collection</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>struts</name>
<tagclass>org.apache.struts.taglib.bean.StrutsTag</tagclass>
<teiclass>org.apache.struts.taglib.bean.StrutsTei</teiclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>formBean</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>forward</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>mapping</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>write</name>
<tagclass>org.apache.struts.taglib.bean.WriteTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>bundle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>filter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>format</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>formatKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>ignore</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>locale</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,642 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>logic</shortname>
<uri>http://jakarta.apache.org/struts/tags-logic</uri>
<tag>
<name>empty</name>
<tagclass>org.apache.struts.taglib.logic.EmptyTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>equal</name>
<tagclass>org.apache.struts.taglib.logic.EqualTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>forward</name>
<tagclass>org.apache.struts.taglib.logic.ForwardTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>greaterEqual</name>
<tagclass>org.apache.struts.taglib.logic.GreaterEqualTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>greaterThan</name>
<tagclass>org.apache.struts.taglib.logic.GreaterThanTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>iterate</name>
<tagclass>org.apache.struts.taglib.logic.IterateTag</tagclass>
<teiclass>org.apache.struts.taglib.logic.IterateTei</teiclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>collection</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>indexId</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>length</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>offset</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>lessEqual</name>
<tagclass>org.apache.struts.taglib.logic.LessEqualTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>lessThan</name>
<tagclass>org.apache.struts.taglib.logic.LessThanTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>match</name>
<tagclass>org.apache.struts.taglib.logic.MatchTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>location</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>messagesNotPresent</name>
<tagclass>org.apache.struts.taglib.logic.MessagesNotPresentTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>message</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>messagesPresent</name>
<tagclass>org.apache.struts.taglib.logic.MessagesPresentTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>message</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>notEmpty</name>
<tagclass>org.apache.struts.taglib.logic.NotEmptyTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>notEqual</name>
<tagclass>org.apache.struts.taglib.logic.NotEqualTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>notMatch</name>
<tagclass>org.apache.struts.taglib.logic.NotMatchTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>location</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>notPresent</name>
<tagclass>org.apache.struts.taglib.logic.NotPresentTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>role</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>user</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>present</name>
<tagclass>org.apache.struts.taglib.logic.PresentTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>role</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>user</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>redirect</name>
<tagclass>org.apache.struts.taglib.logic.RedirectTag</tagclass>
<attribute>
<name>anchor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>forward</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>href</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>page</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>paramId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>paramName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>paramProperty</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>paramScope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>transaction</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

View file

@ -0,0 +1,819 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Tomcat Administration Application</display-name>
<description>
Tomcat HTML based administration web application.
</description>
<!-- Example filter to set character encoding on each request.
Uncomment this filter definition and the mapping to use
the filter to decode post and get parameters -->
<!--
<filter>
<filter-name>Set Character Encoding</filter-name>
<filter-class>filters.SetCharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF8</param-value>
</init-param>
</filter>
-->
<!-- Example filter mapping to apply the "Set Character Encoding" filter
to *all* requests processed by this web application -->
<!--
<filter-mapping>
<filter-name>Set Character Encoding</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-->
<!-- Action Servlet Configuration -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>
org.apache.webapp.admin.ApplicationServlet
</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>
org.apache.webapp.admin.ApplicationResources
</param-value>
</init-param>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>locale</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>nocache</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>validate</param-name>
<param-value>false</param-value>
</init-param>
<!-- Label to be displayed for rootnode. If absent, rootnode is not rendered -->
<!--
<init-param>
<param-name>rootnodename</param-name>
<param-value>Tomcat Root</param-value>
</init-param>
-->
<init-param>
<param-name>treebuilders</param-name>
<param-value>
org.apache.webapp.admin.TomcatTreeBuilder,
org.apache.webapp.admin.resources.ResourcesTreeBuilder,
org.apache.webapp.admin.users.UsersTreeBuilder
</param-value>
</init-param>
<init-param>
<param-name>domain</param-name>
<param-value>Catalina</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<!-- Action Servlet Mapping -->
<!-- JSPC servlet mappings start -->
<servlet>
<servlet-name>admin.header_jsp</servlet-name>
<servlet-class>admin.header_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.index_jsp</servlet-name>
<servlet-class>admin.index_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.saved_jsp</servlet-name>
<servlet-class>admin.saved_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.error_jsp</servlet-name>
<servlet-class>admin.error_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.banner_jsp</servlet-name>
<servlet-class>admin.banner_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.savefail_jsp</servlet-name>
<servlet-class>admin.savefail_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.blank_jsp</servlet-name>
<servlet-class>admin.blank_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.footer_jsp</servlet-name>
<servlet-class>admin.footer_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.tree_002dcontrol_002dtest_jsp</servlet-name>
<servlet-class>admin.tree_002dcontrol_002dtest_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.dumpServer_jsp</servlet-name>
<servlet-class>admin.dumpServer_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.dumpRegistry_jsp</servlet-name>
<servlet-class>admin.dumpRegistry_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.buttons_jsp</servlet-name>
<servlet-class>admin.buttons_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.frameset_jsp</servlet-name>
<servlet-class>admin.frameset_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.login_jsp</servlet-name>
<servlet-class>admin.login_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.connector.connectors_jsp</servlet-name>
<servlet-class>admin.connector.connectors_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.connector.connector_jsp</servlet-name>
<servlet-class>admin.connector.connector_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.context.context_jsp</servlet-name>
<servlet-class>admin.context.context_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.context.contexts_jsp</servlet-name>
<servlet-class>admin.context.contexts_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.defaultcontext.defaultcontext_jsp</servlet-name>
<servlet-class>admin.defaultcontext.defaultcontext_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.logger.logger_jsp</servlet-name>
<servlet-class>admin.logger.logger_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.logger.loggers_jsp</servlet-name>
<servlet-class>admin.logger.loggers_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.server.server_jsp</servlet-name>
<servlet-class>admin.server.server_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.service.services_jsp</servlet-name>
<servlet-class>admin.service.services_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.service.service_jsp</servlet-name>
<servlet-class>admin.service.service_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.host.host_jsp</servlet-name>
<servlet-class>admin.host.host_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.host.hosts_jsp</servlet-name>
<servlet-class>admin.host.hosts_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.host.aliases_jsp</servlet-name>
<servlet-class>admin.host.aliases_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.host.alias_jsp</servlet-name>
<servlet-class>admin.host.alias_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.users.footer_jsp</servlet-name>
<servlet-class>admin.users.footer_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.users.user_jsp</servlet-name>
<servlet-class>admin.users.user_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.users.listUsers_jsp</servlet-name>
<servlet-class>admin.users.listUsers_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.users.group_jsp</servlet-name>
<servlet-class>admin.users.group_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.users.deleteUsers_jsp</servlet-name>
<servlet-class>admin.users.deleteUsers_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.users.listRoles_jsp</servlet-name>
<servlet-class>admin.users.listRoles_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.users.listGroups_jsp</servlet-name>
<servlet-class>admin.users.listGroups_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.users.deleteGroups_jsp</servlet-name>
<servlet-class>admin.users.deleteGroups_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.users.header_jsp</servlet-name>
<servlet-class>admin.users.header_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.users.deleteRoles_jsp</servlet-name>
<servlet-class>admin.users.deleteRoles_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.users.role_jsp</servlet-name>
<servlet-class>admin.users.role_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.realm.userDatabaseRealm_jsp</servlet-name>
<servlet-class>admin.realm.userDatabaseRealm_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.realm.dataSourceRealm_jsp</servlet-name>
<servlet-class>admin.realm.dataSourceRealm_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.realm.jdbcRealm_jsp</servlet-name>
<servlet-class>admin.realm.jdbcRealm_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.realm.memoryRealm_jsp</servlet-name>
<servlet-class>admin.realm.memoryRealm_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.realm.realms_jsp</servlet-name>
<servlet-class>admin.realm.realms_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.realm.jndiRealm_jsp</servlet-name>
<servlet-class>admin.realm.jndiRealm_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.resourceLink_jsp</servlet-name>
<servlet-class>admin.resources.resourceLink_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.listResourceLinks_jsp</servlet-name>
<servlet-class>admin.resources.listResourceLinks_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.deleteResourceLinks_jsp</servlet-name>
<servlet-class>admin.resources.deleteResourceLinks_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.deleteDataSources_jsp</servlet-name>
<servlet-class>admin.resources.deleteDataSources_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.deleteEnvEntries_jsp</servlet-name>
<servlet-class>admin.resources.deleteEnvEntries_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.listDataSources_jsp</servlet-name>
<servlet-class>admin.resources.listDataSources_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.listEnvEntries_jsp</servlet-name>
<servlet-class>admin.resources.listEnvEntries_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.envEntry_jsp</servlet-name>
<servlet-class>admin.resources.envEntry_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.userDatabase_jsp</servlet-name>
<servlet-class>admin.resources.userDatabase_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.dataSource_jsp</servlet-name>
<servlet-class>admin.resources.dataSource_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.listUserDatabases_jsp</servlet-name>
<servlet-class>admin.resources.listUserDatabases_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.deleteUserDatabases_jsp</servlet-name>
<servlet-class>admin.resources.deleteUserDatabases_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.listMailSessions_jsp</servlet-name>
<servlet-class>admin.resources.listMailSessions_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.deleteMailSessions_jsp</servlet-name>
<servlet-class>admin.resources.deleteMailSessions_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.resources.mailSession_jsp</servlet-name>
<servlet-class>admin.resources.mailSession_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.valve.accessLogValve_jsp</servlet-name>
<servlet-class>admin.valve.accessLogValve_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.valve.remoteAddrValve_jsp</servlet-name>
<servlet-class>admin.valve.remoteAddrValve_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.valve.singleSignOnValve_jsp</servlet-name>
<servlet-class>admin.valve.singleSignOnValve_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.valve.remoteHostValve_jsp</servlet-name>
<servlet-class>admin.valve.remoteHostValve_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.valve.valves_jsp</servlet-name>
<servlet-class>admin.valve.valves_jsp</servlet-class>
</servlet>
<servlet>
<servlet-name>admin.valve.requestDumperValve_jsp</servlet-name>
<servlet-class>admin.valve.requestDumperValve_jsp</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>admin.header_jsp</servlet-name>
<url-pattern>/header.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.index_jsp</servlet-name>
<url-pattern>/index.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.saved_jsp</servlet-name>
<url-pattern>/saved.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.error_jsp</servlet-name>
<url-pattern>/error.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.banner_jsp</servlet-name>
<url-pattern>/banner.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.savefail_jsp</servlet-name>
<url-pattern>/savefail.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.blank_jsp</servlet-name>
<url-pattern>/blank.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.footer_jsp</servlet-name>
<url-pattern>/footer.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.tree_002dcontrol_002dtest_jsp</servlet-name>
<url-pattern>/tree-control-test.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.dumpServer_jsp</servlet-name>
<url-pattern>/dumpServer.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.dumpRegistry_jsp</servlet-name>
<url-pattern>/dumpRegistry.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.buttons_jsp</servlet-name>
<url-pattern>/buttons.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.frameset_jsp</servlet-name>
<url-pattern>/frameset.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.login_jsp</servlet-name>
<url-pattern>/login.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.connector.connectors_jsp</servlet-name>
<url-pattern>/connector/connectors.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.connector.connector_jsp</servlet-name>
<url-pattern>/connector/connector.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.context.context_jsp</servlet-name>
<url-pattern>/context/context.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.context.contexts_jsp</servlet-name>
<url-pattern>/context/contexts.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.defaultcontext.defaultcontext_jsp</servlet-name>
<url-pattern>/defaultcontext/defaultcontext.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.logger.logger_jsp</servlet-name>
<url-pattern>/logger/logger.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.logger.loggers_jsp</servlet-name>
<url-pattern>/logger/loggers.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.server.server_jsp</servlet-name>
<url-pattern>/server/server.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.service.services_jsp</servlet-name>
<url-pattern>/service/services.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.service.service_jsp</servlet-name>
<url-pattern>/service/service.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.host.host_jsp</servlet-name>
<url-pattern>/host/host.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.host.hosts_jsp</servlet-name>
<url-pattern>/host/hosts.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.host.aliases_jsp</servlet-name>
<url-pattern>/host/aliases.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.host.alias_jsp</servlet-name>
<url-pattern>/host/alias.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.users.footer_jsp</servlet-name>
<url-pattern>/users/footer.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.users.user_jsp</servlet-name>
<url-pattern>/users/user.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.users.listUsers_jsp</servlet-name>
<url-pattern>/users/listUsers.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.users.group_jsp</servlet-name>
<url-pattern>/users/group.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.users.deleteUsers_jsp</servlet-name>
<url-pattern>/users/deleteUsers.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.users.listRoles_jsp</servlet-name>
<url-pattern>/users/listRoles.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.users.listGroups_jsp</servlet-name>
<url-pattern>/users/listGroups.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.users.deleteGroups_jsp</servlet-name>
<url-pattern>/users/deleteGroups.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.users.header_jsp</servlet-name>
<url-pattern>/users/header.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.users.deleteRoles_jsp</servlet-name>
<url-pattern>/users/deleteRoles.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.users.role_jsp</servlet-name>
<url-pattern>/users/role.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.realm.userDatabaseRealm_jsp</servlet-name>
<url-pattern>/realm/userDatabaseRealm.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.realm.dataSourceRealm_jsp</servlet-name>
<url-pattern>/realm/dataSourceRealm.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.realm.jdbcRealm_jsp</servlet-name>
<url-pattern>/realm/jdbcRealm.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.realm.memoryRealm_jsp</servlet-name>
<url-pattern>/realm/memoryRealm.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.realm.realms_jsp</servlet-name>
<url-pattern>/realm/realms.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.realm.jndiRealm_jsp</servlet-name>
<url-pattern>/realm/jndiRealm.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.resourceLink_jsp</servlet-name>
<url-pattern>/resources/resourceLink.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.listResourceLinks_jsp</servlet-name>
<url-pattern>/resources/listResourceLinks.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.deleteResourceLinks_jsp</servlet-name>
<url-pattern>/resources/deleteResourceLinks.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.deleteDataSources_jsp</servlet-name>
<url-pattern>/resources/deleteDataSources.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.deleteEnvEntries_jsp</servlet-name>
<url-pattern>/resources/deleteEnvEntries.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.listDataSources_jsp</servlet-name>
<url-pattern>/resources/listDataSources.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.listEnvEntries_jsp</servlet-name>
<url-pattern>/resources/listEnvEntries.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.envEntry_jsp</servlet-name>
<url-pattern>/resources/envEntry.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.userDatabase_jsp</servlet-name>
<url-pattern>/resources/userDatabase.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.dataSource_jsp</servlet-name>
<url-pattern>/resources/dataSource.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.listUserDatabases_jsp</servlet-name>
<url-pattern>/resources/listUserDatabases.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.deleteUserDatabases_jsp</servlet-name>
<url-pattern>/resources/deleteUserDatabases.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.listMailSessions_jsp</servlet-name>
<url-pattern>/resources/listMailSessions.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.deleteMailSessions_jsp</servlet-name>
<url-pattern>/resources/deleteMailSessions.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.resources.mailSession_jsp</servlet-name>
<url-pattern>/resources/mailSession.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.valve.accessLogValve_jsp</servlet-name>
<url-pattern>/valve/accessLogValve.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.valve.remoteAddrValve_jsp</servlet-name>
<url-pattern>/valve/remoteAddrValve.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.valve.singleSignOnValve_jsp</servlet-name>
<url-pattern>/valve/singleSignOnValve.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.valve.remoteHostValve_jsp</servlet-name>
<url-pattern>/valve/remoteHostValve.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.valve.valves_jsp</servlet-name>
<url-pattern>/valve/valves.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>admin.valve.requestDumperValve_jsp</servlet-name>
<url-pattern>/valve/requestDumperValve.jsp</url-pattern>
</servlet-mapping>
<!-- JSPC servlet mappings end -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!-- Struts Tag Library Descriptors -->
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<!-- Security is active on entire directory -->
<security-constraint>
<display-name>Tomcat Server Configuration Security Constraint</display-name>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<!-- Define the context-relative URL(s) to be protected -->
<url-pattern>*.jsp</url-pattern>
<url-pattern>*.do</url-pattern>
<url-pattern>*.html</url-pattern>
</web-resource-collection>
<auth-constraint>
<!-- Anyone with one of the listed roles may access this area -->
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>
<!-- Login configuration uses form-based authentication -->
<login-config>
<auth-method>FORM</auth-method>
<realm-name>Tomcat Server Configuration Form-Based Authentication Area</realm-name>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/error.jsp</form-error-page>
</form-login-config>
</login-config>
<!-- Security roles referenced by this web application -->
<security-role>
<description>
The role that is required to log in to the Administration Application
</description>
<role-name>admin</role-name>
</security-role>
</web-app>

View file

@ -0,0 +1,95 @@
.masthead-title-text {
color: #FFFFFF;
margin: 3px 5px 5px 3px;
font-size: large;
font-family: Arial, Verdana,Helvetica, Sans-Serif;
}
.page-title-text {
color: #FFFFFF;
font-weight: bold;
margin: 3px 5px 5px 3px;
font-size: normal;
font-family: Arial, Verdana, Helvetica, Sans-Serif;
}
.table-title-text {
color: #000000;
font-weight: bold;
margin: 3px 5px 5px 4px;
font-family: Arial, Verdana, Helvetica, Sans-Serif;
}
.table-header-text {
color: #FFFFFF;
font-weight: normal;
margin: 3px 5px 1px 15px;
font-family: Arial, Verdana,Helvetica, Sans-Serif;
}
.table-label-text {
color: #000000;
margin: 3px 5px 3px 15px;
font-family: Arial, Verdana, Helvetica, Sans-Serif;
}
.table-normal-text {
color: #000000;
margin: 3px 5px 3px 15px;
font-family: "Times New Roman", Times, serif;
}
.back-table {
background-color: #9999CC;
margin: 0px 5px 3px 5px;
font-family: Verdana, Arial, Helvetica, Sans-Serif;
}
.front-table {
background-color: #FFFFFF;
font-family: Arial, Verdana, Helvetica, Sans-Serif;
}
.page-title-row {
background-color: #7171A5;
text-align: right;
font-family: Arial, Verdana, Helvetica, Sans-Serif;
}
.header-row {
background-color: #9999CC;
text-align: center;
font-family: Arial, Verdana, Helvetica, Sans-Serif;
}
.sort-row {
background-color: #CECEFF;
text-align: center;
font-family: Arial, Verdana, Helvetica, Sans-Serif;
}
.line-row {
background-color: #CCCCCC;
font-family: Arial, Verdana, Helvetica, Sans-Serif;
}
.button {
background-color: #CCCCFF;
font-family: Arial, Verdana, Helvetica, Sans-Serif;
}
a.button-link-text:visited, a.button-link-text:link, a.button-link-text:active {
color: #000000;
background-color: #CCCCFF;
font-weight: bold;
font-family: Arial, Verdana, Geneva, Helvetica, Sans-Serif;
text-decoration: none;
}
a.button-link-text:hover {
color: #000000;
background-color: #CCCCFF;
font-weight: bold;
font-family: Arial, Verdana, Geneva, Helvetica, Sans-Serif;
text-decoration: underline;
}

View file

@ -0,0 +1,24 @@
<!--
Context configuration file for the Tomcat Administration Web App
$Id: admin.xml,v 1.1 2005/02/21 06:54:34 amontano Exp $
-->
<Context path="/admin" docBase="${catalina.home}/server/webapps/admin"
debug="0" privileged="true">
<!-- Uncomment this Valve to limit access to the Admin app to localhost
for obvious security reasons. Allow may be a comma-separated list of
hosts (or even regular expressions).
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127.0.0.1"/>
-->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_admin_log." suffix=".txt"
timestamp="true"/>
</Context>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 B

View file

@ -0,0 +1,50 @@
<%-- DataSources List --%>
<table class="back-table" border="0" cellspacing="0" cellpadding="1"
width="100%"><tr><td>
<table class="front-table" border="1"
cellspacing="0" cellpadding="0" width="100%">
<tr class="header-row">
<logic:present name="checkboxes">
<td width="5%"><div align="left" class="table-header-text">
&nbsp;
</td>
</logic:present>
<th scope="col" width="20%"><div align="left" class="table-header-text">
<bean:message key="resources.datasrc.jndi"/>
</div></th>
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="resources.datasrc.jdbcclass"/>
</div></th>
</tr>
<logic:iterate name="dataSourcesForm" property="dataSources"
id="dataSource" type="java.lang.String">
<tr class="line-row">
<logic:present name="checkboxes">
<td scope="row"><div align="center" class="table-normal-text">
<label for="dataSources"></label>
<input type="checkbox" name="dataSources"
value="<%= dataSource %>" styleId="dataSources">
</td>
</logic:present>
<td scope="row"><div align="left" class="table-normal-text">
<html:link page='<%= "/resources/setUpDataSource.do?objectName=" +
URLEncoder.encode(dataSource) + "&resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo) %>'>
<controls:attribute name="dataSource" attribute="name"/>
</html:link>
</div></td>
<td scope="row"><div align="left" class="table-normal-text">&nbsp;
<controls:attribute name="dataSource" attribute="driverClassName"/>
</div></td>
</tr>
</logic:iterate>
</table>
</td></tr></table>

View file

@ -0,0 +1,56 @@
<%-- Env Entries List --%>
<table class="back-table" border="0" cellspacing="0" cellpadding="1"
width="100%"><tr><td>
<table class="front-table" border="1"
cellspacing="0" cellpadding="0" width="100%">
<tr class="header-row">
<logic:present name="checkboxes">
<td width="5%"><div align="left" class="table-header-text">
&nbsp;
</td>
</logic:present>
<th scope="col" width="20%"><div align="left" class="table-header-text">
<bean:message key="resources.env.entry"/>
</div></th>
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="service.value"/>
</div></th>
<th scop="col"><div align="left" class="table-header-text">
<bean:message key="users.list.description"/>
</div></th>
</tr>
<logic:iterate name="envEntriesForm" property="envEntries"
id="envEntry" type="java.lang.String">
<tr class="line-row">
<logic:present name="checkboxes">
<td scope="row"><div align="center" class="table-normal-text">
<label for="envEntries"></label>
<input type="checkbox" name="envEntries"
value="<%= envEntry %>" styleId="envEntries">
</td>
</logic:present>
<td><div align="left" class="table-normal-text">
<html:link page='<%= "/resources/setUpEnvEntry.do?objectName=" +
URLEncoder.encode(envEntry) + "&resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo) %>'>
<controls:attribute name="envEntry" attribute="name"/>
</html:link>
</div></td>
<td><div align="left" class="table-normal-text">&nbsp;
<controls:attribute name="envEntry" attribute="value"/>
</div></td>
<td><div align="left" class="table-normal-text">&nbsp;
<controls:attribute name="envEntry" attribute="description"/>
</div></td>
</tr>
</logic:iterate>
</table>
</td></tr></table>

View file

@ -0,0 +1,32 @@
<td align="right" nowrap>
<div class="page-title-text">
<controls:actions label="Data Source Actions">
<controls:action selected="true">
----<bean:message key="actions.available.actions"/>----
</controls:action>
<controls:action disabled="true">
---------------------------------
</controls:action>
<controls:action url='<%= "/resources/setUpDataSource.do?resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo)%>'>
<bean:message key="resources.actions.datasrc.create"/>
</controls:action>
<controls:action url='<%= "/resources/listDataSources.do?resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo) + "&forward=" +
URLEncoder.encode("DataSources Delete List") %>'>
<bean:message key="resources.actions.datasrc.delete"/>
</controls:action>
</controls:actions>
</div>
</td>

View file

@ -0,0 +1,32 @@
<td align="right" nowrap>
<div class="page-title-text">
<controls:actions label="Environment Entry Actions">
<controls:action selected="true">
----<bean:message key="actions.available.actions"/>----
</controls:action>
<controls:action disabled="true">
---------------------------------
</controls:action>
<controls:action url='<%= "/resources/setUpEnvEntry.do?resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo) %>'>
<bean:message key="resources.actions.env.create"/>
</controls:action>
<controls:action url='<%= "/resources/listEnvEntries.do?resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo) + "&forward="+
URLEncoder.encode("EnvEntries Delete List") %>'>
<bean:message key="resources.actions.env.delete"/>
</controls:action>
</controls:actions>
</div>
</td>

View file

@ -0,0 +1,32 @@
<td align="right" nowrap>
<div class="page-title-text">
<controls:actions label="Mail Session Actions">
<controls:action selected="true">
----<bean:message key="actions.available.actions"/>----
</controls:action>
<controls:action disabled="true">
---------------------------------
</controls:action>
<controls:action url='<%= "/resources/setUpMailSession.do?resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo) %>'>
<bean:message key="resources.actions.mailsession.create"/>
</controls:action>
<controls:action url='<%= "/resources/listMailSessions.do?resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo) + "&forward=" +
URLEncoder.encode("MailSessions Delete List") %>'>
<bean:message key="resources.actions.mailsession.delete"/>
</controls:action>
</controls:actions>
</div>
</td>

View file

@ -0,0 +1,32 @@
<td align="right" nowrap>
<div class="page-title-text">
<controls:actions label="Resource Link Actions">
<controls:action selected="true">
----<bean:message key="actions.available.actions"/>----
</controls:action>
<controls:action disabled="true">
---------------------------------
</controls:action>
<controls:action url='<%= "/resources/setUpResourceLink.do?resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo) %>'>
<bean:message key="resources.actions.resourcelk.create"/>
</controls:action>
<controls:action url='<%= "/resources/listResourceLinks.do?resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo) +"&forward=" +
URLEncoder.encode("ResourceLinks Delete List") %>'>
<bean:message key="resources.actions.resourcelk.delete"/>
</controls:action>
</controls:actions>
</div>
</td>

View file

@ -0,0 +1,26 @@
<td align="right" nowrap>
<div class="page-title-text">
<controls:actions label="User Database Actions">
<controls:action selected="true">
----<bean:message key="actions.available.actions"/>----
</controls:action>
<controls:action disabled="true">
---------------------------------
</controls:action>
<controls:action url='<%= "/resources/setUpUserDatabase.do?domain=" +
URLEncoder.encode(domainInfo) %>'>
<bean:message key="resources.actions.userdb.create"/>
</controls:action>
<controls:action url='<%= "/resources/listUserDatabases.do?domain=" +
URLEncoder.encode(domainInfo) + "&forward=" +
URLEncoder.encode("UserDatabases Delete List") %>'>
<bean:message key="resources.actions.userdb.delete"/>
</controls:action>
</controls:actions>
</div>
</td>

View file

@ -0,0 +1,50 @@
<%-- MailSessions List --%>
<table class="back-table" border="0" cellspacing="0" cellpadding="1"
width="100%"><tr><td>
<table class="front-table" border="1"
cellspacing="0" cellpadding="0" width="100%">
<tr class="header-row">
<logic:present name="checkboxes">
<td width="5%"><div align="left" class="table-header-text">
&nbsp;
</td>
</logic:present>
<th scope="col" width="20%"><div align="left" class="table-header-text">
<bean:message key="resources.mailsession.name"/>
</div></th>
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="resources.mailsession.mailhost"/>
</div></th>
</tr>
<logic:iterate name="mailSessionsForm" property="mailSessions"
id="mailSession" type="java.lang.String">
<tr class="line-row">
<logic:present name="checkboxes">
<td scope="row"><div align="center" class="table-normal-text">
<label for="mailSessions"></label>
<input type="checkbox" name="mailSessions"
value="<%= mailSession %>" styleId="mailSessions">
</td>
</logic:present>
<td scope="row"><div align="left" class="table-normal-text">
<html:link page='<%= "/resources/setUpMailSession.do?objectName=" +
URLEncoder.encode(mailSession) + "&resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo) %>'>
<controls:attribute name="mailSession" attribute="name"/>
</html:link>
</div></td>
<td scope="row"><div align="left" class="table-normal-text">&nbsp;
<controls:attribute name="mailSession" attribute="mail.smtp.host"/>
</div></td>
</tr>
</logic:iterate>
</table>
</td></tr></table>

View file

@ -0,0 +1,48 @@
<%-- ResourceLinks List --%>
<table class="back-table" border="0" cellspacing="0" cellpadding="1"
width="100%"><tr><td>
<table class="front-table" border="1"
cellspacing="0" cellpadding="0" width="100%">
<tr class="header-row">
<logic:present name="checkboxes">
<td width="5%"><div align="left" class="table-header-text">
&nbsp;
</td>
</logic:present>
<th scope="col" width="20%"><div align="left" class="table-header-text">
<bean:message key="resources.resourcelk.name"/>
</div></th>
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="resources.resourcelk.global"/>
</div></th>
</tr>
<logic:iterate name="resourceLinksForm" property="resourceLinks"
id="resourceLink" type="java.lang.String">
<tr class="line-row">
<logic:present name="checkboxes">
<td scope="row"><div align="center" class="table-normal-text">
<label for="resourceLinks"></label>
<input type="checkbox" name="resourceLinks"
value="<%= resourceLink %>" styleId="resourceLinks">
</td>
</logic:present>
<td scope="row"><div align="left" class="table-normal-text">
<html:link page='<%= "/resources/setUpResourceLink.do?objectName=" +
URLEncoder.encode(resourceLink) + "&resourcetype=" +
URLEncoder.encode(resourcetypeInfo) + "&path="+
URLEncoder.encode(pathInfo) + "&host="+
URLEncoder.encode(hostInfo) + "&domain="+
URLEncoder.encode(domainInfo) %>'>
<controls:attribute name="resourceLink" attribute="name"/>
</html:link>
</div></td>
<td scope="row"><div align="left" class="table-normal-text">&nbsp;
<controls:attribute name="resourceLink" attribute="global"/>
</div></td>
</tr>
</logic:iterate>
</table>
</td></tr></table>

View file

@ -0,0 +1,65 @@
<%-- Env Entries List --%>
<table class="back-table" border="0" cellspacing="0" cellpadding="1"
width="100%"><tr><td>
<table class="front-table" border="1"
cellspacing="0" cellpadding="0" width="100%">
<tr class="header-row">
<logic:present name="checkboxes">
<td width="5%"><div align="left" class="table-header-text">
&nbsp;
</td>
</logic:present>
<th scope="col" width="20%"><div align="left" class="table-header-text">
<bean:message key="service.name"/>
</div></th>
<%--
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="resources.userdb.location"/>
</div></th>
--%>
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="users.list.description"/>
</div></th>
</tr>
<logic:iterate name="userDatabasesForm" property="userDatabases"
id="userDatabase" type="java.lang.String">
<tr class="line-row">
<logic:present name="checkboxes">
<td scope="row"><div align="center" class="table-normal-text">
<logic:match name="userDatabase"
value="name=UserDatabase">
<font color='red'>*</font>
</logic:match>
<logic:notMatch name="userDatabase"
value="name=UserDatabase">
<label for="userDatabases"></label>
<html:multibox property="userDatabases"
value="userDatabase" styleId="userDatabases"/>
</logic:notMatch>
<!--input type="checkbox" name="userDatabases"
value="<%= userDatabase %>" styleId="userDatabases"-->
</td>
</logic:present>
<td scope="row"><div align="left" class="table-normal-text">
<html:link page='<%= "/resources/setUpUserDatabase.do?objectName=" +
URLEncoder.encode(userDatabase) + "&domain=" +
URLEncoder.encode(domainInfo) %>'>
<controls:attribute name="userDatabase" attribute="name"/>
</html:link>
</div></td>
<%-- FIX ME -- commentred out for now as the page was looking too crowded.
<td scope="row"><div align="left" class="table-normal-text">
<controls:attribute name="userDatabase" attribute="pathname"/>
</div></td>
--%>
<td scope="row"><div align="left" class="table-normal-text">
<controls:attribute name="userDatabase" attribute="description"/>
</div></td>
</tr>
</logic:iterate>
</table>
</td></tr></table>

View file

@ -0,0 +1,19 @@
.tree-control {
font-family: arial, verdana, geneva, helvetica, sans-serif;
font-size: 80%;
line-height: 1.0;
}
.tree-control-selected {
color: black;
font-weight: bold;
text-decoration: none;
}
.tree-control-unselected {
color: black;
font-style: normal;
font-weight: normal;
text-decoration: none;
}

View file

@ -0,0 +1,54 @@
<%-- Groups List --%>
<table class="back-table" border="0" cellspacing="0" cellpadding="1"
width="100%"><tr><td>
<table class="front-table" border="1"
cellspacing="0" cellpadding="0" width="100%">
<tr class="header-row">
<logic:present name="checkboxes">
<th scope="col" width="5%"><div align="left" class="table-header-text">
&nbsp;
</th>
</logic:present>
<th scope="col" width="20%"><div align="left" class="table-header-text">
<bean:message key="users.list.groupname"/>
</div></th>
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="users.list.description"/>
</div></th>
</tr>
<logic:present name="groupsForm">
<logic:iterate name="groupsForm" property="groups"
id="group" type="java.lang.String">
<tr class="line-row">
<logic:present name="checkboxes">
<td scope="row"><div align="center" class="table-normal-text">
<logic:present name="userForm">
<label for="groups"></label>
<html:multibox property="groups" value="<%= group %>" styleId="groups"/>
</logic:present>
<logic:notPresent name="userForm">
<label for="groups"></label>
<input type="checkbox" name="groups"
value="<%= group %>" styleId="groups">
</logic:notPresent>
</td>
</logic:present>
<td scope="row"><div align="left" class="table-normal-text">&nbsp;
<html:link page='<%= "/users/setUpGroup.do?objectName=" +
URLEncoder.encode(group) +
"&databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) %>'>
<controls:attribute name="group" attribute="groupname"/>
</html:link>
</div></td>
<td scope="row"><div align="left" class="table-normal-text">&nbsp;
<controls:attribute name="group" attribute="description"/>
</div></td>
</tr>
</logic:iterate>
</logic:present>
</table>
</td></tr></table>

View file

@ -0,0 +1,32 @@
<td align="right" nowrap>
<div class="page-title-text">
<controls:actions label="Group Actions">
<controls:action selected="true">
----<bean:message key="actions.available.actions"/>----
</controls:action>
<controls:action>
---------------------------------
</controls:action>
<controls:action url='<%= "/users/setUpGroup.do?databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) %>'>
<bean:message key="users.actions.group.create"/>
</controls:action>
<controls:action url='<%= "/users/listGroups.do?databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) +
"&forward=" + URLEncoder.encode("Groups Delete List") %>'>
<bean:message key="users.actions.group.delete"/>
</controls:action>
<controls:action url='<%= "/users/listGroups.do?databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) +
"&forward=" + URLEncoder.encode("Groups List") %>'>
<bean:message key="users.actions.group.list"/>
</controls:action>
</controls:actions>
</div>
</td>

View file

@ -0,0 +1,32 @@
<td align="right" nowrap>
<div class="page-title-text">
<controls:actions label="Role Actions">
<controls:action selected="true">
----<bean:message key="actions.available.actions"/>----
</controls:action>
<controls:action>
---------------------------------
</controls:action>
<controls:action url='<%= "/users/setUpRole.do?databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) %>'>
<bean:message key="users.actions.role.create"/>
</controls:action>
<controls:action url='<%= "/users/listRoles.do?databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) +
"&forward=" + URLEncoder.encode("Roles Delete List") %>'>
<bean:message key="users.actions.role.delete"/>
</controls:action>
<controls:action url='<%= "/users/listRoles.do?databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) +
"&forward=" + URLEncoder.encode("Roles List") %>'>
<bean:message key="users.actions.role.list"/>
</controls:action>
</controls:actions>
</div>
</td>

View file

@ -0,0 +1,32 @@
<td align="right" nowrap>
<div class="page-title-text">
<controls:actions label="User Actions">
<controls:action selected="true">
----<bean:message key="actions.available.actions"/>----
</controls:action>
<controls:action>
---------------------------------
</controls:action>
<controls:action url='<%= "/users/setUpUser.do?databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) %>'>
<bean:message key="users.actions.user.create"/>
</controls:action>
<controls:action url='<%= "/users/listUsers.do?databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) +
"&forward=" + URLEncoder.encode("Users Delete List") %>'>
<bean:message key="users.actions.user.delete"/>
</controls:action>
<controls:action url='<%= "/users/listUsers.do?databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) +
"&forward=" + URLEncoder.encode("Users List") %>'>
<bean:message key="users.actions.user.list"/>
</controls:action>
</controls:actions>
</div>
</td>

View file

@ -0,0 +1,60 @@
<%-- Roles List --%>
<table class="back-table" border="0" cellspacing="0" cellpadding="1"
width="100%"><tr><td>
<table class="front-table" border="1"
cellspacing="0" cellpadding="0" width="100%">
<tr class="header-row">
<logic:present name="checkboxes">
<td width="5%"><div align="left" class="table-header-text">
&nbsp;
</td>
</logic:present>
<th scope="col" width="20%"><div align="left" class="table-header-text">
<bean:message key="users.list.rolename"/>
</div></th>
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="users.list.description"/>
</div></th>
</tr>
<logic:present name="rolesForm">
<logic:iterate name="rolesForm" property="roles"
id="role" type="java.lang.String">
<tr class="line-row">
<logic:present name="checkboxes">
<td scope="row"><div align="center" class="table-normal-text">
<logic:present name="groupForm">
<label for="roles"></label>
<html:multibox property="roles" value="<%= role %>" styleId="roles"/>
</logic:present>
<logic:present name="userForm">
<label for="roles"></label>
<html:multibox property="roles" value="<%= role %>" styleId="roles"/>
</logic:present>
<logic:notPresent name="groupForm">
<logic:notPresent name="userForm">
<label for="roles"></label>
<input type="checkbox" name="roles"
value="<%= role %>" styleId="roles">
</logic:notPresent>
</logic:notPresent>
</td>
</logic:present>
<td scope="row"><div align="left" class="table-normal-text">&nbsp;
<html:link page='<%= "/users/setUpRole.do?objectName=" +
URLEncoder.encode(role) +
"&databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) %>'>
<controls:attribute name="role" attribute="rolename"/>
</html:link>
</div></td>
<td scope="row"><div align="left" class="table-normal-text">&nbsp;
<controls:attribute name="role" attribute="description"/>
</div></td>
</tr>
</logic:iterate>
</logic:present>
</table>
</td></tr></table>

View file

@ -0,0 +1,46 @@
<%-- Users List --%>
<table class="back-table" border="0" cellspacing="0" cellpadding="1"
width="100%"><tr><td>
<table class="front-table" border="1"
cellspacing="0" cellpadding="0" width="100%">
<tr class="header-row">
<logic:present name="checkboxes">
<td width="5%"><div align="left" class="table-header-text">
&nbsp;
</td>
</logic:present>
<th scope="col" width="20%"><div align="left" class="table-header-text">
<bean:message key="users.list.username"/>
</div></th>
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="users.list.fullName"/>
</div></th>
</tr>
<logic:iterate name="usersForm" property="users"
id="user" type="java.lang.String">
<tr class="line-row">
<logic:present name="checkboxes">
<td scope="row"><div align="center" class="table-normal-text">
<label for="users"></label>
<input type="checkbox" name="users"
value="<%= user %>" styleId="users">
</td>
</logic:present>
<td scope="row"><div align="left" class="table-normal-text">&nbsp;
<html:link page='<%= "/users/setUpUser.do?objectName=" +
URLEncoder.encode(user) +
"&databaseName=" +
URLEncoder.encode(request.getParameter("databaseName")) %>'>
<controls:attribute name="user" attribute="username"/>
</html:link>
</div></td>
<td scope="row"><div align="left" class="table-normal-text">&nbsp;
<controls:attribute name="user" attribute="fullName"/>
</div></td>
</tr>
</logic:iterate>
</table>
</td></tr></table>

View file

@ -0,0 +1,172 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Tomcat Manager Application</display-name>
<description>
A scriptable management web application for the Tomcat Web Server;
Manager lets you view, load/unload/etc particular web applications.
</description>
<!-- Define the Manager Servlet
Change servlet-class to: org.apache.catalina.servlets.HTMLManagerServlet
to get a Servlet with a more intuitive HTML interface, don't change if you
have software that is expected to parse the output from ManagerServlet
since they're not compatible.
-->
<servlet>
<servlet-name>Manager</servlet-name>
<servlet-class>org.apache.catalina.manager.ManagerServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>HTMLManager</servlet-name>
<servlet-class>org.apache.catalina.manager.HTMLManagerServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>Status</servlet-name>
<servlet-class>org.apache.catalina.manager.StatusManagerServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>JMXProxy</servlet-name>
<servlet-class>org.apache.catalina.manager.JMXProxyServlet</servlet-class>
</servlet>
<!-- Define the Manager Servlet Mapping -->
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/list</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/sessions</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/start</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/stop</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/install</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/remove</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/deploy</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/undeploy</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/reload</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/save</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/serverinfo</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/roles</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Manager</servlet-name>
<url-pattern>/resources</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Status</servlet-name>
<url-pattern>/status/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>JMXProxy</servlet-name>
<url-pattern>/jmxproxy/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>HTMLManager</servlet-name>
<url-pattern>/html/*</url-pattern>
</servlet-mapping>
<!-- Define reference to the user database for looking up roles -->
<resource-env-ref>
<description>
Link to the UserDatabase instance from which we request lists of
defined role names. Typically, this will be connected to the global
user database with a ResourceLink element in server.xml or the context
configuration file for the Manager web application.
</description>
<resource-env-ref-name>users</resource-env-ref-name>
<resource-env-ref-type>
org.apache.catalina.UserDatabase
</resource-env-ref-type>
</resource-env-ref>
<!-- Define a Security Constraint on this Application -->
<security-constraint>
<web-resource-collection>
<web-resource-name>HTMLManger and Manager command</web-resource-name>
<url-pattern>/jmxproxy/*</url-pattern>
<url-pattern>/html/*</url-pattern>
<url-pattern>/list</url-pattern>
<url-pattern>/sessions</url-pattern>
<url-pattern>/start</url-pattern>
<url-pattern>/stop</url-pattern>
<url-pattern>/install</url-pattern>
<url-pattern>/remove</url-pattern>
<url-pattern>/deploy</url-pattern>
<url-pattern>/undeploy</url-pattern>
<url-pattern>/reload</url-pattern>
<url-pattern>/save</url-pattern>
<url-pattern>/serverinfo</url-pattern>
<url-pattern>/status/*</url-pattern>
<url-pattern>/roles</url-pattern>
<url-pattern>/resources</url-pattern>
</web-resource-collection>
<auth-constraint>
<!-- NOTE: This role is not present in the default users file -->
<role-name>manager</role-name>
</auth-constraint>
</security-constraint>
<!-- Define the Login Configuration for this Application -->
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Tomcat Manager Application</realm-name>
</login-config>
<!-- Security roles referenced by this web application -->
<security-role>
<description>
The role that is required to log in to the Manager Application
</description>
<role-name>manager</role-name>
</security-role>
</web-app>

View file

@ -0,0 +1,518 @@
<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>The Apache Jakarta Tomcat 5 Servlet/JSP Container - Tomcat Web Application Manager How To</title><meta value="Glenn L. Nielsen" name="author"><meta value="glenn@apache.org" name="email"></head><body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff"><table cellspacing="4" width="100%" border="0"><!--PAGE HEADER--><tr><td colspan="2"><!--JAKARTA LOGO--><a href="http://jakarta.apache.org/"><img border="0" alt="The Jakarta Project" align="left" src="./images/jakarta-logo.gif"></a><!--PROJECT LOGO--><a href="http://jakarta.apache.org/tomcat/"><img border="0" alt="
The Apache Jakarta Tomcat Servlet/JSP Container
" align="right" src="./images/tomcat.gif"></a></td></tr><!--HEADER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade="noshade"></td></tr><tr><!--RIGHT SIDE MAIN BODY--><td align="left" valign="top" width="80%"><table cellspacing="4" width="100%" border="0"><tr><td nowrap="true" valign="top" align="left"><h1>The Apache Jakarta Tomcat 5 Servlet/JSP Container</h1><h2>Tomcat Web Application Manager How To</h2></td><td nowrap="true" valign="top" align="right"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>
<p>In many production environments it is very useful to have the capability
to manage your web applications without having to shut down and restart
Tomcat. This document is for the HTML web interface to the web application
manager.</p>
<p>The interface is divided into five sections:
<ul>
<li><strong>Message</strong> - Displays success and failure messages.</li>
<li><strong>Manager</strong> - General manager operations like list and
help.</li>
<li><strong>Applications</strong> - List of web applications and
commands.</li>
<li><strong>Deploy</strong> - Deploying web applications.</li>
<li><strong>Server Information</strong> - Information about the Tomcat
server.</li>
</ul>
</p>
</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Message"><strong>Message</strong></a></font></td></tr><tr><td><blockquote>
<p>
Displays information about the success or failure of the last web application
manager command you performed. If it succeeded <strong>OK</strong> is displayed
and may be followed by a success message. If it failed <strong>FAIL</strong>
is displayed followed by an error message. Common failure messages are
documented below for each command. The complete list of failure messages for
each command can be found in the manager web
application documentation.
</p>
</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Manager"><strong>Manager</strong></a></font></td></tr><tr><td><blockquote>
<p>The Manager section has three links:
<ul>
<li><strong>List Applications</strong> - Redisplay a list of web
applications.</li>
<li><strong>HTML Manager Help</strong> - A link to this document.</li>
<li><strong>Manager Help</strong> - A link to the comprehensive Manager
App HOW TO.</li>
</ul>
</p>
</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Applications"><strong>Applications</strong></a></font></td></tr><tr><td><blockquote>
<p>The Applications section lists information about all the installed web
applications and provides links for managing them. For each web application
the following is displayed:
<ul>
<li><strong>Path</strong> - The web applicaton context path.</li>
<li><strong>Display Name</strong> - The display name for the web application
if it has one configured in its "web.xml" file.</li>
<li><strong>Running</strong> - Whether the web application is running and
available (true), or not running and unavailable (false).</li>
<li><strong>Sessions</strong> - The number of active sessions for remote
users of this web application. The number of sessions is a link which
when submitted displays more details about session usage by the web
application in the Message box.</li>
<li><strong>Commands</strong> - Lists all commands which can be performed on
the web application. Only those commands which can be performed will be
listed as a link which can be submitted. No commands can be performed on
the manager web application itself. The following commands can be
performed:
<ul>
<li><strong>Start</strong> - Start a web application which had been
stopped.</li>
<li><strong>Stop</strong> - Stop a web application which is currently
running and make it unavailable.</li>
<li><strong>Reload</strong> - Reload the web application so that new
".jar" files in <code>/WEB-INF/lib/</code> or new classes in
<code>/WEB-INF/classes/</code> can be used.</li>
<li><strong>Undeploy</strong> - Stop and then remove this web
application from the server.</li>
</ul>
</li>
</ul>
</p>
<table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Start"><strong>Start</strong></a></font></td></tr><tr><td><blockquote>
<p>Signal a stopped application to restart, and make itself available again.
Stopping and starting is useful, for example, if the database required by
your application becomes temporarily unavailable. It is usually better to
stop the web application that relies on this database rather than letting
users continuously encounter database exceptions.</p>
<p>If this command succeeds, you will see a Message like this:</p>
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
OK - Started application at context path /examples
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
<p>Otherwise, the Message will start with <code>FAIL</code> and include an
error message. Possible causes for problems include:
<ul>
<li><em>Encountered exception</em>
<blockquote>
<p>An exception was encountered trying to start the web application.
Check the Tomcat 5 logs for the details.</p>
</blockquote></li>
<li><em>Invalid context path was specified</em>
<blockquote>
<p>The context path must start with a slash character, unless you are
referencing the ROOT web application -- in which case the context path
must be a zero-length string.</p>
</blockquote></li>
<li><em>No context exists for path /foo</em>
<blockquote>
<p>There is no deployed application on the context path
that you specified.</p>
</blockquote></li>
<li><em>No context path was specified</em>
<blockquote>
The <code>path</code> parameter is required.
</blockquote></li>
</ul>
</p>
</blockquote></td></tr></table>
<table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Stop"><strong>Stop</strong></a></font></td></tr><tr><td><blockquote>
<p>Signal an existing application to make itself unavailable, but leave it
deployed. Any request that comes in while an application is
stopped will see an HTTP error 404, and this application will show as
"stopped" on a list applications command.</p>
<p>If this command succeeds, you will see a Message like this:</p>
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
OK - Stopped application at context path /examples
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
<p>Otherwise, the Message will start with <code>FAIL</code> and include an
error message. Possible causes for problems include:
<ul>
<li><em>Encountered exception</em>
<blockquote>
<p>An exception was encountered trying to stop the web application.
Check the Tomcat 5 logs for the details.</p>
</blockquote></li>
<li><em>Invalid context path was specified</em>
<blockquote>
<p>The context path must start with a slash character, unless you are
referencing the ROOT web application -- in which case the context path
must be a zero-length string.</p>
</blockquote></li>
<li><em>No context exists for path /foo</em>
<blockquote>
<p>There is no deployed application on the context path
that you specified.</p>
</blockquote></li>
<li><em>No context path was specified</em>
<blockquote>
The <code>path</code> parameter is required.
</blockquote></li>
</ul>
</p>
</blockquote></td></tr></table>
<table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Reload"><strong>Reload</strong></a></font></td></tr><tr><td><blockquote>
<p>Signal an existing application to shut itself down and reload. This can
be useful when the web application context is not reloadable and you have
updated classes or property files in the <code>/WEB-INF/classes</code>
directory or when you have added or updated jar files in the
<code>/WEB-INF/lib</code> directory.
</p>
<p><strong>NOTE:</strong> The <code>/WEB-INF/web.xml</code>
web application configuration file is not checked on a reload;
the previous web.xml configuration is used.
If you have made changes to your web.xml file you must stop
then start the web application.
</p>
<p>If this command succeeds, you will see a Message like this:</p>
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
OK - Reloaded application at context path /examples
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
<p>Otherwise, the Message will start with <code>FAIL</code> and include an
error message. Possible causes for problems include:
<ul>
<li><em>Encountered exception</em>
<blockquote>
<p>An exception was encountered trying to restart the web application.
Check the Tomcat 5 logs for the details.</p>
</blockquote></li>
<li><em>Invalid context path was specified</em>
<blockquote>
<p>The context path must start with a slash character, unless you are
referencing the ROOT web application -- in which case the context path
must be a zero-length string.</p>
</blockquote></li>
<li><em>No context exists for path /foo</em>
<blockquote>
<p>There is no deployed application on the context path
that you specified.</p>
</blockquote></li>
<li><em>No context path was specified</em>
<blockquote>
The <code>path</code> parameter is required.
</blockquote></li>
<li><em>Reload not supported on WAR deployed at path /foo</em>
<blockquote>
Currently, application reloading (to pick up changes to the classes or
<code>web.xml</code> file) is not supported when a web application is
installed directly from a WAR file, which happens when the host is
configured to not unpack WAR files. As it only works when the web
application is installed from an unpacked directory, if you are using
a WAR file, you should <code>undeploy</code> and then <code>deploy</code>
the application again to pick up your changes.
</blockquote></li>
</ul>
</p>
</blockquote></td></tr></table>
<table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Undeploy"><strong>Undeploy</strong></a></font></td></tr><tr><td><blockquote>
<p><strong><font color="red">WARNING</font> - This command will delete the
contents of the web application directory and/or ".war" file if it exists within
the <code>appBase</code> directory (typically "webapps") for this virtual host
</strong>. The web application temporary work directory is also deleted. If
you simply want to take an application out of service, you should use the
<code>/stop</code> command instead.</p>
<p>Signal an existing application to gracefully shut itself down, and then
remove it from Tomcat (which also makes this context path available for
reuse later). This command is the logical opposite of the
<code>/deploy</code> Ant command, and the related deploy features available
in the HTML manager.</p>
<p>If this command succeeds, you will see a Message like this:</p>
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
OK - Undeployed application at context path /examples
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
<p>Otherwise, the Message will start with <code>FAIL</code> and include an
error message. Possible causes for problems include:
<ul>
<li><em>Encountered exception</em>
<blockquote>
<p>An exception was encountered trying to undeploy the web application.
Check the Tomcat logs for the details.</p>
</blockquote></li>
<li><em>Invalid context path was specified</em>
<blockquote>
<p>The context path must start with a slash character, unless you are
referencing the ROOT web application -- in which case the context path
must be a zero-length string.</p>
</blockquote></li>
<li><em>No context exists for path /foo</em>
<blockquote>
<p>There is no deployed application on the context path
that you specified.</p>
</blockquote></li>
<li><em>No context path was specified</em>
<blockquote>
The <code>path</code> parameter is required.
</blockquote></li>
</ul>
</p>
</blockquote></td></tr></table>
</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Deploy"><strong>Deploy</strong></a></font></td></tr><tr><td><blockquote>
<p>Web applications can be deployed using files or directories located
on the Tomcat server or you can upload a web application archive (WAR)
file to the server.</p>
<p>To install an application, fill in the appropriate fields for the type
of install you want to do and then submit it using the <i>Install</i>
button.</p>
<table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Deploy directory or WAR file located on server"><strong>Deploy directory or WAR file located on server</strong></a></font></td></tr><tr><td><blockquote>
<p>Deploy and start a new web application, attached to the specified <i>Context
Path:</i> (which must not be in use by any other web application).
This command is the logical opposite of the <em>Undeploy</em> command.</p>
<p>There are a number of different ways the deploy command can be used.</p>
<h3>Deploy a Directory or WAR by URL</h3>
<p>Install a web application directory or ".war" file located on the Tomcat
server. If no <i>Context Path</i> is specified, the directory name or the
war file name without the ".war" extension is used as the path. The
<i>WAR or Directory URL</i> specifies a URL (including the <code>file:</code>
scheme) for either a directory or a web application archive (WAR) file. The
supported syntax for a URL referring to a WAR file is described on the Javadocs
page for the <code>java.net.JarURLConnection</code> class. Use only URLs that
refer to the entire WAR file.</p>
<p>In this example the web application located in the directory
<code>C:\path\to\foo</code> on the Tomcat server (running on Windows)
is deployed as the web application context named <code>/footoo</code>.
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
Context Path: /footoo
WAR or Directory URL: file:C:/path/to/foo
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
</p>
<p>In this example the ".war" file <code>/path/to/bar.war</code> on the
Tomcat server (running on Unix) is deployed as the web application
context named <code>/bar</code>. Notice that there is no <code>path</code>
parameter so the context path defaults to the name of the web application
archive file without the ".war" extension.
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
WAR or Directory URL: jar:file:/path/to/bar.war!/
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
</p>
<h3>Deploy a Directory or War from the Host appBase</h3>
<p>Install a web application directory or ".war" file located in your Host
appBase directory. If no <i>Context Path</i> is specified the directory name
or the war file name without the ".war" extension is used as the path.</p>
<p>In this example the web application located in a subdirectory named
<code>foo</code> in the Host appBase directory of the Tomcat server is
deployed as the web application context named <code>/foo</code>. Notice
that there is no <code>path</code> parameter so the context path defaults
to the name of the web application directory.
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
WAR or Directory URL: foo
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
</p>
<p>In this example the ".war" file <code>bar.war</code> located in your
Host appBase directory on the Tomcat server is deployed as the web
application context named <code>/bartoo</code>.
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
Context Path: /bartoo
WAR or Directory URL: bar.war
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
</p>
<h3>Deploy using a Context configuration ".xml" file</h3>
<p>If the Host deployXML flag is set to true, you can install a web
application using a Context configuration ".xml" file and an optional
".war" file or web application directory. The <i>Context Path</i>
is not used when installing a web application using a context ".xml"
configuration file.</p>
<p>A Context configuration ".xml" file can contain valid XML for a
web application Context just as if it were configured in your
Tomcat <code>server.xml</code> configuration file. Here is an
example for Tomcat running on Windows:
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
&lt;Context path="/foobar" docBase="C:\path\to\application\foobar"
debug="0"&gt;
&lt;!-- Link to the user database we will get roles from --&gt;
&lt;ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/&gt;
&lt;/Context&gt;
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
</p>
<p>Use of the <i>WAR or Directory URL</i> is optional. When used
to select a web application ".war" file or directory it overrides any
docBase configured in the context configuration ".xml" file.</p>
<p>Here is an example of installing an application using a Context
configuration ".xml" file for Tomcat running on Windows.
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
XML Configuration file URL: file:C:/path/to/context.xml
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
</p>
<p>Here is an example of installing an application using a Context
configuration ".xml" file and a web application ".war" file located
on the server (Tomcat running on Unix).
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
XML Configuration file URL: file:/path/to/context.xml
WAR or Directory URL: jar:file:/path/to/bar.war!/
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
</p>
</blockquote></td></tr></table>
<table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Upload a WAR file to install"><strong>Upload a WAR file to install</strong></a></font></td></tr><tr><td><blockquote>
<p>Upload a WAR file from your local system and install it into the
appBase for your Host. The name of the WAR file without the ".war"
extension is used as the context path name.</p>
<p>Use the <i>Browse</i> button to select a WAR file to upload to the
server from your local desktop system.</p>
<p>The .WAR file may include Tomcat specific deployment configuration, by
including a Context configuration XML file in
<code>/META-INF/context.xml</code>.</p>
<p>Upload of a WAR file could fail for the following reasons:</p>
<ul>
<li><em>File uploaded must be a .war</em>
<blockquote>
<p>The upload install will only accept files which have the filename
extension of ".war".</p>
</blockquote></li>
<li><em>War file already exists on server</em>
<blockquote>
<p>If a war file of the same name already exists in your Host's
appBase the upload will fail. Either undeploy the existing war file
from your Host's appBase or upload the new war file using a different
name.</p>
</blockquote></li>
<li><em>File upload failed, no file</em>
<blockquote>
<p>The file upload failed, no file was received by the server.</p>
</blockquote></li>
<li><em>Install Upload Failed, Exception:</em>
<blockquote>
<p>The war file upload or install failed with a Java Exception.
The exception message will be listed.</p>
</blockquote></li>
</ul>
</blockquote></td></tr></table>
<table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Deployment Notes"><strong>Deployment Notes</strong></a></font></td></tr><tr><td><blockquote>
<p>If the Host is configured with unpackWARs=true and you install a war
file, the war will be unpacked into a directory in your Host appBase
directory.</p>
<p>If the application war or directory is deployed in your Host appBase
directory and either the Host is configured with autoDeploy=true or
liveDeploy=true, the Context path must match the directory name or
war file name without the ".war" extension.</p>
<p>For security when untrusted users can manage web applications, the
Host deployXML flag can be set to false. This prevents untrusted users
from installing web applications using a configuration XML file and
also prevents them from installing application directories or ".war"
files located outside of their Host appBase.</p>
</blockquote></td></tr></table>
<table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Deploy Message"><strong>Deploy Message</strong></a></font></td></tr><tr><td><blockquote>
<p>If deployment and startup is successful, you will receive a Message
like this:</p>
<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
OK - Deployed application at context path /foo
</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
<p>Otherwise, the Message will start with <code>FAIL</code> and include an
error message. Possible causes for problems include:</p>
<ul>
<li><em>Application already exists at path /foo</em>
<blockquote>
<p>The context paths for all currently running web applications must be
unique. Therefore, you must either undeploy the existing web
application using this context path, or choose a different context path
for the new one.</p>
</blockquote></li>
<li><em>Document base does not exist or is not a readable directory</em>
<blockquote>
<p>The URL specified by the <i>WAR or Directory URL:</i> field must
identify a directory on this server that contains the "unpacked" version
of a web application, or the absolute URL of a web application archive
(WAR) file that contains this application. Correct the value entered for
the <i>WAR or Directory URL:</i> field.</p>
</blockquote></li>
<li><em>Encountered exception</em>
<blockquote>
<p>An exception was encountered trying to start the new web application.
Check the Tomcat 5 logs for the details, but likely explanations include
problems parsing your <code>/WEB-INF/web.xml</code> file, or missing
classes encountered when initializing application event listeners and
filters.</p>
</blockquote></li>
<li><em>Invalid application URL was specified</em>
<blockquote>
<p>The URL for the <i>WAR or Directory URL:</i> field that you specified
was not valid. Such URLs must start with <code>file:</code>, and URLs
for a WAR file must end in ".war".</p>
</blockquote></li>
<li><em>Invalid context path was specified</em>
<blockquote>
<p>The context path must start with a slash character, unless you are
referencing the ROOT web application -- in which case the context path
must be a "/" string.</p>
</blockquote></li>
<li><em>Context path must match the directory or WAR file name:</em>
<blockquote>
If the application war or directory is deployed in your Host appBase
directory and either the Host is configured with autoDeploy=true or
liveDeploy=true, the Context path must match the directory name or
war file name without the ".war" extension.
</blockquote></li>
<li><em>Only web applications in the Host web application directory can
be deployed</em>
<blockquote>
If the Host deployXML flag is set to false this error will happen
if an attempt is made to install a web application directory or
".war" file outside of the Host appBase directory.
</blockquote></li>
</ul>
</blockquote></td></tr></table>
</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Server Information"><strong>Server Information</strong></a></font></td></tr><tr><td><blockquote>
<p>This section displays information about Tomcat, the operating system of
the server Tomcat is hosted on, and the Java Virtual Machine Tomcat is
running in.</p>
</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade="noshade"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
Copyright &copy; 1999-2003, Apache Software Foundation
</em></font></div></td></tr></table></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,17 @@
<!--
Context configuration file for the Tomcat Manager Web App
$Id: manager.xml,v 1.1 2005/02/21 06:54:52 amontano Exp $
-->
<Context path="/manager" docBase="${catalina.home}/server/webapps/manager"
debug="0" privileged="true">
<!-- Link to the user database we will get roles from -->
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
</Context>

View file

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by peter lin (consultant) -->
<!--W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:complexType name="connector">
<xs:sequence>
<xs:element name="threadInfo" type="threadInfo"/>
<xs:element name="requestInfo" type="requestInfo"/>
<xs:element name="workers" type="workers"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="jvm">
<xs:sequence>
<xs:element name="memory" type="memory"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="memory">
<xs:attribute name="free" type="xs:long" use="required"/>
<xs:attribute name="total" type="xs:long" use="required"/>
<xs:attribute name="max" type="xs:long" use="required"/>
</xs:complexType>
<xs:complexType name="requestInfo">
<xs:attribute name="maxTime" type="xs:long" use="required"/>
<xs:attribute name="processingTime" type="xs:int" use="required"/>
<xs:attribute name="requestCount" type="xs:long" use="required"/>
<xs:attribute name="errorCount" type="xs:long" use="required"/>
<xs:attribute name="bytesReceived" type="xs:long" use="required"/>
<xs:attribute name="bytesSent" type="xs:long" use="required"/>
</xs:complexType>
<xs:element name="status">
<xs:complexType>
<xs:sequence>
<xs:element name="jvm" type="jvm"/>
<xs:element name="connector" type="connector"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="threadInfo">
<xs:attribute name="maxThreads" type="xs:int" use="required"/>
<xs:attribute name="minSpareThreads" type="xs:int" use="required"/>
<xs:attribute name="maxSpareThreads" type="xs:int" use="required"/>
<xs:attribute name="currentThreadCount" type="xs:int" use="required"/>
<xs:attribute name="currentThreadsBusy" type="xs:int" use="required"/>
</xs:complexType>
<xs:complexType name="worker">
<xs:attribute name="stage" type="xs:string" use="required"/>
<xs:attribute name="requestProcessingTime" type="xs:int" use="required"/>
<xs:attribute name="requestBytesSent" type="xs:long" use="required"/>
<xs:attribute name="requestBytesRecieved" type="xs:long" use="required"/>
<xs:attribute name="remoteAddr" type="xs:string" use="required"/>
<xs:attribute name="virtualHost" type="xs:string" use="required"/>
<xs:attribute name="method" type="xs:string" use="required"/>
<xs:attribute name="currentUri" type="xs:string" use="required"/>
<xs:attribute name="currentQueryString" type="xs:string" use="required"/>
<xs:attribute name="protocol" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="workers">
<xs:sequence>
<xs:element name="worker" type="worker"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

View file

@ -0,0 +1,96 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!-- Output method -->
<xsl:output encoding="iso-8859-1"
indent="no"/>
<xsl:template match="status">
<html>
<head>
<TITLE>Tomcat Status</TITLE>
<STYLE type="text/css">
body, table, tr, td, a, div, span {
vertical-align : top;
}
</STYLE>
</head>
<body>
<div style='font-size:20px;'>Tomcat Status</div>
<xsl:apply-templates select="jvm"/>
<xsl:apply-templates select="connector"/>
</body>
</html>
</xsl:template>
<xsl:template match="jvm">
<xsl:apply-templates select="memory"/>
</xsl:template>
<xsl:template match="memory">
<table><tr>
<td><b>JVM:</b></td>
<td><b>free:</b> <xsl:value-of select="@free"/></td>
<td><b>total:</b> <xsl:value-of select="@total"/></td>
<td><b>max:</b> <xsl:value-of select="@max"/></td>
</tr>
</table><hr />
</xsl:template>
<xsl:template match="connector">
<b>Connector -- </b> <xsl:value-of select="@name"/><br />
<xsl:apply-templates select="threadInfo"/>
<xsl:apply-templates select="requestInfo"/>
<xsl:apply-templates select="workers"/>
</xsl:template>
<xsl:template match="threadInfo">
<table><tr>
<td><b>threadInfo </b></td>
<td><b>maxThreads:</b> <xsl:value-of select="@maxThreads"/></td>
<td><b>minSpareThreads:</b> <xsl:value-of select="@minSpareThreads"/></td>
<td><b>maxSpareThreads:</b> <xsl:value-of select="@maxSpareThreads"/></td>
<td><b>currentThreadCount:</b> <xsl:value-of select="@currentThreadCount"/></td>
<td><b>currentThreadsBusy:</b> <xsl:value-of select="@currentThreadsBusy"/></td>
</tr>
</table><hr />
</xsl:template>
<xsl:template match="requestInfo">
<table><tr>
<td><b>requestInfo </b></td>
<td><b>maxTime:</b> <xsl:value-of select="@maxTime"/></td>
<td><b>processingTime:</b> <xsl:value-of select="@processingTime"/></td>
<td><b>requestCount:</b> <xsl:value-of select="@requestCount"/></td>
<td><b>errorCount:</b> <xsl:value-of select="@errorCount"/></td>
<td><b>bytesReceived:</b> <xsl:value-of select="@bytesReceived"/></td>
<td><b>bytesSent:</b> <xsl:value-of select="@bytesSent"/></td>
</tr>
</table><hr />
</xsl:template>
<xsl:template match="workers">
<table>
<tr><th>Stage</th><th>Time</th><th>B Sent</th><th>B Recv</th><th>Client</th><th>VHost</th><th>Request</th></tr>
<xsl:apply-templates select="worker"/>
</table><hr />
</xsl:template>
<xsl:template match="worker">
<tr>
<td><xsl:value-of select="@stage"/></td>
<td><xsl:value-of select="@requestProcessingTime"/></td>
<td><xsl:value-of select="@requestBytesSent"/></td>
<td><xsl:value-of select="@requestBytesReceived"/></td>
<td><xsl:value-of select="@remoteAddr"/></td>
<td><xsl:value-of select="@virtualHost"/></td>
<td><xsl:value-of select="@method"/> <xsl:value-of select="@currentUri"/>?<xsl:value-of select="@currentQueryString"/> <xsl:value-of select="@protocol"/></td>
</tr>
</xsl:template>
</xsl:stylesheet>