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 Commandsset(1)


NAME

 set - sets the values of attributes

SYNOPSIS

 set[ --monitor ]--user admin_user[ --password admin_password ][ --host localhost ] [ --port 4848 ][ --passwordfile filename ][ --secure|-s ]attributename=value[ attribute_name=value ]*

DESCRIPTION

Sets the values of one or more configurable attribute. The settings do not take affect until you run the reconfig command.

OPTIONS

--monitor

defaults to false; if set to false, the configurable attribute values are returned. If set to true, the monitorable attribute values are returned.

--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.

OPERANDS

attributename=value

identifies the configurable or monitorable attribute name and its value.

EXAMPLES

Example 1. Using set
asadmin> set --user admin --passwordfile passwords.txt --host localhost --port 4848 server1.application.fortune.enabled=false
Attribute enabled set to false

EXIT STATUS

0

command executed successfully

1

error in executing the command

INTERFACE EQUIVALENT

Anywhere in the interface

SEE ALSO

get(1), reconfig(1), list(1)


Sun Java System Application ServerGo To TopLast Changed 29 Dec 2003