APAR status
Closed as program error.
Error description
When using struts tag libraries in JSP files the JSP fails
to compile using the JSPBatchCompiler with the following
exception:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:60)
...
Caused by: java.lang.ExceptionInInitializerError
at org.apache.taglibs.standard.tlv.JstlFmtTLV$Handler.
startElement(JstlFmtTLV.java:168)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement
(Unknown Source)
...
Another possible error message when using the JSPBatchCompiler
is:
org.apache.jasper.JasperException: <h3>Validation error messages
from
tag library fmt</h3>Illegal scope attribute without var in
"fmt:setLocale" tag.
at
org.apache.jasper.compiler.JspParseEventListener.validate(
JspParseEventListener.java:1344)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:236)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:129)
at
com.ibm.ws.webcontainer.jsp.compiler.ibmtools.JasperUtil.
internalCompile(JasperUtil.java:548)
...
Local fix
possible workaround by using relative path for the tld
e.g. <%@ taglib prefix="fmt" uri="/WEB-INF/tlds/fmt.tld" %>
Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server JSP users *
****************************************************************
* PROBLEM DESCRIPTION: A jsp with tags may get a validation *
* exception during batch compile. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
Application Server JSP tag compiler does not properly keep the
tag URI.
Problem conclusion
The JSP tag compiler has been corrected to keep the tag URI for
validation.
The fix for this APAR is currently targeted for inclusion
in cumulative fixes 5.02.13 and 5.1.1.6.
Please refer to the recommended updates page for delivery
information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix Comments
APAR information |
APAR number |
PK07263 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
10S |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-06-14 |
Closed date |
2005-07-07 |
Last modified date |
2005-07-07 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS BASE 5.0 |
Fixed component ID |
5630A3600 |
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|