PK12081; 5.1.1.6: caching html with comsume-subfragment=true throws exceptions
 Downloadable files
 
Abstract
Caching an .html file with consume-subfragment=true on its parent is throwing exceptions
 
Download Description
PK12081 resolves the following problem:

ERROR DESCRIPTION:
If html is cached as a child with consume-subfragment = true The following exception is throw:

com.ibm.commerce.struts.ECActionServlet processRequest CMN0420E: The following command exception has occurred during processing:
"java.lang.IllegalStateException: Writer already obtained".
java.lang.IllegalStateException: Writer already obtained

LOCAL FIX:

PROBLEM SUMMARY

USERS AFFECTED:
All users of WebSphere Application Server using the 'consume-subfragments' feature of servlet caching.

PROBLEM DESCRIPTION:
Caching an .html file with consume-subfragment=true on its parent is throwing exceptions.

RECOMMENDATION:
None

When an .html is included in a jsp using c:import and consume-subfragment=true on the jsp, an illegalStateException is thrown when accessing the jsp with servlet caching enabled.

PROBLEM CONCLUSION:
The content is now displayed fine without any exceptions when an .html is included in a jsp using c:import with consume-subfragment=true on the jsp.

The fix for this APAR is currently targeted for inclusion in versions 5.02.14, 5.1.1.8 and 6.0.2.5.

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 5275
 
Download package
What is DD?
Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
PK12081_502X_eFix.jar 01-24-2006 US English 6883 FTP DD
PK12081_511X_eFix.jar 01-24-2006 US English 6835 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
PK10997, PK12081
 
 


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.6
Software edition:
Reference #: 4011471
IBM Group: Software Group
Modified date: Jan 25, 2006