Fix (APAR): PH43816 Status: Fix Release: 9.0.5.10 Operating System: AIX,HP-UX,IBM i,Linux,Solaris,Windows,z/OS Supersedes Fixes: CMVC Defect: xxxxxx Byte size of APAR: 264576 Date: 2022-02-10 Abstract: jndi failure after upgrading websphere application server to 9.0.5.10 Description/symptom of problem: PH43816 resolves the following problem: ERROR DESCRIPTION: JNDI operation may fail due to an Exception while attempting to obtain an object instance from an ObjectFactory. In previous releases such an Exception was caught and alternative methods of retreiving the object instance were performed successfully. An example callstack is show below: javax.naming.NoInitialContextException: Unable to determine caller's BundleContext; remaining name '' at com.ibm.osgi.jndi.fep.bridge.ServiceReaperImpl.addBundleCon text(ServiceReaperImpl.java:359) at com.ibm.osgi.jndi.fep.bridge.ServiceReaperImpl$BundleContex tAddingObjectFactoryProxy.getObjectInstance(ServiceReaperImpl.j ava:265) at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstance UsingObjectFactories(ObjectFactoryHelper.java:134) at org.apache.aries.jndi.ObjectFactoryHelper.access$300(Object FactoryHelper.java:39) at org.apache.aries.jndi.ObjectFactoryHelper$1.run(ObjectFacto ryHelper.java:100) at java.security.AccessController.doPrivileged(AccessControlle r.java:734) at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstance (ObjectFactoryHelper.java:67) at org.apache.aries.jndi.OSGiObjectFactoryBuilder.getObjectIns tance(OSGiObjectFactoryBuilder.java:66) at javax.naming.spi.DirectoryManager.getObjectInstance(Directo ryManager.java:177) LOCAL FIX: PROBLEM SUMMARY: USERS AFFECTED: All users of IBM WebSphere Application Server PROBLEM DESCRIPTION: JNDI operations fail if an ObjectFactory throws an Exception. RECOMMENDATION: None The fix for APAR PH02744 backported, into WebSphere Application Server, the fix for an issue in the open source Apache Aries project identified in JIRA ARIES-1068. When obtaining an object instance, the OSGi JNDI implementation's InitialContextFactoryBuilder must try several different methods to obtain the instance. The fix modified the Exception handling such that an Exception from one such method was no longer handled causing a premature failure of the attempt. PROBLEM CONCLUSION: The defect in Apache Aries JIRA ARIES-1068 was identified and fixed in Apache Aries JIRA ARIES-2000. The fix for this APAR backports the open source fix for the ARIES-2000 JIRA into the version of Apache Aries shipped in WebSphere Application Server. The fix for this APAR is targeted for inclusion in fix pack 9.0.5.11. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553 Directions to apply fix: Install Fix to all WebSphere installations unless special instructions are included below. Special Instructions: None NOTE: The user must: * Logged in with the same authority level when unpacking a fix, fix pack or refresh pack. * Be at V1.8.5 or newer of the Installation Manager. Certain iFixes may require a newer version of the Installation Manager and the Installation Manager will inform you during the installation process if a newer version is required. The IBM Information Center can provide details, if needed, on the use of the Installation Manager to apply the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server before applying the iFixes. Restart WebSphere Application Server after applying the iFixes. Directions to remove fix: The IBM Information Center can provide details, if needed, on the use of the Installation Manager to remove the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server before removing the iFixes. Restart WebSphere Application Server after removing the iFixes. Directions to re-apply fix: 1) Shutdown WebSphere Application Server. 2) Follow the Fix instructions to apply the fix. 3) Restart WebSphere Application Server. Additional Information: