IBM Support

PK90190; 6.0.2.35: com.ibm.wsspi.jsp.cdatatrim=true breaks using servlet caching

Download


Abstract

Duplicate content can be displayed for a Java™Server Page (JSP) file when DynaCache is enabled and the useCDataTrim JSP attribute is set to true.

Download Description

PK90190 resolves the following problem:

ERROR DESCRIPTION:
Setting the custom property com.ibm.wsspi.jsp.usecdatatrim=true on the web container in WebSphere Application Server causes problems when using servlet caching with the Dynamic cache.

LOCAL FIX:
A simple workaround to this problem would be to simply write a space before the first out.flush in JSP.

PROBLEM SUMMARY

USERS AFFECTED:
IBM WebSphere Application Server Version 6.0.2, 6.1 and 7.0 users of DynaCache.

PROBLEM DESCRIPTION:
Duplicate content can be displayed for a JavaServer Page (JSP) file when DynaCache is enabled and the useCDataTrim JSP attribute is set to true.

RECOMMENDATION:
None

Duplicate content can be displayed for a JSP file on a cache hit when the useCDataTrim JSP attribute is set to true. The duplicate content is caused by the interaction of the JSP buffer and the DynaCache writer during an include.

PROBLEM CONCLUSION:
The JSP Engine was modified to get the response writer even if there are zero bytes to flush. This new behavior is enabled by setting the following WebContainer custom property to "true":
com.ibm.ws.jsp.getWriterOnEmptyBuffer
Please refer to the following technote for instructions on enabling WebContainer custom properties:
http://www.ibm.com/support/docview.wss?uid=swg21284395

The fix for this APAR is currently targeted for inclusion in fix packs 6.0.2.39, 6.1.0.29, and 7.0.0.7. Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?uid=swg27004980

Prerequisites

Please download the UpdateInstaller below to install this fix.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

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

Technical Support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), 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":"JSP","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

swg24024086