Default CrossTransactionCache settings

The following XML snippet shows the default CrossTransactionCache settings. Copy this snippet into your wc-server.xml file within the InstanceProperties tag. Use this snippet as a starting point to help you enable only the logical caches that you require.

Note: When you copy this snippet content into the wc-server.xml file, ensure that there is only one CrossTransactionCache tag. If there is already an existing CrossTransactionCache tag in wc-server.xml, the data cache might already be configured with non-default settings.
You can use these tags when you are configuring your CrossTransactionCache settings:
  • <com.ibm.commerce.fulfillment.beansrc.CalculationUsageCache enabled="true"/>
  • <com.ibm.commerce.marketing.promotion.stats.StatsSessionBeanPersistenceManager enabled="true"/>
  • <com.ibm.commerce.marketing.promotion.coupon.CouponSessionBeanPersistenceManager enabled="true"/>
  • <com.ibm.commerce.productset.commands.util.ProductSetEntitlementHelper enabled="true"/>
  • <com.ibm.commerce.contract.catalogfilter.AbstractCatalogFilterSearchExpressionCompositor.TcLevelParticipant enabled="true"/>
  • <com.ibm.commerce.catalog.facade.server.cache.DefaultCatalogCache enabled="true"/>
  • <com.ibm.commerce.contract.util.ContractCmdUtil enabled="true"/>
  • <com.ibm.commerce.catalog.facade.server.services.dataaccess.processor.CatalogEntryFilterKeyProcessor enabled="true"/>
Default CrossTransactionCache settings snippet
<CrossTransactionCache
enabled="true"
commandCaching="default"
maxInactivityTime="86400"
maxTimeToLive="172800"
defaultResultSizeThreshold="8"
clearUserOnLogoff="true"
clearUserDataCacheOnLogoff="false"
maxInvalidationIdsPerTransaction="100000"
clearCacheOnMaxInvalidationIdsPerTransaction="false"
reduceMemory="false"
reduceInvalidationIds="false"
sizeable="false"
>

<WCSystemDistributedMapCache enabled="true" reduceMemory="false" maxTimeToLive="172800" maxInactivityTime="86400"/>
<com.ibm.commerce.user.objsrc.OrganizationCache enabled="true"/>
<com.ibm.commerce.taxation.objsrc.CountryCache enabled="true"/>
<com.ibm.commerce.taxation.objsrc.StateProvinceCache enabled="true"/>
<com.ibm.commerce.user.objsrc.MemberGroupCache enabled="true"/>
<com.ibm.commerce.user.objsrc.RoleCache enabled="true"/>
<com.ibm.commerce.fulfillment.objsrc.ShippingModeCache enabled="true"/>
<com.ibm.commerce.fulfillment.objsrc.ShippingModeDescriptionCache enabled="true"/>
<com.ibm.commerce.common.objsrc.StoreEntityDescriptionCache enabled="true"/>
<com.ibm.commerce.common.objsrc.CurrencyCache enabled="true"/>
<com.ibm.commerce.common.objsrc.CurrencyDescriptionCache enabled="true"/>
<com.ibm.commerce.common.objsrc.LanguageCache enabled="true"/>
<com.ibm.commerce.common.objsrc.LanguageDescriptionCache enabled="true"/>
<com.ibm.commerce.catalog.objsrc.CatalogCache enabled="true"/>
<com.ibm.commerce.catalog.objsrc.CatalogDescriptionCache enabled="true"/>
<com.ibm.commerce.common.objsrc.SupportedLanguageCache enabled="true"/>
<com.ibm.commerce.fulfillment.objsrc.FulfillmentCenterCache enabled="true"/>
<com.ibm.commerce.attachment.beansrc.AttachmentRelationUsageCache enabled="true"/>
<com.ibm.commerce.attachment.beansrc.AttachmentRelationUsageDescriptionCache enabled="true"/>
<com.ibm.commerce.infrastructure.facade.server.commands.CreateAttachmentUsageConfigurationCmdImpl enabled="true"/>
<com.ibm.commerce.user.beansrc.PolicyAccountCache enabled="true"/>
<com.ibm.commerce.user.beansrc.PolicyAccountLockoutCache enabled="true"/>
<com.ibm.commerce.user.beansrc.PolicyPasswordCache enabled="true"/>
<com.ibm.commerce.catalog.facade.server.cache.DefaultCatalogCache enabled="true"/>
<com.ibm.commerce.catalog.client.lobtools.actions.ModelHelper enabled="true"/>
<com.ibm.commerce.messaging.databeans.StoreTransCache enabled="true"/>
<com.ibm.commerce.foundation.internal.server.services.search.util.StoreHelper.storeconf enabled="true"/>
<com.ibm.commerce.foundation.internal.server.services.search.util.StoreHelper.srchconf enabled="true"/>
<com.ibm.commerce.foundation.internal.server.services.search.util.RelevancyHelper.stores enabled="true"/> 

