PQ98904: JAVA.LANG.CLASSCASTEXCEPTION IS RECEIVED DURING LOOKUP OF AN EJB AFTER THE EJB APPLICATION IS REINSTALLED.

 A fix is available

Obtain the fix for this APAR



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 information
APAR number PQ98904
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 500
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2004-12-28
Closed date 2005-02-07
Last modified date 2005-03-01

APAR is sysrouted FROM one or more of the following:
PQ98903

APAR is sysrouted TO one or more of the following:

Modules/Macros
BBOUBINF          

Publications Referenced

Fix information
Fixed component name WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSY UK00329    UP05/02/11 P F502

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


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