Fixes are available
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server
Java SDK 1.5 SR10 Cumulative Fix for WebSphere Application Server
6.1.0.31: Java SDK 1.5 SR11 FP1 Cumulative Fix for WebSphere Application Server
6.1.0.33: Java SDK 1.5 SR12 FP1 Cumulative Fix for WebSphere
6.1.0.29: Java SDK 1.5 SR11 Cumulative Fix for WebSphere Application Server
6.1.0.35: Java SDK 1.5 SR12 FP2 Cumulative Fix for WebSphere
6.1.0.37: Java SDK 1.5 SR12 FP3 Cumulative Fix for WebSphere
6.1.0.39: Java SDK 1.5 SR12 FP4 Cumulative Fix for WebSphere Application Server
6.1.0.41: Java SDK 1.5 SR12 FP5 Cumulative Fix for WebSphere Application Server
6.1.0.43: Java SDK 1.5 SR13 Cumulative Fix for WebSphere Application Server
6.1.0.45: Java SDK 1.5 SR14 Cumulative Fix for WebSphere Application Server
6.1.0.47: WebSphere Application Server V6.1 Fix Pack 47
6.1.0.47: Java SDK 1.5 SR16 Cumulative Fix for WebSphere Application Server
APAR status
Closed as program error.
Error description
Having a large number of JSPs in a web application that require runtime compilation can lead to OutOfMemory problems because of the large amount of JSPExtensionClassLoader objects needed.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server Version 6.1 * * users of applications with a large number of * * Java Server Pages (JSP). * **************************************************************** * PROBLEM DESCRIPTION: An OutOfMemoryException can occur if * * an application contains a large * * number of JSP files. * **************************************************************** * RECOMMENDATION: * **************************************************************** The WebSphere Application Server creates a JSPExtensionClassLoader object for each JSP in an application which can result in these objects taking up a lot of native memory. This can lead to an OutOfMemoryException. The number of JSPs in an application that can lead to this OutOfMemoryException will vary greatly depending on the size of the JSPExtensionClassLoader objects and the machine configuration. For example, the environment in which this problem was reported contained approximately 40,000 JSP files in their application on a server that had 16 GB of physical memory. The OutOfMemoryException occurred with approximately 2,000 JSPExtensionClassLoader objects loaded in memory.
Problem conclusion
The WebContainer code was modified to allow a limit to be specified on the number of JSPExtensionClassLoader objects to be held in memory. Also, a list of JSP files to be excluded from being unloaded can be specified. The WebContainer will not unload a forwarded or included JSP. Two new JSP attributes were added to allow for this setting. 1. jspClassLoaderLimit - the value is an int which determines how many JSPExtensionClassLoader objects to keep loaded. <jspAttributes xmi:id="JSPAttribute_1" name="jspClassLoaderLimit" value="1500"/> 2. jspClassLoaderExclusionList - The value is a comma delimited list of JSPs not to be unloaded regardless of the limit. <jspAttributes xmi:id="JSPAttribute_2" name="jspClassLoaderExclusionList" value="/test/HelloHTML2.jsp,/HelloHTML4.jsp"/> The fix for this APAR is currently targeted for inclusion in fixpack 6.1.0.15. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PK50133
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
60A
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2007-07-31
Closed date
2007-10-09
Last modified date
2007-10-09
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
JSP
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R60A PSN
UP
R60H PSN
UP
R60I PSN
UP
R60P PSN
UP
R60S PSN
UP
R60W PSN
UP
R60Z PSN
UP
R61A PSY
UP
R61H PSY
UP
R61I PSY
UP
R61P PSY
UP
R61S PSY
UP
R61W PSY
UP
R61Z PSY
UP
Document Information
Modified date:
28 December 2021