<WCSessionDistributedMapCache enabled="true" reduceMemory="false" maxTimeToLive="172800" maxInactivityTime="900"/>
<com.ibm.commerce.component.contextservice.commands.ContextDataSerValueCacheCmdImpl enabled="true"/>

<WCContractDistributedMapCache enabled="true" reduceMemory="false" maxTimeToLive="172800" maxInactivityTime="86400"/>
<com.ibm.commerce.contract.beansrc.BusinessPolicyCache enabled="true"/>
<com.ibm.commerce.contract.beansrc.PolicyDescriptionCache enabled="true"/>
<com.ibm.commerce.contract.catalogfilter.AbstractCatalogFilterSearchExpressionCompositor.TcLevelParticipant enabled="true"/>
<com.ibm.commerce.contract.beansrc.ExtendedTermConditionCache enabled="true"/>
<com.ibm.commerce.foundation.internal.server.services.search.util.StoreHelper.contract enabled="true"/>
<com.ibm.commerce.foundation.internal.server.services.search.util.StoreHelper.account enabled="true"/>
<com.ibm.commerce.foundation.server.services.rest.search.expression.solr.SolrRESTSearchProductEntitlementExpressionProvider enabled="true"/> 

<WCPromotionDistributedMapCache enabled="true" reduceMemory="false" maxTimeToLive="172800" maxInactivityTime="86400"/>
<com.ibm.commerce.fulfillment.objsrc.CalculationCodeCache enabled="true"/>
<com.ibm.commerce.fulfillment.objsrc.CalculationCodeDescriptionCache enabled="true"/>
<com.ibm.commerce.fulfillment.beansrc.CalculationUsageCache enabled="true"/>
<com.ibm.commerce.tools.epromotion.objimpl.CalculationCodePromotionCache enabled="true"/>
<com.ibm.commerce.marketing.promotion.AbstractPromotionSessionBeanPersistenceManager enabled="true"/>
<com.ibm.commerce.marketing.promotion.group.PromotionGroupSessionBeanPersistenceManager enabled="true"/>
<com.ibm.commerce.marketing.promotion.policy.PromotionPolicySessionBeanPersistenceManager enabled="true"/>
<com.ibm.commerce.marketing.promotion.runtime.ShopcartDrivenAgendaBuilder.SHOPCART enabled="true"/>
<com.ibm.commerce.marketing.promotion.runtime.ShopcartDrivenAgendaBuilder enabled="true"/>

<WCMarketingDistributedMapCache enabled="true" reduceMemory="false" maxTimeToLive="172800" maxInactivityTime="86400"/>
<com.ibm.commerce.tools.campaigns.CampaignInitiativeEvaluateCmdImpl enabled="true"/>
<com.ibm.commerce.marketing.commands.elements.DisplayMerchandisingAssociationActionTaskCmdImpl.MASSOCCECE enabled="true"/>
<com.ibm.commerce.marketing.commands.elements.DisplayMerchandisingAssociationActionTaskCmdImpl enabled="true"/>
<com.ibm.commerce.marketing.dialog.util.MarketingUtilCatalog enabled="true"/>

