You
can stop the deployment environment using the
wsadmin.sh
wsadmin command.
Ensure the
wsadmin.sh
wsadmin client can connect to
the deployment manager for the deployment environment.
To stop
the deployment environment with the
wsadmin.sh
wsadmin command, perform the following steps.
wsadmin.sh
wsadmin command
to enter the command environment. The
wsadmin.sh
wsadmin command
is located in either the <WPS>/profiles/<dmgr profile>/bin directory
or the <WPS>/bin directory.
wsadmin.sh -connType SOAP -host myDmgr -port 8879 -user dmgradmin -password dmgrpass
> $AdminTask stopDeploymentEnv {-topologyName myDepEnv}

wsadmin -connType SOAP -host myDmgr -port 8879 -user dmgradmin -password dmgrpass
> $AdminTask stopDeploymentEnv {-topologyName myDepEnv}
The -connType parameter specifies the type of connection to be used; the default argument is SOAP. If you are using a SOAP connection, including this parameter is optional.
The -host parameter specifies the host used for the SOAP or RMI connection. The default value for -host is the local host. If the node is running on the local host, you don not need to include this parameter.
If you disable administrative security, you do not need to provide a user ID and password.