Fixes are available
PK60565; 6.0.2.25: JSP compile error "cannot resolve symbol symbol" thrown
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
JSP compile error "cannot resolve symbol symbol : variable _jspx_push_body_count_c_forEach_1 " is thrown after applying 6.0.2.23. SRVE0026E: [Servlet Error]-[JSPG0049E: /jsp/path/testParent.jsp failed to compile : JSPG0225E: An error occurred at line: 14 in the statically included file: /jsp/path/includes/testInclude.jsp JSPG0093E: Generated servlet error from file: /jsp/path/testParent.jsp /usr/WebSphere/AppServer/profiles/profileName/temp/nodeName/serv er1/earName/warName.war/jsp/path/_testParent.java:333: cannot resolve symbol symbol : variable _jspx_push_body_count_c_forEach_1 location: class com.ibm._jsp._testParent _jspx_th_custom_tag_1.setJspBody(new _testParentHelper( 1, pageContext, _jspx_th_custom_tag_1, _jspx_push_body_count_c_forEach_1));
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server version * * 6.0.2 and 6.1 users of JavaServer Pages * * (JSP) in their applications. * **************************************************************** * PROBLEM DESCRIPTION: JSPs which contain static includes and * * custom tag calls can fail to compile * * due to a variable that cannot be * * resolved. * **************************************************************** * RECOMMENDATION: * **************************************************************** The following error can occur when a JSP is compiled. Similar errors can also occur for the same reason, the variable that causes the exception depends on the contents of the JSP and the custom tag being used. JSPG0225E: An error occurred at line: 14 in the statically included file: /jsp/path/includes/testInclude.jsp JSPG0093E: Generated servlet error from file: /jsp/path/testParent.jsp /usr/WebSphere/AppServer/profiles/profileName/temp/nodeName/serv er1/earName/warName.war/jsp/path/_testParent.java:333: cannot resolve symbol symbol : variable _jspx_push_body_count_c_forEach_1 location: class com.ibm._jsp._testParent _jspx_th_custom_tag_1.setJspBody(new _testParentHelper( 1, pageContext, _jspx_th_custom_tag_1, _jspx_push_body_count_c_forEach_1)); This exception is caused by one JSP including one or more other JSPs and a custom tag is involved in some manner. The exception typically occurs when the JSPs are involved in some type of an iterative action. For example, using the JavaServer Pages Standard Tag Library (JSTL) tag c:forEach.
Problem conclusion
The translation phase code of the JSP Container was modified to keep better track of the count that is used to append to variables when constructing the Java code prior to compilation. The fix for this APAR is currently targeted for inclusion in fixpack 6.0.2.27 and 6.1.0.17. Please refer to the Recommended Updates page for delivery information: http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP &uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PK60565
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
2008-02-06
Closed date
2008-02-08
Last modified date
2008-02-25
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R60A PSY
UP
R60H PSY
UP
R60I PSY
UP
R60P PSY
UP
R60S PSY
UP
R60W PSY
UP
R60Z PSY
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