Install Directory server from the Java Enterprise System stack.
Perform the following:
cd to Product/portal_svr/Tools/upgrade/resource/jes3
Issue the following command:
/usr/jdk/entsys-j2se/bin/jar --xf upgraderesource.jar upgrade.xml
Edit the upgrade.xml file.
After the line:
<replace file="${PS_70_PRODUCT_DIR}/lib/ServiceLDIFMap.properties" token="psWSRPConsumer2.ldif" value=""/>
Include the following two lines in the upgrade.xml file.
<replace file="${PS_70_PRODUCT_DIR}/template/PortalDomainConfig.properties" token="domain.data.host=" value="GATEWAY_HOST_NAME"/>
<replace file="${PS_70_PRODUCT_DIR}/template/PortalDomainConfig.properties" token="domain.data.port=" value="LOCAL_DIRECTORY_SERVER_PORT"/>
Modify the following lines:
Change <target name="fetchGlobalDP" > to <target name="fetchGlobalDP" if="PORTAL_INSTALLED">
Change <target name="fetchOrgDP" > to <target name="fetchOrgDP" if="PORTAL_INSTALLED">
Change <target name="uploadGlobalDP" > to <target name="uploadGlobalDP" if="PORTAL_INSTALLED">
Change <target name="uploadOrgDP" > to <target name="uploadOrgDP" if="PORTAL_INSTALLED">
Issue the following command:
/usr/jdk/entsys-j2se/bin/jar -uf upgraderesource.jar upgrade.xml
Copy the security folder from /etc/opt/SUNWcacao/security from the Portal Server machine to the Gateway machine.
Start Directory Server.
Start the cacao server.
Run the command ./psupgrade.
A failure occurs. You can ignore.
Copy the psconfig file from /var/tmp/pconfigupgradeXXXXXxml to /tmp/psconfig.xml.
Replace the following unreplaced tokens in the psconfig.xml file:
JAVA_BASE_DIR. For example, use /usr/jdk/entsys-j2se.
HOSTNAME.DOMAIN:PORTNO
mydomain.com with the gateway domain
Run the command /opt/SUNWportal/bin/psconfig --config /tmp/psconfig.xml
Restart the web container.