Feature Pack 5

Enabling interim fix JR44600

Interim fix JR44600 provides the ability to preview content changes in BOD and REST service clients. Complete the following procedure to enable the ability on your environment.

Before you begin

Install the cumulative interim fix for Feature Pack 5, JR53048.fep.

Procedure

A. Access Control updates - part one
  1. Copy the file
    • WC_installdir/components/foundation/xml/policies/xml/ServicesPreviewAPARMemberAccessControlPolicies.xml
    • WebSphere Commerce DeveloperWCDE_installdir/components/foundation/xml/policies/xml/ServicesPreviewAPARMemberAccessControlPolicies.xml
    to the following directory:
    • WC_installdir/xml/policies/xml
    • WebSphere Commerce DeveloperWCDE_installdir/xml/policies/xml
  2. Run the acpload utility on the ServicesPreviewAPARMemberAccessControlPolicies.xml file.
    For example, from the WC_installdir/bin directory, run the following command:
    Platform Command
    AIX Linux Solaris IBM i ./acpload.sh mall dbuser dbusrpwd ServicesPreviewAPARMemberAccessControlPolicies.xml
    Windows acpload mall dbuser dbusrpwd ServicesPreviewAPARMemberAccessControlPolicies.xml
    Windows Oracle acpload mall dbuser dbusrpwd ServicesPreviewAPARMemberAccessControlPolicies.xml schema
    Note: schema is the name of target database schema. This name is normally the same name as the dbuser.
    Derby acpload ServicesPreviewAPARMemberAccessControlPolicies.xml
B. Access Control updates - part two
  1. Copy the file
    • WC_installdir/components/foundation/xml/policies/xml/ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml
    • WebSphere Commerce DeveloperWCDE_installdir/components/foundation/xml/policies/xml/ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml
    to the following directory:
    • WC_installdir\xml\policies\xml
    • WebSphere Commerce DeveloperWCDE_installdir\xml\policies\xml
  2. Run the acpnlsload utility on the ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml file.
    For example, from the WC_installdir/bin directory, run the following command:
    Platform Command
    AIX Linux Solaris IBM i ./acpnlsload.sh mall dbuser dbusrpwd ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml
    Windows acpnlsload mall dbuser dbusrpwd ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml
    Windows Oracle acpnlsload mall dbuser dbusrpwd ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml schema
    Note: schema is the name of target database schema. This name is normally the same name as the dbuser.
    Derby acpnlsload ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml
C. Command registry updates
  1. Run the massload utility on the following file:
    • WC_installdir/components/foundation/xml/wcs.fep5.services_preview_APAR.xml
    • WCDE_installdir/components/foundation/xml/wcs.fep5.services_preview_APAR.xml
    For more information about massload, see massload utility (Development environment)massload utility (Server environment).
D. Enable Service Preview
  1. The services preview feature is disabled by default and can be turned on by adding the following element to InstanceProperties of the wc-server.xml file:
    <ServicesPreview enable="true"/>
    The accepted values of the enable attribute are "true" and "false".
WebSphere Commerce DeveloperE. Copy files
  1. WebSphere Commerce Developer Manually copy files from the package to your development environment.
    1. Extract 5.0.0.0-WS-WC70FeaturePack5Developer-IFJR44600.pak. You might have to rename the extension from '.pak' to '.zip'.
    2. Copy the files from 5.0.0.0-WS-WC70FeaturePack5Developer-IFJR44600.pak\repository\fep.wc.toolkit.native.foundation\components\foundation\wc.ear.ext\Rest.war\WEB-INF\classes
    3. Copy the files to WCDE_installdir\workspace\Rest\WebContent\WEB-INF\lib\Rest-Resources.jar