WebSphere Commerce Developer

Updating the cachespec.xml file

The cachespec.xml is not completely migrated during application migration, to preserve your customizations. You must update the cachespec.xml file manually before continuing with the production migration process.

Procedure

  1. Open the following file in a text editor:
    WCDE_installdir/workspace/Stores/WebContent/WEB-INF/cachespec.xml
  2. Search for the ECActionServlet.class block.
    If you do not find this class in the cachespec.xml file, no further action is required. You can skip the remaining steps in this task.
  3. Update the ECActionServlet.class section with the following code:
    <!-- Starts Servlet --> 
            <cache-entry> 
                    <class>servlet</class> 
                    <name>com.ibm.commerce.struts.ECActionServlet.class</name> 
                    <property name="consume-subfragments">true</property> 
                  <property name="save-attributes">false 
                             <exclude>jspStoreDir</exclude> 
                    </property> 
                    <property name="store-cookies">false</property> 
    
  4. Review the cachespec.xml file. Ensure the store-cookies property is defined for all cache entries and it is set to false. It is also recommended that you set the save-attributes property to false for all cache entries.
  5. Save the file.