Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandscreate-jvm-options(1)


NAME

 create-jvm-options - creates the JVM options from the Java configuration or profiler elements

SYNOPSIS

 create-jvm-options --user admin_user[ --password admin_password ][ --host localhost ] [ --port 4848 ][ --passwordfile filename ][ --secure|-s ][ --instance instance_name ][ --profiler=false ] (jvm_option_name=jvm_option_value)[:jvm_option_name=jvm_option_value]*

DESCRIPTION

 

Creates the JVM options in the Java configuration or Profiler elements of the server.xml file. You can enter more than one JVM option separated by a colon (:) . If the JVM option starts with a dash (-) then use two dashes (--) before the operand to distinguish that JVM option is an operand and not an option. JVM options are used to record the settings needed to get a particular profiler going.


OPTIONS

 
--user
administrative user associated for the instance.
--password
administrative password corresponding to the administrative user.
--host
host name of the machine hosting the administrative instance.
--port
administrative port number associated with the administrative host.
--passwordfile
file containing passwords appropriate for the command (e.g., administrative instance).
--secure
if true, uses SSL/TLS to communicate with the administrative instance.
--instance
name of the instance.
--profiler
indicates if the JVM options is for the profiler. Profiler must exist for this option to be true.

OPERANDS

 
jvm_option_name=jvm_option_value
the left side of the equal sign (=) is the JVM option name. The right side of the equal sign (=) is the jvm_option_value.

EXAMPLES

 Example 1. Using create-jvm-options
 
 
asadmin> create-jvm-options --user admin --password adminadmin 
--host fuyako --port 7070 --instance server1 --profiler=false 
-- "-DDebug=true":"-Xmx256m":"-Dcom.sun.aas.imqBin"="\/export\/as7se\/imq\/bin"
JVM options created

Where the JVM options are created. The double dash (--) is used between --profiler options and the operand because - indicated the end of the options and the following text is the operand. The double dash (--) is necessary here since there are single dashes (i.e., --DDebug) in the operand. To distinguish between the options and the operand, the double dash (--) is used.


EXIT STATUS

 
0
command executed successfully
1
error in executing the command

SEE ALSO

 

delete-jvm-options(1)



Go To TopLast Changed April 2004