IBM Support

PK90364; 6.0.2.35: Incorrectly set replication type prevents use of Dynacache

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.

[{"INLabel":"Readme","INLang":"US English","INSize":"10132","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK90364/readme.txt"}]
On
[{"DNLabel":"6.0.2.19-WS-WAS-IFPK90364","DNDate":"07-28-2009","DNLang":"US English","DNSize":"17749","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"https://www.ibm.com/support/fixcentral/quickorder?fixids=6.0.2.19-WS-WAS-IFPK90364&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":null,"DDURL":null}]

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).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Dynamic Cache","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.0.2.19;6.0.2.21;6.0.2.23;6.0.2.25;6.0.2.27;6.0.2.29;6.0.2.31;6.0.2.33;6.0.2.35","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 October 2019

UID

swg24023905