Fixes are available
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for AIX
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for IBM i
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Windows
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for HP-UX
7.0.0.5: Java SDK 1.6 SR5 Cumulative Fix for WebSphere Application Server
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Solaris
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Linux
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for IBM i
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for AIX
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Windows
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for HP-UX
7.0.0.7: Java SDK 1.6 SR6 Cumulative Fix for WebSphere Application Server
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Solaris
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Linux
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for IBM i
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Windows
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for AIX
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for HP-UX
7.0.0.9: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Solaris
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Linux
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for IBM i
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Windows
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for HP-UX
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for AIX
7.0.0.11: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Solaris
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Linux
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for AIX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for HP-UX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for IBM i
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Linux
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Solaris
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Windows
7.0.0.13: Java SDK 1.6 SR8FP1 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for AIX
7.0.0.15: Java SDK 1.6 SR9 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for HP-UX
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for IBM i
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Linux
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Solaris
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Windows
7.0.0.17: WebSphere Application Server V7.0 Fix Pack 17
7.0.0.17: Java SDK 1.6 SR9 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.19: WebSphere Application Server V7.0 Fix Pack 19
7.0.0.21: WebSphere Application Server V7.0 Fix Pack 21
7.0.0.23: WebSphere Application Server V7.0 Fix Pack 23
7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
7.0.0.19: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.21: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere
7.0.0.23: Java SDK 1.6 SR10 FP1 Cumulative Fix for WebSphere
7.0.0.25: Java SDK 1.6 SR11 Cumulative Fix for WebSphere Application Server
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server
APAR status
Closed as program error.
Error description
ServletImpl.getServletClass() can cause a ArrayIndexOutOfBoundsException when the servlet in question is a JavaServer Page (JSP) type servlet.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V7.0 * **************************************************************** * PROBLEM DESCRIPTION: An ArrayIndexOutOfBoundsException can * * occur from URI.segment * * inside ServletImpl.getServletClass. * **************************************************************** * RECOMMENDATION: No work-around is available. * * * * If possible, calling code can be modified * * to avoid invoking Servlet.getServletClass * * when the servlet has a servlet-type of * * JSP, as the servlet class value is not * * meaningful in this case. * **************************************************************** This problem was noted as an internal defect against the v7.0 release of the IBM WebSphere Application Server. The symptom of this problem is an ArrayIndexOutOfBoundsException showing beneath a call to org.eclipse.jst.j2ee.webapplication.internal.impl.ServletImpl.ge tServletClass(). In this case, the ServletImpl object contains data which was read from a deployment descriptor (web.xml) of a Web Application Archive (WAR) file. The exception will occur when a call is made to ServletImpl.getServletClass when the servlet has a web-type of JSP. For example: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2 at org.eclipse.emf.common.util.URI.segment(URI.java:1634) at org.eclipse.jst.j2ee.webapplication.internal.impl.ServletImpl.ge tServletClass(ServletImpl.java:643) at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.locateServlet(WSM oduleDescriptorImpl.java:958) at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.updateEndpointURL S(WSModuleDescriptorImpl.java:867) at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.buildJAXWSService s(WSModuleDescriptorImpl.java:689) at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.containsJAXWSWebS ervices(WSModuleDescriptorImpl.java:331) at com.ibm.ws.websvcs.deploy.WSCacheWriter.writeModuleCache(WSCache Writer.java:514) at com.ibm.ws.websvcs.deploy.WSCacheWriter.writeApplicationCache(WS CacheWriter.java:217) at com.ibm.ws.websvcs.deploy.WSCacheWriter.writeApplicationCache(WS CacheWriter.java:144) at com.ibm.ws.websvcs.deploy.PersistentStorageInstallSaveTask.perfo rmTask(PersistentStorageInstallSaveTask.java:207) at com.ibm.ws.management.application.sync.AppBinaryProcessor$Expand App.expand(AppBinaryProcessor.java:1532) at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBin Thread.run(AppBinaryProcessor.java:1118) at java.lang.Thread.run(Thread.java:735)
Problem conclusion
The problem was fixed by updating the implementation of getServletClass to return null when the web-type is JavaServer Page (JSP). Note that this is not a change of the return value, since the prior result was an ArrayIndexOutOfBoundsException. The fix for this APAR is currently targeted for inclusion in fixpack 7.0.0.5. 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
PK77563
Reported component name
WEBSPHERE APP S
Reported component ID
5724J0800
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-12-16
Closed date
2009-02-23
Last modified date
2009-02-23
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
WEBSPHERE APP S
Fixed component ID
5724J0800
Applicable component levels
R700 PSY
UP
Document Information
Modified date:
23 October 2021