PQ58674: ORG.OMG.CORBA.BAD_OPERATION WITH OPERATIONS WITH LENGTHS OF MULTIPLES OF 8 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description When running from a WebSphere server, acting as a CORBA client to an ORBIX server. The customer is seeing BAD_OPERATION ( BAD OPERATION) exceptions with certain operations whose lengths are multiples of 8. Operations of different lengths work fine. In this case, the IDL from the server is used to create the java stubs/ties and helper classes. There is no workaround for this problem (other than use operations whose lengths are not multiples of 8).Local fix Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V4.0 for z/OS and OS/390. * * * * All users of WebSphere Application Server * * V4.0.1 for z/OS and OS/390. * **************************************************************** * PROBLEM DESCRIPTION: The customer is seeing BAD_OPERATION * * exceptions with operation names * * whose lengths are multiples of 8. * **************************************************************** * RECOMMENDATION: * **************************************************************** The customer is seeing BAD_OPERATION exceptions with operation names whose lengths are multiples of 8. Operation names which have lengths which are not multiples of 8 work fine. The problem results because the translation of the operation string into a byte array in Java does not include a terminating null. When a native call is made to get the bytes from Java and bring them into C++, null padding occurs after the string in cases where the length does NOT line up with a double word boundary. When the operation name has a length that is a multiple of 8, the lack of padding following the operation name results in a string that is not null terminated. This situation will be raised as a BAD_OPERATION exception.Problem conclusion Support was modified to insure null termination after fetching an operation name from Java. APAR PQ58674 is associated with SERVICE LEVEL W400062 of WebSphere Application Server V4.0 for z/OS and OS/390. APAR PQ58674 is associated with SERVICE LEVEL W401032 of WebSphere Application Server V4.0.1 for z/OS and OS/390.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: UQ64266 UQ64267 Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server for z/OS
Operating system(s):
Software version: 401
Software edition:
Reference #: PQ58674
IBM Group: Software Group
Modified date: Apr 2, 2002
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.