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.
Installation Instructions
Please review the readme.txt for detailed installation instructions.
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-IFPK60565 | 2/27/2008 | US English | 22012 | FC | FTP | DD |
6.1.0.7-6.1.0.9-WS-WAS-IFPK60565 | 2/27/2008 | US English | 42164 | FC | FTP | DD |
6.0.2.23-6.0.2.25-WS-WAS-IFPK60565 | 2/8/2008 | US English | 11256 | FC | FTP | DD |
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).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg24018270