Sun Java System Portal Server 7 Command-Line Reference

psadmin undeploy-portlet

Description

Removes the portlet application from the portal server. It also removes the providers associated with portlets from display profile.

Syntax

Long Format

psadmin undeploy-portlet --adminuser uid --passwordfile password-filename --dn dn | --global --portal portal-ID portletwebapp [--locale]

Short Format

psadmin undeploy-portlet -u uid -f password-filename -d dn -p portal-ID [-g] portletwebapp [-l]

Options

The following options are required:

[--adminuser | -u] uid

Specifies the administrator's distinguished name.

[--dn | -d] dn

Specifies the distinguished name in the LDAP node to access the display profile document. The -d or -g option is required.

[--passwordfile | -f] password-filename

Specifies the administrator's password in the password file.

[--portal | -p] portal-ID

Specifies the portal ID.

The following option is optional:

[--global | -g]

Specifies the global level node in LDAP to access the display profile document. The -d or -g option is required.

Operands

portletwebapp

Name of the portlet application which needs to be undeployed.