PQ98904: JAVA.LANG.CLASSCASTEXCEPTION IS RECEIVED DURING LOOKUP OF AN EJB AFTER THE EJB APPLICATION IS REINSTALLED. | |||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description A ClassCastException is received when application A invokes an EJB in application B and application B has been reinstalled. A sample test case is, - Application A has EJB A - Application B has EJB B - Application B is reinstalled - When EJB A tries to invoke EJB B a classcastexception results. This is a problem in the WebSphere for z/OS ORB and will be corrected by this apar.Local fix Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V5.0 for z/OS * **************************************************************** * PROBLEM DESCRIPTION: java.lang.ClassCastException occurs * * when application A invokes a home EJB * * in application B and application B was * * reinstalled or stopped and restarted. * * * **************************************************************** * RECOMMENDATION: * **************************************************************** Applications A and B are installed on the same server. An EJB in application A looks up a home EJB in application B and caches the home EJB stub (either directly or indirectly using an access bean). If application B is reinstalled or stopped and restarted, then a ClassCastException occurs when application A subsequently invokes the home EJB in application B. This occurs because its cached home stub refers to the previous instance of application B which is no longer usable.Problem conclusion Code is added so that cached stubs are updated to refer to the new EJB home instances when an application is reinstalled or restarted. APAR PQ98904 is associated with SERVICE LEVEL W502023 of WebSphere Application Server V5.0 for z/OS.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: PQ98903 APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Document Information |
Current web document: swg1PQ98904.html
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server for z/OS
Operating system(s):
Software version: 500
Software edition:
Reference #: PQ98904
IBM Group: Software Group
Modified date: Mar 1, 2005
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.