Bootstrap FreeKB - IBM Portal - Configure Portal to remove the Portal Password in Workplace Properties file (wkplc.properties)
IBM Portal - Configure Portal to remove the Portal Password in Workplace Properties file (wkplc.properties)

Updated:   |  IBM Portal articles

By default, the workplace properties file (wkplc.properties) is located at the following directory on a Linux system.

/opt/WebSphere/AppServer/profiles/<your profile>/ConfigEngine/properties/wkplc.properties

 

The PWordDelete directive in the wkplc.properties file is used to update the WasPassword and PortalAdminPwd directives in the wkplc.properties file to contain a value of ReplaceWithYourPassword after the /opt/WebSphere/AppServer/profiles/your_profile/PortalServer/bin/applyCF.sh (apply cumulative fix script) is invoked.

AVOID TROUBLE

When applying cumulative fix 204, my applyCF.log had the following.

2022-08-17_01:07:09: Executing command: action-update-system-wp.proxy.config-dxq-21893
Exiting due to error. Return code = 1

ERROR: Update to cumulative fix is not complete.

I found this was most probably occurring because I did not have the PWordDelete directive defined in the wkplc.properties file, and I suspect that while applyCF.sh was doing it's thing, the WasPassword and PortalAdminPwd directives were probably updated to have a value of ReplaceWithYourPassword, which then caused wsadmin to return authentication failure, perhaps because wsadmin was using ReplaceWithYourPassword as the WebSphere password. To resolve this, before applying the cumulative fix, I set PWordDelete=false in wkplc.properties. After this was done, the cumulative fix was successfully applied. After the cumulative fix was applied, I then blanked out WasPassword and PortalAdminPwd in the wkplc.properties file.

 

  • If the PWordDelete directive is not used or if the PWordDirective contains a value of true, the WasPassword and PortalAdminPwd directives in the wkplc.properties file will be updated.
  • If the PWordDelete directive contains a value of false, the WasPassword and PortalAdminPwd directives in the wkplc.properties file will not be updated.
PWordDelete=false

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter a2e005 in the box below so that we can be sure you are a human.