<!--Arbortext, Inc., 1988-2007, v.4002-->
<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD SolBook 3.5//EN" [
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "common.ent">
%commonents;
]>
<?Pub UDT _bookmark _target>
<?Pub CX solbook(>
<refentry id="delete-jvm-options-1"><?Pub Tag atict:info tracking="off" ref="2"><?Pub Tag
atict:user user="hl34125" fullname=""><?Pub Tag atict:user user="pmdavies"
fullname=""><?Pub Tag atict:user user="ah95648" fullname="">
<!-- @(#)delete-jvm-options.1 1.12 07/07/11 SMI; -->
<refmeta><refentrytitle>delete-jvm-options</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">11 Jul 2007</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&software;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2007, Sun Microsystems, Inc.
All Rights Reserved</refmiscinfo>
</refmeta>
<refnamediv><indexterm><primary><command>delete-jvm-options</command> command</primary>
</indexterm><indexterm><primary>removes JVM options from the Java configuration
or profiler elements of the <filename>domain.xml</filename> file</primary>
</indexterm><indexterm><primary><filename>domain.xml</filename> file</primary>
</indexterm>
<refname>delete-jvm-options</refname><refpurpose>removes JVM options from
the Java configuration or profiler elements of the <filename>domain.xml</filename> file
</refpurpose></refnamediv>
<refsynopsisdiv><title></title>
<synopsis><command>delete-jvm-options</command> &synopsis-common; [<option
role="double-dash">target</option> <replaceable>target</replaceable>]
 [<option role="double-dash">profiler</option>={true|false}] (<replaceable>jvm_option_name
</replaceable>[=<replaceable>jvm_option_value</replaceable>])
 [:<replaceable>jvm_option_name</replaceable>[=<replaceable>jvm_option_name</replaceable>]]*
</synopsis>
</refsynopsisdiv>
<refsect1 role="description"><title></title>
<para>The <command>delete-jvm-options</command> command removes JVM options
from the Java configuration or profiler elements of the <filename>domain.xml</filename> file.
</para>
<note><para>In the syntax, there can be more than one JVM option, separated
by a colon.</para></note>
</refsect1>
<refsect1 role="options"><title></title>
<variablelist termlength="wholeline">&options-common;
<varlistentry><term><option role="double-dash">target</option></term>
<listitem><para>This option helps specify the target from which you want to
remove the JVM options.</para>
<itemizedlist>
<listitem><para><literal>server</literal>&hyphen; Specifies the default server
instance as the target.  <literal>server</literal> is the name of the default
server instance and is the default value.</para></listitem>
<listitem><para><replaceable>cluster_name</replaceable>&hyphen; Specifies
a certain cluster as the target.</para></listitem>
<listitem><para><replaceable>instance_name</replaceable>&hyphen; Specifies
a certain server instance as the target.</para></listitem>
</itemizedlist>
<para>&se-ee-only;</para>
</listitem>
</varlistentry>
<varlistentry><term><option role="double-dash">profiler</option></term>
<listitem><para>Indicates whether the JVM options are for the profiler. The
profiler must exist for this option to be true.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="operands"><title></title>
<variablelist termlength="wholeline">
<varlistentry><term><replaceable>jvm_option_name=jvm_option_value</replaceable></term>
<listitem><para>the left side of the equal sign (=) is the JVM option name.
The right side of the equal sign (=) is the JVM option value. A colon (:)
is a delimiter for multiple options.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="examples"><title></title>
<example><title>Using the delete-jvm-options command</title>
<para>To remove more than one JVM option, use a colon (:) to separate the
options. If the JVM option itself contains a colon (:), use the backslash
(\\) to offset the colon (:) delimiter.</para>
<screen>asadmin> <userinput>delete-jvm-options -e 
--interactive=true --secure=true --passwordfile passwords.txt 
--terse=false --user admin --target server --host localhost
--echo=true --port 4848 "\\-Dtmp=sun"</userinput>
Command delete-jvm-options executed successfully</screen>
<para>Where more than one JVM options are deleted.</para>
<screen>asadmin> <userinput>delete-jvm-options -e \\-Doption1=value1
--interactive=true --secure=true --passwordfile passwords.txt 
--terse=false --user admin --target<?Pub Caret> server --host localhost
--echo=true --port 4848 "\\-Doption1=value1:-Doption2=value2"</userinput>
Command delete-jvm-options executed successfully</screen>
</example>
</refsect1>
<refsect1 role="exit-status"><title></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>
<refsect1 role="see-also"><title></title>
<para><olink targetdoc="asrefman" targetptr="create-jvm-options-1">create-jvm-options(1)
</olink></para>
</refsect1>
</refentry>
<?Pub *0000005076 0>
