IBM Support

PK19526; 6.0.2.5: JSP compile fails, ignores el-ignored in web.xml in V6.0.2.5

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.

[{"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":"8964","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK19526/readme.txt"}]
Off
[{"DNLabel":"6.0.2.3-WS-WAS-IFPK19526","DNDate":"02-14-2006","DNLang":"US English","DNSize":"6014","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK19526/6.0.2.3-WS-WAS-IFPK19526.pak","DNURL_FTP":null,"DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK19526/6.0.2.3-WS-WAS-IFPK19526.pak"}]

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":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF012","label":"IBM i"}],"Version":"6.0.2.3;6.0.2.5","Edition":"Advanced;Base;Enterprise;Express;Network Deployment;Single Server;WebSphere Business Integrations Server Foundation","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24011623