PQ88711: java.lang.StringIndexOutOfBoundsException:in PmiRmCorrelator.jav

 Fixes are available

5.1.0.5: WebSphere Application Server V5.1.0 Cumulative Fix 5
5.1.1: WebSphere Application Server Version 5.1 Fix Pack 1 (Version 5.1.1)



APAR status
Closed as program error.

Error description
Cu  getting  "String index out of range:" in PmiRmCorrelator
even when PMI is disabled, which will result in
java.lang.IllegalStateException: 33 response bytes written, but
Content-Length header equals 41

Following is the stack Trace
---------------------------------------
[Servlet Error]-[String index out of range: -5]:
java.lang.StringIndexOutOfBoundsException: String index out of
range:
com.ibm.ws.pmi.reqmetrics.PmiRmCorrelator.getPmiRmCorrelatorFrom
String(PmiRmCorrelator.java(Compiled Code))

2)[4/30/04 11:55:27:949 PDT] 4a3c7223 WebGroup      E SRVE0026E:
[Servlet Error]-[PdfServlet]:
com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Internal
Server Error
4/30/04 11:55:27:963 PDT] 4a3c7223 SRTServletRes W WARNING:
Cannot set
header. Response already committed.
[4/30/04 11:55:27:995 PDT] 4a3c7223 HttpConnectio E
HttpConnection.run:
java.lang.IllegalStateException: 33 response bytes written, but
Content-Length header equals 41
[4/30/04 11:55:27:998 PDT] 4a3c7223 SystemOut     O  at
com.ibm.ws.http.HttpResponse.finish(HttpResponse.java(Compiled
Code))
Local fix Problem summary
****************************************************************
* USERS AFFECTED: Users turning on PMI request metrics         *
*                 and sending requests via a web server.       *
****************************************************************
* PROBLEM DESCRIPTION: The correlator parsing code in          *
*                      PmiRmCorrelator had a bug causing       *
*                      StringOutOfIndex exception.             *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
To fix the StringOutOfIndex exception in PmiRmCorrelator,
change the hard-coded index to the calculated index derived
from the correlator pattern. Also catch the exception in
PmiRmCorrelator so that the exception will be logged but will
not impact the other components.
Problem conclusion
The StringOutOfIndex problem is fixed.
Temporary fix Comments
APAR information
APAR number PQ88711
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 00A
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2004-05-11
Closed date 2004-06-21
Last modified date 2004-06-21

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
pmirm          

Publications Referenced

Fix information

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


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00A
Software edition:
Reference #: PQ88711
IBM Group: Software Group
Modified date: Jun 21, 2004