Troubleshoot and support > Utilities


Troubleshoot: Business object changes are not reflected in the Management Center

Enable dynamic caching on the WebSphere Commerce server might cause some unexpected behavior when you update objects using the data load utility.


Problem

When you update data using the data load utility, the updated data might not show up in the Management Center.

The following scenario is an example of an unexpected behavior:

  1. You observe that the price for a product is $20.

  2. You update the product price to $15 using the data load utility.

  3. You refresh the product, but the product price is still $20 in the Management Center.

  4. You check the database, and the product price has already changed to $15.

This unexpected behavior is caused by data cache in the WebSphere Commerce server. You need to invalidate the data cache so that Management Center can pick up the new object update (new price as per example).


Solution

To invalidate data cache on the data load utility:

  1. Add a property to the <_config:BusinessObjectMediator> element in the business object configuration file as shown:

    <_config:BusinessObjectMediator className="com.ibm.commerce.price.dataload.mediator.OfferMediator" componentId="com.ibm.commerce.price">         <_config:property name="DataCacheInvalidationEnabled" value="true" />
    </_config:BusinessObjectMediator>
    

    The default setting for data cache invalidation is false.

Related reference

Data Load utility


+

Search Tips   |   Advanced Search