Troubleshooting
Problem
How to configure the Pull type update for RCP client?
Symptom
Resolving The Problem
“Client Pull is the automatic way of deploying updates on the client. In this type of update, when a user logs in to a Rich Client Platform application, based on the location configuration settings, the client application automatically starts searching for updates in a background thread and installs them. Once all updates are downloaded successfully and installed, the user is authorized to restart the application.”
• Created PCA_UPDATES_DIR and UPDATES_CACHE_DIR under INSTALL_DIR
• Add two properties i.e., yfs.yfs.rcp.pca.updates.dir and yfs.yfs.rcp.pca.updates.cache.dir to the customer_overrides.properties file and give the path of above directory i.e. PCA_UPDATES_DIR and UPDATES_CACHE_DIR respectively
• Make sure cache directory and update directory isn’t same. It can be e.g.
yfs.yfs.rcp.pca.updates.dir=E:/yantra80/Foundation/RCPupdate
yfs.yfs.rcp.pca.updates.cache.dir=E:/yantra80/Foundation/RCPCache
• In PCA_UPDATES_DIR created folder structure as
<INSTALL_DIR>/<PCA_UPDATES_DIR>/<PCA_APPLICATION_ID>/<PCA_APPLICATION_VERSION>/<OS_CONFIG>
where <INSTALL_DIR> refers to the directory where you have installed the Selling and Fulfillment Foundation. <PCA_UPDATES_DIR> is the directory where updates are located,<PCA_APPLICATION_ID> is the identifier of the client application for which you want to deploy updates using the Push Update method, <PCA_APPLICATION_VERSION> is the version number of the client
application, and <OS_CONFIG> refers to the <Windowing_System>.<OS>.<OS_ARCH> operating system
Example: - if using COM + Foundation 8.5+ Windows
<PCA_UPDATES_DIR>\YFSSYS00011\8.5\win32.win32.x86
• And in the folder win32.win32.x86 unzipped com..zip
• Created the EAR , deployed it on the server and Restarted the Server
• Modified the locations.ycfg file on RCP cleint and set "updateType" as "pull" and login from RCP client. It will update the client if there is any update available for it.
• Please check the application server side error, there will have very clear message as soon as you start the RCP client.
[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Historical Number
NFX9309
Product Synonym
[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NewFunctionality
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21553182