<WCUserDistributedMapCache enabled="true" reduceMemory="false" maxTimeToLive="172800" maxInactivityTime="900"/>
<com.ibm.commerce.membergroup.commands.ListMemberGroupsForUserCmdImpl enabled="true"/>
<com.ibm.commerce.user.objsrc.DemographicsCache enabled="true"/>
<com.ibm.commerce.dynacache.commands.MemberGroupsCache enabled="true"/>
<com.ibm.commerce.user.objsrc.MemberGroupMemberCache enabled="true"/>
<com.ibm.commerce.user.objsrc.MemberRelationshipsCache enabled="true"/>
<com.ibm.commerce.user.beansrc.MemberRelationshipsExtendedCache enabled="true"/>
<com.ibm.commerce.user.objsrc.MemberRoleCache enabled="true"/>
<com.ibm.commerce.user.objsrc.MemberCache enabled="true"/>
<com.ibm.commerce.user.objsrc.UserCache enabled="true"/>
<com.ibm.commerce.user.objsrc.UserRegistryCache enabled="true"/>
<com.ibm.commerce.accesscontrol.policymanager.CommandLevelAuthorizationCache enabled="true"/>
<com.ibm.commerce.accesscontrol.policymanager.ParentOrganizationCache enabled="true"/>
<com.ibm.commerce.marketing.promotion.runtime.PromotionArgumentSessionBeanPersistenceManager enabled="true"/>
<com.ibm.commerce.marketing.promotion.stats.StatsSessionBeanPersistenceManager enabled="true"/>
<com.ibm.commerce.marketing.promotion.coupon.CouponSessionBeanPersistenceManager enabled="true"/>
<com.ibm.commerce.productset.commands.util.ProductSetEntitlementHelper enabled="true"/>
<com.ibm.commerce.contract.util.ContractCmdUtil enabled="true"/>
<com.ibm.commerce.member.dataobjects.MemberAttributesDO enabled="true"/>
<com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmdImpl enabled="true"/>
<com.ibm.commerce.foundation.internal.server.services.search.util.StoreHelper.buyer enabled="true"/> 

<WCCatalogGroupDistributedMapCache enabled="true" reduceMemory="false" maxTimeToLive="172800" maxInactivityTime="86400"/>
<com.ibm.commerce.catalog.objsrc.CatalogGroupCache enabled="true"/>
<com.ibm.commerce.catalog.objsrc.CatalogGroupDescriptionCache enabled="true"/>
<com.ibm.commerce.catalog.beansrc.CatalogGroupRelationCache enabled="true"/>
<com.ibm.commerce.marketing.promotion.runtime.ShopcartDrivenAgendaBuilder.findByCatGroup enabled="true"/>
<com.ibm.commerce.rest.caching.RESTCacheFilterCache.CATGROUP enabled="true"/> 

<WCCatalogEntryDistributedMapCache enabled="true" reduceMemory="false" maxTimeToLive="172800" maxInactivityTime="86400"/>
<com.ibm.commerce.fulfillment.objsrc.CatalogEntryShippingCache enabled="true"/>
<com.ibm.commerce.catalog.objsrc.CatalogEntryCache enabled="true"/>
<com.ibm.commerce.catalog.objsrc.CatalogEntryDescriptionCache enabled="true"/>
<com.ibm.commerce.catalog.objsrc.ItemCache enabled="true"/>
<com.ibm.commerce.catalog.objsrc.ProductCache enabled="true"/>
<com.ibm.commerce.catalog.util.CatalogHelperCache enabled="true"/>
<com.ibm.commerce.catalog.beansrc.CatalogGroupCatalogEntryRelationCache enabled="true"/>
<com.ibm.commerce.catalog.facade.server.services.dataaccess.processor.CatalogEntryFilterKeyProcessor enabled="true"/>
<com.ibm.commerce.marketing.promotion.runtime.ShopcartDrivenAgendaBuilder.findByCatEntry enabled="true"/>
<com.ibm.commerce.catalog.beansrc.RelatedCatalogEntryCache enabled="true"/>
<com.ibm.commerce.rest.caching.RESTCacheFilterCache enabled="true"/> 

<WCPriceDistributedMapCache enabled="true" reduceMemory="false" maxTimeToLive="172800" maxInactivityTime="86400"/>
<com.ibm.commerce.catalog.beansrc.ListPriceCache enabled="true"/>
<com.ibm.commerce.order.objsrc.OfferCache enabled="true"/>
<com.ibm.commerce.order.beansrc.OfferPriceExtendedCache enabled="true"/> 
<com.ibm.commerce.order.objsrc.OfferPriceCache enabled="true"/>
<com.ibm.commerce.price.commands.RetrievePricesCmdImpl enabled="true"/>
<com.ibm.commerce.order.beansrc.OfferDescriptionCache enabled="true"/>

<WCSEOPageDefinitionDistributedMapCache enabled="true" reduceMemory="false" maxTimeToLive="172800" maxInactivityTime="86400"/>
<com.ibm.commerce.infrastructure.facade.server.commands.SEOServiceHelper.findPageDefinitionId enabled="true"/>
<com.ibm.commerce.infrastructure.facade.server.commands.SEOServiceHelper.getTitleAndMetaDescription enabled="true"/> 
</CrossTransactionCache>