Sun Java System Portal Server 7 Command-Line Reference

Options

The following options are required:

[--adminuser | -u] uid

Specifies the administrator's distinguished name.

[--component | -m] producer

Specifies the name of the component. The value should be producer.

[--passwordfile | -f] password-filename

Specifies the administrator's password in the password file.

[--portalid | -p] portal-ID

Specifies the portal ID; if this is not supplied, the default is used.

[--producerdatafile | -U] file

Contains the following attributes:

producer.name=PSAdmin Producer

Name of the Producer to be published to the registry.

producer.description=PSAdmin Producer from Portal Server

Description of the Producer

producer.id=psadminCLI

Producer ID as it exists in the LDAP

The following options are optional:

[--allportlets | -L]

Publishes all the portlets that are offered by the Producers specified in the producer.id attribute. This also ignores the --portlets options.

[--orgdatafile | -O] org-data-file

Organization to be published. The orgdata is the file specifying the details of the organization such as:

  • org.name=PSAdmin Organization

  • org.description=Organization that offers Sun Portal WSRP Services

  • org.primarycontact.name=anyuser

  • org.primarycontact.phoneno=2298989

  • org.primarycontact.email=anyuser@anydomain.com

  • org.key=urn:cli:organization:cli


    Note –

    The org.key is a special attribute. If this is specified, all other attributes are ignored and the system searches for an organization that is already published in the registry with a key as specified in the value of this attribute.


[--portlets | -T] portlets

List of portlets to be published. The list is specified within double-quotes space separated items. For example, NotepadPortlet BookmarkPortlet WeatherPortlet .