IBM Support

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

Downloadable files


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.

URL LANGUAGE SIZE(Bytes)
Readme US English 8379

Download package


Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
What is Fix Central(FC)?
What is DD?
7.0.0.3-WS-WAS-IFPK85622 8/10/2009 US English 221209 FC FTP DD
6.1.0.23-WS-WAS-IFPK85622 8/26/2009 US English 491871 FC FTP DD

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

Problems (APARS) fixed
PK85622

Document information

More support for: WebSphere Application Server
Dynamic Cache

Software version: 6.1.0.23, 6.1.0.25, 7.0.0.3

Operating system(s): AIX, HP-UX, IBM i, Linux, Solaris, Windows

Software edition: Base, Network Deployment

Reference #: 4023557

Modified date: 27 August 2009


Translate this page: