PQ70054: ARRAYINDEXOUTOFBOUNDSEXCEPTION OCCURS INTERMITTENLY | |||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description IBMer has identified a problem in the WebSphere Orb (iwsorb.jar) for version 4.0.2 and beyond. The following ArrayIndexOutOfBoundsException occurs intermittenly. This problem occurs when WebSphere is communicating with a Java application using CORBA, and the Java Application is using Java 1.4.Local fix Suggested fix is to update the ObjectKey.getServerUUID() function:Problem summary **************************************************************** * USERS AFFECTED: All WebSphere Application Server users of * * WebSphere to communicate with other non * * IBM Java ORB. * **************************************************************** * PROBLEM DESCRIPTION: When WebSphere receives a shorter * * object key generated by other non IBM * * ORB, it throws java.lang. * * ArrayIndexOutOfBoundsException. * **************************************************************** * RECOMMENDATION: * **************************************************************** In a typical topology, WebSphere is acting as a client, which uses IBM ORB to communicates with other non IBM ORB vendor (could be Java or C++). When WebSphere ORB receives an Object Key generated from the non IBM ORB, it examines both of its size and content. If the Object key is shorter than it expects (16 bytes), WebSphere ORB would throw the following exception. java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy (Native Method) at com.ibm.CORBA.iiop.ObjectKey.getServerUUID (ObjectKey.java:117) at com.ibm.CORBA.iiop.ClientDelegate.testLocalServantIDs (ClientDelegate.java:1354) at com.ibm.CORBA.iiop.ClientDelegate.is_a (ClientDelegate.java:1528) at org.omg.CORBA.portable.ObjectImpl._is_a (ObjectImpl.java:74) at org.csapi.cc.mpccs.IpMultiPartyCallControlManagerHelper.narrow (IpMultiPartyCallControlManagerHelper.java:73)Problem conclusion When WebSphere ORB finds the Object Key is shorter than 16 bytes, it will fill up the remaining bytes with the value of zeros and maintain all Object Keys, generated by either IBM ORB or non IBM ORB, as 16 bytes long.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: PQ72089 Modules/Macros
SRLS
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ70054
IBM Group: Software Group
Modified date: Feb 18, 2003
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.