Fixes are available
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
16.0.0.2: WebSphere Application Server Liberty 16.0.0.2
16.0.0.3: WebSphere Application Server Liberty 16.0.0.3
16.0.0.4: WebSphere Application Server Liberty 16.0.0.4
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
17.0.0.1: WebSphere Application Server Liberty 17.0.0.1
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
17.0.0.2: WebSphere Application Server Liberty 17.0.0.2
17.0.0.3: WebSphere Application Server Liberty 17.0.0.3
17.0.0.4: WebSphere Application Server Liberty 17.0.0.4
18.0.0.1: WebSphere Application Server Liberty 18.0.0.1
18.0.0.2: WebSphere Application Server Liberty 18.0.0.2
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
18.0.0.3: WebSphere Application Server Liberty 18.0.0.3
18.0.0.4: WebSphere Application Server Liberty 18.0.0.4
19.0.0.1: WebSphere Application Server Liberty 19.0.0.1
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
19.0.0.2: WebSphere Application Server Liberty 19.0.0.2
19.0.0.3: WebSphere Application Server Liberty 19.0.0.3
19.0.0.4: WebSphere Application Server Liberty 19.0.0.4
19.0.0.5: WebSphere Application Server Liberty 19.0.0.5
19.0.0.6: WebSphere Application Server Liberty 19.0.0.6
19.0.0.7: WebSphere Application Server Liberty 19.0.0.7
19.0.0.8: WebSphere Application Server Liberty 19.0.0.8
19.0.0.9: WebSphere Application Server Liberty 19.0.0.9
19.0.0.10: WebSphere Application Server Liberty 19.0.0.10
19.0.0.11: WebSphere Application Server Liberty 19.0.0.11
19.0.0.12: WebSphere Application Server Liberty 19.0.0.12
20.0.0.1: WebSphere Application Server Liberty 20.0.0.1
20.0.0.2: WebSphere Application Server Liberty 20.0.0.2
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
20.0.0.3: WebSphere Application Server Liberty 20.0.0.3
20.0.0.4: WebSphere Application Server Liberty 20.0.0.4
20.0.0.5: WebSphere Application Server Liberty 20.0.0.5
20.0.0.6: WebSphere Application Server Liberty 20.0.0.6
20.0.0.7: WebSphere Application Server Liberty 20.0.0.7
20.0.0.8: WebSphere Application Server Liberty 20.0.0.8
20.0.0.9: WebSphere Application Server Liberty 20.0.0.9
20.0.0.10: WebSphere Application Server Liberty 20.0.0.10
20.0.0.11: WebSphere Application Server Liberty 20.0.0.11
20.0.0.12: WebSphere Application Server Liberty 20.0.0.12
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21
APAR status
Closed as program error.
Error description
The Webcontainer intermittently generates a 500 error with the following StringIndexOutOfBoundsException: [9/24/15 9:20:27:483 EDT] 0000002d WebContainer E com.ibm.ws.webcontainer.internal.WebContainer handleRequest SRVE0232E: Internal Server Error. <br> Exception Message: [java.lang.StringIndexOutOfBoundsException: String index out of range: 6 at java.lang.String.substring(String.java:1129) at com.ibm.ws.webcontainer.WebContainer .handleRequest(WebContainer.java:889) at com.ibm.ws.webcontainer.WSWebContainer .handleRequest(WSWebContainer.java:1662) at com.ibm.ws.webcontainer.channel.WCChannelLink .ready(WCChannelLink.java:200) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink .handleDiscrimination(HttpInboundLink.java:456) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink handleNewRequest(HttpInboundLink.java:518)
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server Full * * Profile version 8.5.5 and Liberty Profile * * version 8.5.5 users of WebContainer. * **************************************************************** * PROBLEM DESCRIPTION: A request to a default servlet fails * * with a StringIndexOutOfBoundsException * **************************************************************** * RECOMMENDATION: * **************************************************************** When the com.ibm.ws.webcontainer.removeTrailingServletPathSlash custom property is set to true, a java.lang.StringIndexOutOfBoundsException might be thrown when submitting requests to the application's context root without a trailing slash. The following is an example of the stack trace that might be seen: java.lang.StringIndexOutOfBoundsException: String index out of range: # at java.lang.String.substring(String.java:1129) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer. java:889 ) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContai ner.java :1662) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLin k.java:2 00) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscr iminatio n(HttpInboundLink.java:456) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRe quest(Ht tpInboundLink.java:518)...
Problem conclusion
The WebContainer code was modified to avoid throwing the exception and process the request to the default servlet correctly. The fix for this APAR is currently targeted for inclusion in fix packs 8.0.0.13 and 8.5.5.10 for WebSphere Application Server and 16.0.0.2 for WebSphere Liberty. 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
PI51122
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-10-23
Closed date
2016-01-29
Last modified date
2016-06-09
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R800 PSY
UP
R850 PSY
UP
Document Information
Modified date:
28 April 2022