PQ50653: ERROR-HANDLING JSP INFORMATION IN INFOCENTER IS INCORRECT.


APAR

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:<BR/><%= ErrorReport.getErrorCode() %>
   </title></head><body><H1>
   This error has occured while processing the servlet
   named: <B>ERROR:</B><%= 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 conclusion
Temporary fix
Comments
APAR information
APAR numberPQ50653
Reported component nameWAS ADVANCED SU
Reported component ID5648C8402
Reported release350
StatusCLOSED DOC
PENoPE
HIPERNoHIPER
Submitted date2001-07-17
Closed date2001-07-27
Last modified date2001-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

Fix information
APAR is sysrouted TO one or more of the following:Modules/Macros

Applicable component levels











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, General
Software version: 350
Reference #: PQ50653
IBM Group: Software Group
Modified date: 2001-07-27