PK22899; 5.0.2.14: Fragments are cached twice after applying PK12081
 Downloadable files
 
Abstract
Duplicate content is given on a cache hit when a parent servlet buffers its child includes.
 
Download Description
PK22899 resolves the following problem:

ERROR DESCRIPTION:
Upgrading IBM® Websphere® Application Server to version 5.0.2.14, and enabling dynacache to cache fragments with WCM, generated an IllegalStateException. APAR PK12081 resolves this exception but it exposed another issue with fragment caching. The new problem is that fragments are cache twice and when customer hits refresh or is served from cache, duplicate fragments are rendered to the client.

LOCAL FIX:
none

PROBLEM SUMMARY

USERS AFFECTED:
All users whose buffer included JSPs at the parent servlet, such as WCM

PROBLEM DESCRIPTION:
Duplicate content is given on a cache hit when a parent servlet buffers its child includes.

RECOMMENDATION:
None

Dynacache expects all included JSPs to be flushed on conclusion, and when these includes are buffered by their consuming parent, dynacache caches twice; once on the JSP include flush, and once on the parent flush. This situation produces duplicate content.

PROBLEM CONCLUSION:
A custom attribute, discardJSPContent, has been added to eliminate the duplicate content on cache hits. It can be utilized like in the following example:

<% request.setAttribute("discardJSPContent", "true"); %>
<jsp:include page="DiscardB1.jsp" flush="true" />
<% request.setAttribute("discardJSPContent", "false"); %>

Note that this attribute must be used to bracket every include on the page--a user cannot selectively discard JSP includes in a parent.

The fix for this APAR is currently targeted for inclusion in cumulative fixes 5.02.17 and 5.1.1.11 and Fix Pack 6.0.2.11.

Please refer to the recommended updates page for delivery information:
General/swg27004980.html
 
Prerequisites
Please download the UpdateInstaller below to install this fix.
 
URL LANGUAGE SIZE(Bytes)
UpdateInstaller US English 7250000
 
 
Installation Instructions
Please review the readme.txt for detailed installation instructions.
 
URL LANGUAGE SIZE(Bytes)
Readme US English 5757
 
Download package
What is DD?
Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
PK22899_iFix 04-24-2006 US English 20052 FTP DD
PK22899_5117_iFix.jar 5/2/2006 US English 20052 FTP DD
PK22899_5119_iFix.jar 5/5/2006 US English 2052 FTP DD
 
Technical support
Contact IBM Support using ESR (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).
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
Problems (APARS) fixed
PK22899
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Dynamic Cache
Operating system(s): Windows
Software version: 5.1.1.10
Software edition:
Reference #: 4012160
IBM Group: Software Group
Modified date: May 5, 2006