Sun Java System Portal Server 7.1 Developer's Guide

Transporting Using the psadmin Utility

Utilize the psadmin export/import -t provider utility for deploying channels and providers. The psadmin export/import -t provider command enables you to transfer or move providers or channels from one the Portal Server software host to another. The psadmin export/import -t provider utility creates a specialized packaging mechanism called a .par file for transport of channels and providers into and out of the server.

A .par file is an extended form of the .jar file format, with added:

The use of .par files is optional. You can just as well copy all files into their correct locations. The par utility makes deployment easier if you have to install the files on multiple servers.

To create a .par file from scratch, use the export sub command of the psadmin utility.

To export an existing provider, use the export sub command of the psadmin utility.

For example, if you have the provider associated files in the development environment ready for deployment into the production environment, use the following command to build the channel and provider into a PAR file which can then be deployed on the system.

psadmin export -u dn_amadmin -f passwordfile -t provider -p portal-ID -d|-g -x exportfile provider.par

To deploy the .par file into the system, use the following command:

psadmin import -u dn_amadmin -f passwordfile -p portal-ID dn -O '"provider=providername|channel=channelname","provider=providername|channel=channelname"'


Note –

All providers that ship with the Portal Server software are in the service-level Desktop display profile. There is no command to extract them all.


See Sun Java System Portal Server 7.1 Command Line Reference for more information on the psadmin utility.