Download
Abstract
JSP compile fails, ignores el-ignored in web.xml in version 6.0.2.5
Download Description
PK19526 resolves the following problem:
ERROR DESCRIPTION:
See eclipse bugzilla defect 124492:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=124492
For compatibility with our customer's old JSP which use JSP 1.2 and JSTl 1.1, we inserted the following tags into 'web.xml' of the application module 'Stores.war'. The tags were inserted to disable EL:
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<el-ignored>true</el-ignored>
</jsp-property-group>
</jsp-config>
In WAS 6.0.2 or earlier, no errors are seen.
In WAS 6.0.2.5, JSP compilation fails, for example:
[2/9/06 14:08:20:038 IST] 0000002d WebApp E SRVE0026E:
[Servlet Error]-[JSPG0227E: Exception caught while translating
/SampleJSTL10.jsp:
/SampleJSTL10.jsp(17,7) --> JSPG0124E: Custom tag attribute items cannot be runtime expression. value: "[${header}]"
]: com.ibm.ws.jsp.translator.JspTranslationException: JSPG0227E:
Exception caught while translating /SampleJSTL10.jsp:
/SampleJSTL10.jsp(17,7) --> JSPG0124E: Custom tag attribute items cannot be runtime expression. value: "[${header}]"
The compilation error occurs because the value of 'el-egnored' that was added to web.xml is being ignored.
This error is seen in WebSphere Application Server versions 6.0.2.3, 6.0.2.5, and 6.0.2.7. This error is not seen in earlier version (6.0.2.0 or 6.0.2.1). For example, placing the wccm_base.jar from a V6.0.2.1 installation into a V6.0.2.5 installation remediates the problem. (This is not a recommended workaround.)
LOCAL FIX:
none
PROBLEM SUMMARY
USERS AFFECTED:
Users of WebSphere Application Server versions 6.0.2.3, 6.0.2.4, 6.0.2.5, 6.0.2.6, and 6.0.2.7, on all available platforms.
Users with J2EE applications with JSPs may be affected.
PROBLEM DESCRIPTION:
JSP compile fails, ignores EL-IGNORED in WEB.XML in V6.0.2.5
RECOMMENDATION:
None
See eclipse bugzilla defect 124492:
bugs.eclipse.org/bugs/show_bug.cgi?id=124492
For compatibility with our customer's old JSP which use JSP 1.2 and JSTl 1.1, we inserted the following tags into 'web.xml' of the application module 'Stores.war'. The tags were inserted to disable EL:
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<el-ignored>true</el-ignored>
</jsp-property-group>
</jsp-config>
In WebSphere Application Server 6.0.2.1 or earlier, no errors are seen.
In WAS 6.0.2.5, JSP compilation fails, for example:
[2/9/06 14:08:20:038 IST] 0000002d WebApp E
SRVE0026E: [ServletError]-[JSPG0227E: Exception caught while translating /SampleJSTL10.jsp:
/SampleJSTL10.jsp(17,7) --> JSPG0124E: Custom tag attribute items cannot be runtime expression. value: "[${header}]"
]: com.ibm.ws.jsp.translator.JspTranslationException:
JSPG0227E: Exception caught while translating
/SampleJSTL10.jsp:
/SampleJSTL10.jsp(17,7) --> JSPG0124E: Custom tag attribute items cannot be runtime expression. value: "[${header}]"
The compilation error occurs because the value of 'el-egnored' that was added to web.xml is being ignored.
PROBLEM CONCLUSION:
Received CORONA patch for 6.0 levels.
Published ifix for versions 6.0.2.3, 6.0.2.5, and 6.0.2.7 for distributed platforms.
The fix will be included in the version 6.0.2.8 and 6.0.2.9 service packs.
Please refer to the recommended updates page for delivery information:
http://www.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.
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
swg24011623