APAR status |
Closed as documentation error.
| Error description
error.getErrorCode() is returning 0,
error.getTargetServletName() is returning null, and
error.getMessage() is returning null but error.getStackTrace()
is returning the correct value. Local fix
workaround: use/modify existing error.jsp Problem summary
In InfoCenter, give the folllowing example error page:<html><jsp:useBean id="ErrorReport" class=
"com.ibm.websphere.servlet.error.ServletErrorReport"
scope="request" /><head>
<title>
ERROR: In InfoCenter, give the folllowing example error page: <%= ErrorReport.getErrorCode() %>
</title></head><body><H1>
This error has occured while processing the servlet
named: ERROR:<%= ErrorReport.getErrorCode() %>This error has occured while processing the servlet <%= ErrorReport.getTargetServletName() %></H1><B>My Message: named:<%= ErrorReport.getTargetServletName() %> </B><%= ErrorReport.getMessage() %><br><br><B>My StackTrace: My Message:<%= ErrorReport.getMessage() %>
</B><%= ErrorReport.getStackTrace() %><BR></body></html>
Also, explain that the id value must be "ErrorReport".
This is true because the error page is going to load
an instance from
the request space named "ErrorReport" and read
properties. If the default scope (page) is used, a
new instance will be created
and the properties will be blank. My StackTrace:<%= ErrorReport.getStackTrace() %> Also, explain that the id value must be "ErrorReport".This is true because the error page is going to loadan instance fromthe request space named "ErrorReport" and readproperties. If the default scope (page) is used, anew instance will be createdand the properties will be blank. Problem conclusionTemporary fixComments
APAR information | APAR number | PQ50653 | Reported component name | WAS ADVANCED SU | Reported component ID | 5648C8402 | Reported release | 350 | Status | CLOSED DOC | PE | NoPE | HIPER | NoHIPER | Submitted date | 2001-07-17 | Closed date | 2001-07-27 | Last modified date | 2001-07-27 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:APAR is sysrouted FROM one or more of the following:
Modules/Macros APAR is sysrouted TO one or more of the following:Modules/Macros
Applicable component levels |
|