PQ85782: GETTING JAVA.LANG.CLASSCASTEXCEPTION AFTER REINSTALLING THE APPLICATION | |||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description When an application was stopped and re-started, the ORB was creating a new ClientDelegate object, while some existing objects still had references to the old ClientDelegate object. The two objects conflicted, allowing calls to go to the wrong underlying servant object resulting in ClassCastExceptions or "Delegate not set" messages followed by further application failures. . Sample scenario: App1 Has one Stateless EJB and One Servlet App2 Has One EJB Servlet App1 invokes the EJB in App1 this EJB in turn invokes EJB in App2. If you try to stop and start the App2 we get a ClassCastExceptionLocal fix Problem summary **************************************************************** * USERS AFFECTED: All users of IBM JDK packaged with * * WebSphere Application Server 5.0.2 . * **************************************************************** * PROBLEM DESCRIPTION: Getting java.lang.ClassCastException * * after re-installing the application. * **************************************************************** * RECOMMENDATION: * **************************************************************** When an application was stopped and re-started, the ORB was creating a new ClientDelegate object, while some existing objects still had references to the old ClientDelegate object. The two objects conflicted, allowing calls to go to the wrong underlying servant object resulting in ClassCastExceptions or "Delegate not set" messages followed by further application failures. Sample test case: - App1: Has one Stateless EJB and One Servlet - App2: Has One EJB Servlet App1 invokes the EJB in App1 this EJB in turn invokes EJB in App2. If you try to stop and start the App2 we get a ClassCastException.Problem conclusion This has been fixed in JDK defect SOV,68352 and the fix will be included in JDK 1.3.1 SR7.Temporary fix ZE Fix Error PQ86588 04/03/24Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 00A
Software edition:
Reference #: PQ85782
IBM Group: Software Group
Modified date: Mar 24, 2004
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.