Fixes are available
7.0.0.17: Java SDK 1.6 SR9 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
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
Obtain the fix for this APAR.
APAR status
Closed as program error.
Error description
When running WebSphere Application Server on zOS, you can use JZOS feature to read and write to a Logstream. Using JZOS API. an Application will encounter an 'ArrayIndexOutOfBoundsException' when writing with an empty byte array and specifying zero length. The exception stack will look like below. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet at java.lang.reflect.Method.invoke(Method.java:600) at command.CommandExecuter.execute(CommandExecuter.java:115) at command.CommandExecuter.main(CommandExecuter.java:66) Caused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 at com.ibm.jzos.ZLogstreamI.write(ZLogstreamI.java:379) at com.ibm.jzos.ZLogstreamI.write(ZLogstreamI.java:340) at command.SyslogCommands.sys_blank(SyslogCommands.java:104) ... 6 more
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server V7.0 * **************************************************************** * PROBLEM DESCRIPTION: ArrayIndexOutOfBoundsException in * * ZLogstreamI.write when writing an * * empty byte[] buffer. * **************************************************************** * RECOMMENDATION: * **************************************************************** ZLogstreamI.write suffers an ArrayIndexOutOfBoundsException when writing with an empty byte[] buffer and specifying a zero length. The ArrayIndexOutOfBoundsException also occurs under methods ZLogstreamI.read and ZLogstreamI.readMultiBlock.
Problem conclusion
The ArrayIndexOutOfBoundsException was corrected. Any attempt to read or write while specifying a zero length returns immediately without performing any work. APAR PM30090 is currently targeted for inclusion in Service Level (Fix Pack) 7.0.0.17 of WebSphere Application Server V7.0. Please refer to URL: //www.ibm.com/support/docview.wss?rs=404&uid=swg27006970 for Fix Pack availability.
Temporary fix
Comments
APAR Information
APAR number
PM30090
Reported component name
WEBSPHERE FOR Z
Reported component ID
5655I3500
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-01-07
Closed date
2011-02-09
Last modified date
2011-06-02
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 FOR Z
Fixed component ID
5655I3500
Applicable component levels
R700 PSY UK67335
UP11/05/19 P F105
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
Document Information
Modified date:
27 October 2021