Download
Abstract
The WebSphere Application Server Information Center documents valid values for sharingPolicy as: 1 Not shared, 2 Push, 4 Push and pull.
Download Description
PK90364 resolves the following problem:
ERROR DESCRIPTION:
When utilizing the cacheinstances.properties file to configure Dynacache, the replication type for DistributedMap objects is not set correctly thus preventing use of Dynacache. You might see an exception similar to the following:
CacheInstance E DYNA1003E: WebSphere Dynamic Cache instance
named services/cache/instance_1 can not be initialized because
of error
java.lang.IllegalArgumentException: sharingPolicy:-1
at
com.ibm.ws.cache.util.ValidateUtility.sharingPolicy(ValidateUtil
ity.java:23)
at
com.ibm.ws.cache.DistributedObjectCacheAdapter.setSharingPolicy(
DistributedObjectCacheAdapter.java:213)
at
com.ibm.ws.cache.DistributedObjectCacheAdapter.<init>(Distribute
dObjectCacheAdapter.java:139)
at
com.ibm.ws.cache.DistributedMapImpl.<init>(DistributedMapImpl.ja
va:46)
at
com.ibm.ws.cache.CacheServiceImpl.createDistributedObjectCache(C
acheServiceImpl.java:728)
at
com.ibm.ws.cache.CacheServiceImpl.createCacheInstance(CacheServi
ceImpl.java:574)
at
com.ibm.ws.cache.CacheInstanceResourceBinder.getObjectInstance(C
acheInstanceResourceBinder.java:168)
at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.j
ava:316)
at
com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupE
xt(Helpers.java:896)
<...etc>
LOCAL FIX:
None
PROBLEM SUMMARY
USERS AFFECTED:
All users of IBM WebSphere Application Server version 6.0.2 specifying the sharingPolicy attribute in the cachespec.xml.
PROBLEM DESCRIPTION:
The WebSphere Application Server Information Center documents valid values for sharingPolicy as: 1 Not shared, 2 Push, 4 Push and pull.
RECOMMENDATION:
None
The valid values on WebSphere Application Server 6.0.2 for sharingPolicy are:
0 Not shared
1 Push
3 Push and pull
PROBLEM CONCLUSION:
To make the sharingPolicy consistent on version 6.0.2, a JVM custom property is being introduced. When com.ibm.ws.cache.CacheConfig.use61ReplicationTypeCompatibility is defined on version 6.0.2 the sharingPolicy will be interpreted as defined in the Information Center and like version 6.1 and later.
The fix for this APAR is currently targeted for inclusion in fix pack 6.0.2.39. Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?uid=swg27004980
Prerequisites
None
Installation Instructions
Please review the readme.txt for detailed installation instructions.
Technical Support
Contact IBM Support using SR (http://www.ibm.com/support/entry/portal/Open_service_request/Software/Software_support_(general)), visit the WebSphere Application Server Support Web site (http://www.ibm.com/support/entry/portal/Overview/Software/WebSphere/WebSphere_Application_Server), or contact 1-800-IBM-SERV (U.S. only).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
07 October 2019
UID
swg24023905