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.