Sun Java System Portal Server 7 Command-Line Reference

psadmin redeploy

Description

Redeploys a Portal Server to a web container instance. if there's more than one Portal Server instance, this command will deploy the Portal application to all instances. If --allwebapps option is given, this command will re-deploy all web apps which are deployed with the Poral Server web app in the same web container instance.

Syntax

Long Format

psadmin redeploy --adminuser uid --passwordfile password-filename --portal portal-name [--allwebapps]

Short Format

psadmin redeploy -u uid -f password-filename -p portal-name -W

Options

The following options are required:

[--adminuser | -u] uid

Specifies the administrator's distinguished name (dn), or user ID (uid).

[--passwordfile | -f] password-filename

Specifies the administrator's password in the password file.

[--portal | -p] portal-name

Specifies the name of the portal that the instance belongs to.

The following option is optional:

[--allwebapps | -W]

Use of this flag will cause the web container to redeploy all web applications that were deployed for the Portal. It is recommended that this operation is done during off hours or non-production time. Also, depending on the number of web applications, it might take a while to complete the redeployment.