IBM Support

PK38811; 6.0.2.17: OutOfMemory with commerce V6.0 and some WebSphere Application

Download


Abstract

OUT OF MEMORY WITH COMMERCE V6.0 AND WEBSPHERE VERSIONS
GREATER THAT 6.0.2.9 WITH DYNACACHE ENABLED

Download Description

PK38811 resolves the following problem:

ERROR DESCRIPTION:
APAR PK17964 increased the number of request attributes stored for fragments. These changes store more attributes for WebSphere® Commerce server. This results in some attributes are not serializable causing disk caching exceptions and large object creation resulting in out of memory errors. OUT OF MEMORY WITH COMMERCE 6.0 AND WEBSPHERE VERSIONS GREATER THAT 6.0.2.9 WITH DYNACACHE ENABLED.

LOCAL FIX:
none

PROBLEM SUMMARY

USERS AFFECTED:
IBM® WebSphere® Application Server version 6.0 users of the Dynacache component.

PROBLEM DESCRIPTION:
OutofMemory error occurs

RECOMMENDATION:
None

The default behavior of Dynacache is to store the request attributes for a child fragment, if not explicitly overridden in the cache specification. APAR PK17964 fixed the storage of request attributes for cache entries configured with the do-not-consume property in the cachespec.xml. Application Server can run into an OutOfMemory condition in scenarios where these request attributes get too large. If the attributes saved by default are not serializable, then the disk offload of these cache entries results in java.io.NotSerializableExceptions.

PROBLEM CONCLUSION:
In PK38811 the Dynacache team has introduced a configurable change in the behavior of the cache so that the child pages/fragments, DO inherit the cache specification properties of their parent ages/fragments. If the request for a fragment does not match a defined cache policy, the fragment will
inherit the save-attributes and the store-cookies properties from its parent fragment. This cascade of save-attributes and store-cookies properties can be enabled by setting the Java™ Virtual Machine custom property com.ibm.ws.cache.CacheConfig.cascadeCachespecProperties to true.

Custom Property Name :
com.ibm.ws.cache.CacheConfig.cascadeCachespecProperties
Custom Property Value : boolean
Custom Property Default : false

Directions to apply the custom property

1) Open and log in to the Administrative Console.

2) Click Application servers > server1 > Process Definition > Java Virtual Machine > Custom Properties > New

3) Under General Properties, add the following information:
Name: com.ibm.ws.cache.CacheConfig.cascadeCachespecProperties Value: true


This APAR is targeted for fixpacks 6.1.0.9 and 6.0.2.19.

Please check for the fix on the recommended updates page:
http://www-1.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":"7033","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK38811/readme.txt"}]
Off
[{"DNLabel":"6.0.2.13-WS-WAS-IFPK38811","DNDate":"04-13-2007","DNLang":"US English","DNSize":"45642","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK38811/6.0.2.13-WS-WAS-IFPK38811.pak","DNURL_FTP":null,"DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK38811/6.0.2.13-WS-WAS-IFPK38811.pak"},{"DNLabel":"6.0.2.15-WS-WAS-IFPK38811","DNDate":"04-13-2007","DNLang":"US English","DNSize":"53733","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK38811/6.0.2.15-WS-WAS-IFPK38811.pak","DNURL_FTP":null,"DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK38811/6.0.2.15-WS-WAS-IFPK38811.pak"},{"DNLabel":"6.0.2.17-WS-WAS-IFPK38811","DNDate":"04-13-2007","DNLang":"US English","DNSize":"76831","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK38811/6.0.2.17-WS-WAS-IFPK38811.pak","DNURL_FTP":null,"DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK38811/6.0.2.17-WS-WAS-IFPK38811.pak"},{"DNLabel":"6.1.0.7-WS-WAS-IFPK38811.pak","DNDate":"6/10/2007","DNLang":"US English","DNSize":"56800","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK38811/6.1.0.7-WS-WAS-IFPK38811.pak","DNURL_FTP":null,"DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK38811/6.1.0.7-WS-WAS-IFPK38811.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":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"6.1.0.7;6.0.2.17;6.0.2.15;6.0.2.13","Edition":"Base;Developer;Express;Network Deployment;Single Server","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24015566