Fix (APAR): PQ86588 Status: Fix Release: 5.0.2 Operating System: All Supersedes Fixes: PQ85782 CMVC Defect: sov 68352 Byte size of APAR: 632,126 Date: 2004-03-24 Prerequisites: This fix can only be applied on WebSphere Application Server 5.0.2. Furthermore, on platforms where IBM delivers an SDK (Windows, AIX, and Linux) SDK 1.3.1 SR6 is a prerequisite. On HP-UX and Sun platforms, there is no dependency on the Service Release level of the SDK. Abstract: fix ClassCastException on EJB re-start and "The delegate has not been set." error Description/symptom of problem: This APAR addresses the problem where stopping and starting an EJB multiple times makes it inaccessible to other EJBs, servlets or JSPs running in the same appserver. Typically, attempts to access it will fail with a ClassCastException. It also fixes the problem where the appserver reports, "The delegate has not been set." A stub for an object in the same appserver is looked up from Naming and cached, then the cache is flushed and subsequent lookups cache new stubs in Naming. The failure occurs when the cache misses (and the stub is re-created) for the third time. Additional Information: This is a one-off patch and will conflict with any other patches that update ibmorb.jar. This fix can be identified by examining the ORB version string (reported in WebSphere trace) which should contain "orbsol131-20031017 (+sov68352)". This fix can only be applied on WebSphere Application Server 5.0.2. Furthermore, on platforms where IBM delivers an SDK (Windows, AIX, and Linux) SDK 1.3.1 SR6 is a prerequisite. On HP-UX and Sun platforms, there is no dependency on the Service Release level of the SDK. Directions to apply fix: NOTE: YOU MUST FIRST DOWNLOAD THE UPDATE INSTALLER TOOL IN ORDER TO INSTALL A FIX. The Fix Installer can be downloaded from the following link: http://www-3.ibm.com/software/webservers/appserv/support/index.html 1) Create temporary "fix" directory to store the jar file: UNIX: /tmp/WebSphere/fix Windows: c:\temp\WebSphere\fix 2) Copy jar file to the directory 3) Shutdown WebSphere 4) Follow the Fix installation instructions that are packaged with the Fix Installer on how to install the Fix. 5) Restart WebSphere 6) The temp directory may be removed. Directions to remove fix: NOTE: FIXES MUST BE REMOVED IN THE ORDER THEY WERE APPLIED. DO NOT REMOVE A FIX UNLESS ALL FIXES APPLIED AFTER IT HAVE FIRST BEEN REMOVED. YOU MAY REAPPLY ANY REMOVED FIX. Example: If your system has fix1, fix2, and fix3 applied in that order and fix2 is to be removed, fix3 must be removed first, fix2 removed, and fix3 re-applied. 1) Shutdown WebSphere 2) Follow the instructions that are packaged with the Fix Installer on how to uninstall the Fix. 3) Restart WebSphere Directions to re-apply fix: 1) Shutdown WebSphere 2) Follow the Fix instructions that are packaged with the Fix Installer on how to uninstall and reinstall the Fix. 3) Restart WebSphere