<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY ERROR-CODES "ERROR CODES">
<!ENTITY Date "22 Dec 2004">
<!ENTITY SectDesc "User Commands">
<!ENTITY Software "J2EE SDK 1.4">
<!ENTITY arch "generic">
<!ENTITY copyright "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved">
<!ENTITY exam-tt "EXAMPLES">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY sjsas "Sun Java System Application Server">
<!ENTITY attr-tt "ATTRIBUTES">
<!ENTITY opts-tt "OPTIONS">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen ne>
<?Pub Inc>
<refentry id="verify-domain-xml-1">
<refmeta><refentrytitle>verify-domain-xml</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="verify-domain-xml">verify-domain-xml &mdash; verifies the content of the domain.xml file</primary></indexterm><indexterm><primary sortas="verifies the content of the domain.xml file">verifies the content of the domain.xml file &mdash; verify-domain-xml</primary>
</indexterm><refname>verify-domain-xml</refname><refpurpose>verifies the content of the domain.xml file</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>verify-domain-xml</command><arg>&Dash;&Dash;terse=<replaceable>false</replaceable></arg><arg>&Dash;&Dash;echo=<replaceable>false</replaceable></arg><arg>&Dash;&Dash;help</arg><arg><option role="nodash">&Dash;&Dash;verbose=<replaceable>false</replaceable></option></arg><arg><option
role="nodash">&Dash;&Dash;domaindir <replaceable>install_dir</replaceable>/domains</option></arg><arg><replaceable>domain_name</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>Verfies the content of the <filename>domain.xml</filename> file.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><option role="nodash">&Dash;t</option> <option role="nodash">&Dash;&Dash;terse</option></term><listitem><para>Indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script. Default is false.
</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;e</option> <option role="nodash">&Dash;&Dash;echo</option></term><listitem><para>Setting to true will echo the command line statement on the standard output. Default is false.</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;h</option> <option role="nodash">&Dash;&Dash;help</option></term><listitem><para>Displays the help text for the command.</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;verbose</option></term><listitem><para>Turns on verbose debugging mode if <literal>true</literal>. The default is <literal>false</literal>.</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;domaindir</option></term><listitem><para>Specifies the directory where the domains are located. The path must be accessible in the file system. The default is the value of the $AS_DEF_DOMAINS_PATH environment variable. This variable is defined in <filename>
asenv.bat/conf</filename>. The default value of this variable is <filename><replaceable>install_dir</replaceable>/domains</filename>.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>domain_name</replaceable></term><listitem><para>Specifies the name of the domain. The default is <literal>domain1</literal>.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using verify-domain-xml</title>
<screen>asadmin> <userinput>verify-domain-xml --verbose=true<?Pub Caret></userinput>
All Tests Passed.
domain.xml is valid</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="narrow">
<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 *0000004708>
