PK03907; 4.0.5: Invalidation need to be moved to
jsp/servlet destroy method
Downloadable files
Abstract
Invalidation need to be moved to JSP/Servlet destroy
method when application shares cache across clones.
Download Description
PK03907 resolves the following problem:
ERROR DESCRIPTION:
While processing the jsp initialization Dynamic Cache sends out an
invalidateByTemplate to each server's cache to remove any potential old
copies of this jsp. Once the init methods for the jsp has been called on
each server this invalidationByTemplate will not get called on any
subsequent requests.
PROBLEM SUMMARY:
USERS AFFECTED:
Dynamic Cache users using servlet caching in a multiserver environment.
PROBLEM DESCRIPTION:
While processing the servlet/jsp initialization Dynamic Cache sends out an
invalidation by template to each server's cache to remove any potential
old copies of this servlet or jsp. This can cause unnecessary
invalidations in a clustered environment.
RECOMMENDATION:
Template invalidation needs to be moved from servlet/jsp initialization
method to the destroy method.
PROBLEM CONCLUSION:
Moved the invalidation by templates from the servlet/jsp initialization
method to the destroy method to eliminate the unnecessary in-validation
that can occur when the fragment is requested for the first time.
Prerequisites
NONE
Installation instructions
Please review the readme.txt for detailed installation
instructions.