Checking the Location of the PCD 

Use

The first time you install the PCD, directory data, which resides by default on the directory path <...>\irj\WEB-INF\plugins\portal\system, is automatically copied to another location.

This directory contains the files for the configuration and the text repository of the PCD:

Automatic copying prevents your data from being overwritten when you re-install the PCD.

The pcd.properties file, containing the information about where the PCD can be found, is also relevant. You can find this file in the following directory after installation:

<.....>\irj\WEB-INF\plugins\portal\system\properties\pcd.properties

File pcd.properties contains parameter pcd.home, which does not yet have a value before installation of the PCD. At installation the directory containing the copy of the PCD is automatically entered.

Example: pcd.home=C:/Enterprise Portal/DataFile/data

Procedure

If a completely new version of file irj.war is delivered (e.g. in a Support Package), you have to make sure that the new version of the contents of this file are not stored in source directory <...>\irj\WEB-INF\plugins\portal\system itself, but in a copy of this directory. The copy contains the actual location of the PCD containing your configuration and other PCD data.

If a new irj.war is delivered, variable pcd.home is not set in the file for the path specification of the PCD. Since the value is not defined here, the actual location of your PCD is unknown.

To make sure that the new version of the contents of the irj.war are moved to your PCD location, you must set a system variable in the JRUN settings.

To do so, go to the Admin Console of your JRUN and choose JRUN Default Server ® Java Settings ® Java Arguments. Set the "sapportals.content.home" system variable and enter the location of your PCD as value. The system variable must be defined in the Java argument in the -D option. This variable affects all IRJ contexts.

If the system variable is not defined, the contents of irj.war are moved to source directory <...>\irj\WEB-INF\plugins\portal\system and not to your own PCD location.

Using a Share for PCD Storage

You can also use a share for storing the PCD so that multiple servers can work on the same persistence: In this case you have to copy the PCD manually to your share and then enter the location of the PCD in file pcd.properties, containing the information where the PCD can be found.

Example: pcd.home=\\\\P12345\\portal\\data

Caution: The paths contain twice as many backslashes (\) as normal. This is because the files are interpreted as standard Java property files and the backslash character is an escape character in Java.