WebSphere Portal: Using Command Prompt

Still working on this article

Command Prompt for deploying PAA (Portal Application Archive) File

Task Steps
Install PAA file for the first time
  • Open a command prompt and go to <wp_profile>/ConfigEngine.
  • Run the following command to upload the paa file:
    ConfigEngine.bat install-paa -DPAALocation=<paa_file_location> -DWasPassword=<password> -DPortalAdminPwd=<password>
  • Ensure that you are able to see “BUILD SUCCESSFULLY” in the cmd and the subdirectory exists under <wp_profile>/paa/<paa_filename>.
  • Open the components.properties under the subdirectory and ensure that the parameter value is set to true.

  • Run the following command to deploy (If you are deploying in a clustered environment and your PAA file contains XMLAccess script files, do include -DmaxTimeToWait=30 and -DmaxAppTimeToWait=5:
    ConfigEngine.bat deploy-paa -DappName=<paa_component_name> -DWasPassword=<password> -DPortalAdminPwd=<password>
  • Ensure that you are able to see “BUILD SUCCESSFULLY“.
 Update PAA file Running install-paa-update command will creates a backup of your existing PAA file and stored it in the <wp_profile>/paa/backup directory.

  • Open a command prompt and go to <wp_profile>/ConfigEngine.
  • Run the following command to upload the paa file:
    ConfigEngine.bat install-paa-update -DPAALocation=<paa_file_location> -DappName=<paa_component_name> -DWasPassword=<password> -DPortalAdminPwd=<password>
  • Ensure that you are able to see “BUILD SUCCESSFULLY” in the cmd and the subdirectory exists under <wp_profile>/paa/<paa_filename>.
  • Open the components.properties under the subdirectory and ensure that the parameter value is set to true.
  • Run the following command to update the paa components:
    ConfigEngine update-paa-components -DappName=<paa_component_name> -DWasPassword=<password> -DPortalAdminPwd=<password>
  • Ensure that you are able to see “BUILD SUCCESSFULLY“.
  • Run the following command to update the changes (If you are deploying in a clustered environment and your PAA file contains XMLAccess script files, do include -DmaxTimeToWait=30 and -DmaxAppTimeToWait=5:
    ConfigEngine.bat deploy-paa -DappName=<paa_component_name> -DWasPassword=<password> -DPortalAdminPwd=<password>
  • Ensure that you are able to see “BUILD SUCCESSFULLY“.

Note: You are required to invalidate theme cache if you are deploying theme static resources.

 

Leave a Reply

Your email address will not be published. Required fields are marked *