sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

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 Commands | undeploy(1)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- OPERANDS
- EXAMPLES
- EXIT STATUS
- SEE ALSO

## NAME

| undeploy - removes the component from the named instance.

## SYNOPSIS

| ``undeploy` --user admin_user[ --password admin_password ][ --host localhost ] [ --port 4848 ][ --passwordfile filename ][ --secure|-s ] [ --type application|ejb|web|connector ][ --instance instance_name ] component_name`

## DESCRIPTION

| Use the `undeploy` command to remove the specified component. You can specify the component type that you wish to remove and the instance that the component was deployed to.

## 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 tocommunicate with the administrative instance. --type identifies the type of component to be deployed; defaults to the type `application`. --instance name of the instance.

## OPERANDS

| component_name name of the deployable component.

## EXAMPLES

| Example 1. Using `undeploy`
    asadmin> undeploy --user admin --password adminadmin --host localhost --port 4848
    --type application --instance server1 fortune
    Undeployed the application:fortune
Where: the `fortune` application is undeployed from the `server1` instance.

## EXIT STATUS

| 0 command executed successfully 1 error in executing the command

## SEE ALSO

| `deploy`(1), `deploydir`(1), `enable`(1), `disable`(1), `list-components`(1)

| Go To Top | Last Changed April 2004

Company Info | Contact | Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.