Technote

(troubleshooting)
WebSphere Commerce must use DistributeMap for its SupplierCookieTable and RequisitionerSessionTable within a cloned environment.
Problem(Abstract)
In order to support a cloned environment in WAS, DistributedMap must be used. However, SupplierCookieTable and RequisitionerSessionTable use Hashtable to store state information, instead of using DistributeMap.
Resolving the problem This has been addressed by APAR JR25918. Contact WebSphere Commerce Support for the APAR.

When designing the application in a cloned environment:

  1. The distributed map needs to be initialized before any cache replication update is done. i.e., the JNDI lookup for the JNDI name of the object cache instance needs to done, and the reference to the object cache instance needs to be obtained first - preferably at server start up for each of the cluster members.

  2. If both push and pull are used and the application used containsKey() or keySet(), the API does not return the cache entry on a remote server. You must not use containsKey() to see if the object exists in the local distributed map.

 

Document Information

Current web document: http://www.ibm.com/support/docview.wss?uid=swg21273527