IBM Support

PK85622 problems with the SPI exposed by WebSphere Dynacache for cache providers

Download


Abstract

Some of the methods exposed in the CacheProvider Service Provider Interface (SPI) are not consumable and designed for performance for cache providers.

Download Description

PK85622 resolves the following problem:

ERROR DESCRIPTION:
The SPI exposed by WebSphere Application Server Dynacache for cache providers has the following issues:
1. Javadoc is incomplete and needs clarifications at multiple places
2. Some of the core caching methods are not consumable or designed for performance.

LOCAL FIX:

PROBLEM SUMMARY

USERS AFFECTED:

All users of IBM WebSphere Application Server V7.0 and V6.1 that leverage caching by way of an alternate cache provider configured with DynaCache.


PROBLEM DESCRIPTION:
Some of the methods exposed in the CacheProvider Service Provider Interface (SPI) are not consumable and designed for performance for cache providers.

RECOMMENDATION:
None

The CacheProvider SPI in V7.0 missed a couple of important functions:
1. Passing DynaCache custom properties and system custom properties to the cache providers by way of the com.ibm.wsspi.cache.CacheConfig interface.

2. Returning the older Cacheentry when an update was made to an existing entry in the com.ibm.wsspi.cache.CoreCache. The Javadoc of the CacheProvider SPIs was not clear with respect to error & exception handling during cache creation.

The same SPIs are also being provided starting in V6.1.0.27 for use by V6.1 customers.

PROBLEM CONCLUSION:
The following SPI changes will be made in this APAR.
- Added public Map<String, String> getProperties() method to the com.ibm.wsspi.cache.CacheConfig interface.
- Changed the signature of the com.ibm.wsspi.cache.CoreCache.put(EntryInfo, Object) method to
return a com.ibm.websphere.cache.CacheEntry.

The Javadoc of the CacheProvider SPIs has been improved.

The changes made in this APAR help cache providers integrate better with DynaCache and make the whole caching solution more maintainable, consumable, reliable and high performing.

The fix for this APAR is currently targeted for inclusion in Fix Pack 7.0.0.5 and 6.1.0.27. Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Prerequisites

None

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"8379","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK85622/readme.txt"}]
On
[{"DNLabel":"7.0.0.3-WS-WAS-IFPK85622","DNDate":"8/10/2009","DNLang":"US English","DNSize":"221209","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www.ibm.com/support/fixcentral/quickorder?fixids=7.0.0.3-WS-WAS-IFPK85622&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes//PK85622/7.0.0.3-WS-WAS-IFPK85622.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes//PK85622/7.0.0.3-WS-WAS-IFPK85622.pak"},{"DNLabel":"6.1.0.23-WS-WAS-IFPK85622","DNDate":"8/26/2009","DNLang":"US English","DNSize":"491871","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www.ibm.com/support/fixcentral/quickorder?fixids=6.1.0.23-WS-WAS-IFPK85622&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK85622/6.1.0.23-WS-WAS-IFPK85622.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK85622/6.1.0.23-WS-WAS-IFPK85622.pak"}]

Technical Support

Contact IBM Support using SR (http://www-306.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), 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":"7.0.0.3;6.1.0.25;6.1.0.23","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24023557