<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="configure-webservice-management-1">
<refmeta><refentrytitle>configure-webservice-management</refentrytitle><manvolnum>
1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="configure-webservice-management">
configure-webservice-management &mdash; sets the monitoring or maxhistorysize
attributes of a deployed webservice.</primary></indexterm><indexterm><primary
sortas="sets the monitoring or maxhistory or  attributes of a deployed webservice">
sets the monitoring or maxhistorysize attributes of a deployed webservice &mdash;configure-webservice-management
</primary></indexterm><refname>configure-webservice-management</refname><refpurpose>
sets the monitoring or maxhistorysize attributes of a deployed web service
</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>configure-webservice-management </command>&synopsis-common;
<arg choice="opt">monitoring<option role="nodash">=OFF</option> </arg><arg
choice="opt">maxhistory <replaceable>maxhistory-size</replaceable></arg><arg
choice="plain"><replaceable> webservice-end-point</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>Use this command to configure the monitoring or the maxhistory attributes
of a deployed webservice.</para>
</refsect1>
<refsect1><title>OPTIONS</title>
<variablelist termlength="wide">&options-common;
<?Pub Caret>
<varlistentry><term><option role="nodash">&Dash;&Dash;monitoring</option></term>
<listitem><para>Enables monitoring for webservices. If enabled, tracks operational
statistics, such as the number of requests per second, average response time,
and throughput. Allowed values are:<itemizedlist>
<listitem><para><literal>LOW</literal>: Enables monitoring for the whole webservice.
No method level monitoring will be done. </para>
</listitem>
<listitem><para><literal>HIGH</literal>: Message Trace is also enabled in
addition to enabling number of requests per second, average response time,
and throughput attributes.</para>
</listitem>
<listitem><para><literal>OFF</literal>: Disables monitoring and this is the
default.</para>
</listitem>
</itemizedlist></para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;maxhistorysize</option></term>
<listitem><para> indicates the maximum number of monitoring records stored
in history for this web service endpoint. Default value is 25.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>OPERANDS</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>webservice-end-point</replaceable></term>
<listitem><para>name of the webservice endpoint to which the configuration
management attributes are being set. </para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example label="1">
<title>To turn on monitoring for a webservice endpoint</title>
<screen><userinput>configure-webservice-management --monitoring=LOW jaxrpc-simple#jaxrpc-simple.war#HelloIF
</userinput>
Command configure-webservice-management executed successfully</screen>
</example>
<example label="2">
<title>To turn message tracing facility on for a webservice endpoint</title>
<screen><userinput>configure-webservice-management --monitoring=HIGH 
--maxhistorysize=250 jaxrpc-simple#jaxrpc-simple.war#HelloIF</userinput>
Command configure-webservice-management executed successfully</screen>
</example>
<para>Where <filename>jaxrpc-simple#jaxrpc-simple.war#HelloIF</filename> is
the fully qualified name of a webservice endpoint.</para>
</refsect1>
<refsect1><title>EXIT STATUS</title>
<variablelist termlength="medium">
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
</refentry>
<?Pub *0000004418>
