WebSphere Commerce Version 7.0.0.8WebSphere Commerce Version 7.0.0.7

Enabling interim fix JR50747

Interim fix JR50747 adds support of invalidation policies in the cachespec.xml file to invalidate base cache JSP pages when a new e-Marketing Spot is created.

Before you begin

  • WebSphere Commerce Version 7.0.0.7Install the cumulative interim fix for Fix Pack 7, JR53048.fp.
  • WebSphere Commerce Version 7.0.0.8Install the cumulative interim fix for Fix Pack 8, JR52306.fp.
JR50747 is included in the cumulative interim fix.

Procedure

  1. Open the cachespec.xml file.
  2. Remove any existing invalidation entries that are associated with ProcessMarketingSpotCmdImpl.
  3. Remove any existing invalidation entries that are associated with ChangeMarketingSpotCmdImpl.
  4. Add the following entries:
    <!-- E-Marketing Spot create/delete -->
      <cache-entry>
          <class>command</class>
          <name>com.ibm.commerce.marketing.facade.server.commands.ProcessMarketingSpotCmdImpl</name>
          <property name="delay-invalidations">true</property>
          <invalidation>emsName
              <component id="getUniqueName" type="method" multipleIDs="true">
                  <required>true</required>        
              </component>
          </invalidation>   
          <invalidation>emsId
              <component id="getUniqueID" type="method" multipleIDs="true">
                  <required>true</required>        
              </component>
          </invalidation>                
      </cache-entry>
                
      <!-- E-Marketing Spot update -->
      <!-- When flex flow feature is updated invalidate all our store JSP's -->
      <cache-entry>
          <class>command</class>
          <name>com.ibm.commerce.marketing.facade.server.commands.ChangeMarketingSpotCmdImpl</name>
          <property name="delay-invalidations">true</property>
          <invalidation>FlexFlowFeatureUpdate</invalidation>
          <invalidation>emsId
              <component id="getUniqueID" type="method" multipleIDs="true">
                  <required>true</required>        
              </component>
          </invalidation>
      </cache-entry>