PQ72246: UNCHECKED EXCEPTION IS THROWN WHILE PROCESSING A CSIACCESSEXCEPTION. | |||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description A servlet calls a session bean which has method level security specified in its deployment. When the 'update' method of the SB is called, the servlet receives the following error: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: com.ibm.ejs.container.UncheckedException: ; nested exception is: java.lang.NullPointerException. Tracing from the server region shows: Trace: 2003/02/19 23:10:15.454 01 t=7C51D8 c=A.1 key=P8 Description: Log Boss/390 Error from filename: ./bbossejb.cpp at line: 514 error message: BBOU0715E MSG_BBOUENUS_SEC_REQUESTED_EJBROLES_CHECK_FUNCTION_FAILED: SAF Return Code (hex) : 8 The requested FASTAUTHCHECK function failed and could not be performed for Role Name Z1353AC and Class Name UpdatePrivilege Trace: 2003/02/19 23:10:15.454 01 t=7C51D8 c=A.1 key=P8 Description: Log Boss/390 Error from filename: ./bbossejb.cpp at line: 517 error message: BBOU0530E MSG_BBOUENUS_SEC_USER_OR_GROUP_NOT_AUTHORIZED: RACF Return Code (hex): 8 (RACROUTE) - The user or group is not authorized Trace: 2003/02/19 23:10:15.454 01 t=7C51D8 c=A.1 key=P8 Description: Log Boss/390 Error from filename: ./bbossejb.cpp at line: 801 error message: BBOU0709E MSG_BBOUENUS_SEC_EJBROLES_CHECK_FAILED: The requested EJBROLESAUTHCHECK(RACROUTE) function User Z1353AC not permitted to method updateBankMachMastInfo(com.rbc._5m00.bmm.BankMachMastDTO) via Allowed roles (UpdatePrivilege,.) Trace: 2003/02/19 23:10:15.460 01 t=7C51D8 c=A.1 key=P8 FunctionName: com.ibm.ws390.csi.WS390SecurityCollaborator SourceId: com.ibm.ws390.csi.WS390SecurityCollaborator Category: AUDIT ExtendedMessage: BBOJ0014I "Caller (CBGUEST) does not have permission to execute method com.rbc._m00.bmm.BmmFacadeBean.updateBank MachMastInfo. Allowed roles: roleName=UpdatePrivilege" Trace: 2003/02/19 23:10:15.464 01 t=7C51D8 c=A.1 key=P8 FunctionName: com.ibm.ejs.container.EJSContainer SourceId: com.ibm.ejs.container.EJSContainer Category: WARNING ExtendedMessage: Bean preinvoke threw exception:com.ibm.websphere.csi.CSIAccessException Trace: 2003/02/19 23:10:15.464 01 t=7C51D8 c=A.1 key=P8 FunctionName: com.ibm.ejs.container.EJSContainer SourceId: com.ibm.ejs.container.EJSContainer Category: WARNING ExtendedMessage: Bean preinvoke threw exception:com.ibm.websphere.csi.CSIAccessException Trace: 2003/02/19 23:10:15.465 01 t=7C51D8 c=A.1 key=P8 FunctionName: com.ibm.ejs.container.EJSDeployedSupport SourceId: com.ibm.ejs.container.EJSDeployedSupport Category: WARNING ExtendedMessage: Unchecked exception detected:com.ibm.websphere.csi.CSIAccessExceptionLocal fix Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V4.0.1 for z/OS and OS/390 * **************************************************************** * PROBLEM DESCRIPTION: Client receives a java.lang.NullPointer * * exception when expecting to see a * * NoSuchMethodPermissions Exception. * **************************************************************** * RECOMMENDATION: * **************************************************************** EJSContainer.postInvoke() attempts to discard a beanO without checking to see if the beanO is in fact set. If a NoSuchMethodPermissions Exception is caught in EJSContainer. PreInvoke() then we immediately exit the preInvoke() method resulting in the beanO object that is hanging off of the EJSDeployedSupport object to be equal to null. EJSContainer.postInvoke() attempts to use the beanO object without verifying that it has a non-null value.Problem conclusion EJSContainer.postInvoke() processing has been modified to check if a beanO is null. If a beanO is null then some sort of UnChecked exception was caught and processing continues. If the beanO is not null then it will be discarded as usual. APAR PQ72246 is associated with SERVICE LEVEL W401504 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: 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 #: PQ72246
IBM Group: Software Group
Modified date: Jun 5, 2003
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.