|
|
|
NAME
disable - stops the specified component
SYNOPSIS
disable --user admin_user[ --password admin_password ] [ --host localhost ][ --port 4848 ][ --passwordfile filename ][ --secure|-s ][ --type application|ejb|web|connector ][ --instance instance_name ]
component_name
Use the disable command to immediately stop the named
component. The component must have been deployed to the specified instance.
If the component has not been deployed, an error message is 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 tocommunicate with the administrative instance.
- --type
-
identifies
the type of deployed component; defaults to the type application.
- --instance
-
name
of the instance.
-
component_name
-
name of the component to be disabled.
Example 1. Using disable
asadmin> disable --user admin --passwordfile passwords.txt --host localhost --port 4848 --type web --instance server 1 simple
Disabled the WAR module:simple
- 0
-
command executed successfully
- 1
-
error in executing the command
Applications folder, Module interface
deploy(1), deploydir(1), undeploy(1), enable(1)
Sun Java System Application Server | Go To Top | Last Changed 24 Dec 2003 |
Company Info
|
Contact
|
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|