Sun Java System Portal Server 7.1 Update 1 Release Notes

Administration with Command-Line Utilities


The --format option is missing in the generate-user-behaviour-tracking-report command help. (#6506032)

Description:

When you run the psadmin generate-user-behaviour-tracking-report --help command, the description for the -–format option is not provided.

The -–format option specifies the format of the report, such as PDF, HTML, or XML. By default, the report is stored in the PDF format.


The psadmin delete-instance command fails if one or more .war are not deployed on the server. (#6504630)

Description:

If a portlet is not successfully deployed, the psadmin delete-instance command fails because the command tries to undeploy the web application.

Solution:

Deploy the war files that were not deployed on the instance and then run the psadmin delete-instance command.


Undeploying a portlet war file from a DN (Distinguished Name), undeploys the .war file from all DNs. (#6495423)

Description:

Deploy a portlet war file at two DNs, for example DN x and DN y. Then, undeploy the war file from DN y. The desktop does not show the portlet for DN x because the web application is undeployed from the container.

Solution:

Do the following:

  1. Remove the display profile fragment for this provider from DN x.

    psadmin remove-dp -u admin-user -f password-file -d x -p portal1 -t provider -n blogportlet.blog

  2. Deploy the portlet war again at DN x.

    psadmin deploy-portlet -u admin-user -f password-file -d x -p portal1 -n blogportlet.war


By default, —overwrite option is true for import through Portal Server administrator console and is false for psadmin import command. (#6323091)

Solution:

When using the psadmin import subcommand with the --dp-only option, if the intention is to replace the whole display profile for the specified dn, use the --overwrite option. For example, type

./psadmin import -u amadmin -f ps_password -p portal-ID --dp-only --continue --overwrite


Portal directory is not deleted if the instance is on a host other than the portal host. (#6355651)

Description:

Run delete-portal from machine1. The directory /var/opt/SUNWportal/portals/portal1 is deleted from machine1. However, the same directory is not deleted from machine2.

Solution:

Delete the directory /var/opt/SUNWportal/portals/portal1 from machine2.