Updating an existing Portal Application Archive (PAA) file | HCL Digital Experience
You can update an existing Portal Application Archive (PAA) file when a new version is available. The process is not as simple as overwriting the file with the new content. There might be large differences between the content in both versions of the file.
About this task
- Uninstalls the PAA file from HCL Digital Experience
- Deletes the content from the expanded PAA file
- Installs the new version of the PAA file
After you run the install-paa-update command, you must deploy the changes to your system.
PAA file developer note: Make
all updates in the custom code. No code generation is available for an upgrade through the regular
install-paa process. Read the guide about creating updated PAA files for information.
Cluster note: Complete these steps on the primary node and then on all
additional nodes.
Procedure
- Open a command line.
- Change to the wp_profile_root/ConfigEngine directory.
- Run the following task to update the PAA file:
- AIX® HP-UX Linux™ Solaris: ./ConfigEngine.sh install-paa-update -DPAALocation=paaLocation/yourPaa.paa -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
- IBM® i: ConfigEngine.sh install-paa-update -DPAALocation=paaLocation/yourPaa.paa -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
- Windows™: ConfigEngine.bat install-paa-update -DPAALocation=paaLocation/yourPaa.paa -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
- z/OS®:./ConfigEngine.sh install-paa-update -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
Optional parameter: You can add the following parameter to your install-paa-update command: -Dwcmdetect=true. This parameter controls the behavior of the installed HCL Web Content Manager libraries. If you include this parameter, a properties file is created in the paa/ComponentName directory. The name of the properties file matches the PAA file name. - After the task successfully completes, verify that the
following sub-directory exists:
- AIX® HP-UXLinux™ Solaris: wp_profile_root/paa/paa_filename
- IBM® i: wp_profile_root/paa/paa_filename
- Windows™: wp_profile_root\paa\paa_filename
- z/OS®:wp_profile_root/paa/paa_filename
-
From the PAA file sub-directory, open the components.properties file. Complete the following steps to check for and
resolve conflicts with previously installed components:
- Search for the component parameters. Parameters that are set to true are not already installed. Parameters that are set to false are already installed.
- To update existing components, change their value in the components.properties file to true.
- Save your changes to the components.properties file.
- Optional:
Complete the following steps if you included the -Dwcmdetect=true parameter:
- Open the properties file in the paa/ComponentName directory.
- Set the value of all the Web Content Manager libraries that you want to update to true.
- Set the value of all the Web Content Manager libraries that you want to keep the old version to false.
- Save your changes.
- Optional:
Run the following task if you changed values in the components.properties file:
This task updates the registration of the existing components with the new assembly.
- AIX® HP-UXLinux™ Solaris: ./ConfigEngine.sh update-paa-components -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
- IBM® i: ConfigEngine.sh update-paa-components -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
- Windows™: ConfigEngine.bat update-paa-components -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
- z/OS®: ./ConfigEngine.sh update-paa-components -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
- Optional: If you use the
Simple and Protected GSS-API Negotiation Mechanism (SPNEGO) for single
sign-on, complete the following steps to disable SPNEGO:
- Log on to WebSphere® Integrated Solutions Console.
- Go to .
- Clear the Enable SPNEGO check box.
- Save your changes.
- Run the following task to deploy the updated PAA content to HCL Portal:
- AIX® HP-UXLinux™ Solaris: ./ConfigEngine.sh deploy-paa -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
- IBM® i: ConfigEngine.sh deploy-paa -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
- Windows™: ConfigEngine.bat deploy-paa -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
- z/OS®: ./ConfigEngine.sh deploy-paa -DappName=assemblyName -DWasPassword=password -DPortalAdminPwd=password
Clustered environment parameters: If you are deploying to a clustered environment and your PAA file contains XMLAccess script files, add the following two parameters to the deploy-paa task:- -DmaxTimeToWait
- -DmaxAppTimeToWait
Virtual portal parameters: If you are deploying to a virtual portal, you must include the context root and host name parameters for the virtual portal. Add the -DVirtualPortalHostName and -DVirtualPortalContext parameters to the deploy-paa task. Read Virtual portals for information.Note: By default, only components that are set to true in the components.properties file are deployed. To deploy all components, add the -DforceDeploy=true parameter to the deploy-paa task. - Optional: Complete the following
steps to enable SPNEGO:
- Log on to WebSphere® Integrated Solutions Console.
- Go to .
- Check the Enable SPNEGO check box.
- Save your changes.