IBM Support

PK60565; 6.0.2.25: JSP compile error "cannot resolve symbol symbol" thrown

Download


Abstract

A JavaServer Page (JSP™) which contains static includes and custom tag calls can fail to compile due to a variable that cannot be resolved.

Download Description

PK60565 resolves the following problem:

ERROR DESCRIPTION:
A JavaServer Page (JSP) compile error "cannot resolve symbol symbol : variable_jspx_push_body_count_c_forEach_1" is thrown after applying 6.0.2.25.

LOCAL FIX:
N/A

PROBLEM SUMMARY

USERS AFFECTED:
Users of IBM® WebSphere® Application Server versions 6.0.2 and 6.1 who use JSPs 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:
None

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 that includes one or more other JSPs. A custom tag is also involved in some manner. The exception typically occurs when the JSPs are involved in some type of 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 Fix Pack 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&uid=swg27004980

Prerequisites

Please download the UpdateInstaller below to install this fix.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"7114","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK60565/readme.txt"}]

Download Package

Download package
What is Fix Central (FC)?
What is DD?
Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
6.1.0.11-6.1.0.15-WS-WAS-IFPK605652/27/2008US English22012FCFTPDD
6.1.0.7-6.1.0.9-WS-WAS-IFPK605652/27/2008US English42164FCFTPDD
6.0.2.23-6.0.2.25-WS-WAS-IFPK605652/8/2008US English11256FCFTPDD

On
[{"DNLabel":"6.1.0.11-6.1.0.15-WS-WAS-IFPK60565","DNDate":"2/27/2008","DNLang":"US English","DNSize":"22012","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":null,"DNURL_FTP":null,"DDURL":null},{"DNLabel":"6.1.0.7-6.1.0.9-WS-WAS-IFPK60565","DNDate":"2/27/2008","DNLang":"US English","DNSize":"42164","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":null,"DNURL_FTP":null,"DDURL":null},{"DNLabel":"6.0.2.23-6.0.2.25-WS-WAS-IFPK60565","DNDate":"2/8/2008","DNLang":"US English","DNSize":"11256","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":null,"DNURL_FTP":null,"DDURL":null}]

Technical Support

Contact IBM Support using SR (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).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"JSP","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.1.0.9;6.1.0.7;6.1.0.15;6.1.0.13;6.1.0.11;6.0.2.25;6.0.2.23","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24018270