Sun Java System Portal Server 7 Command-Line Reference

psadmin deploy-portlet

Description

Deploys the portlet web application into the Portal Server. It deploys the portlet WAR file and inserts the provider into display profile.

Syntax

Long Format

psadmin deploy-portlet --adminuser uid --passwordfile password-filename --dn dn | --global [--rolesfile roles-file] [--userinfofile user-info-file] --portal portal-ID portletwarfile [--locale]

Short Format

psadmin deploy-portlet -u uid -f password-filename -d dn [-r roles-file] [-n user-info-file] -p portal-ID [-g] portletwarfile [-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 options are optional:

[--global | -g]

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

[--rolesfile | -r] roles-file

Specifies the file containing the Access Manager software and portlet application role mapping information.

[--userinfofile | -n] user-info-file

Specifies the file containing the user information mapping information.

Operands

portletwarfile

Specifies the path to the WAR file.