IBM Support

PH43816:JNDI failure after upgrading Websphere Application Server to 9.0.5.10

Download


Downloadable File

File link File size File description

Abstract

JNDI failure after upgrading websphere application server to 9.0.5.10

Download Description

PH43816 resolves the following problem:

ERROR DESCRIPTION:
JNDI operation can 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.addBundleContext(ServiceReaperImpl.java:359)
at com.ibm.osgi.jndi.fep.bridge.ServiceReaperImpl$BundleContextAddingObjectFactoryProxy.getObjectInstance(ServiceReaperImpl.java:265)
at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstanceUsingObjectFactories(ObjectFactoryHelper.java:134)
at org.apache.aries.jndi.ObjectFactoryHelper.access$300(ObjectFactoryHelper.java:39)
at org.apache.aries.jndi.ObjectFactoryHelper$1.run(ObjectFactoryHelper.java:100)
at java.security.AccessController.doPrivileged(AccessController.java:734)
at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstance(ObjectFactoryHelper.java:67)
at org.apache.aries.jndi.OSGiObjectFactoryBuilder.getObjectInstance(OSGiObjectFactoryBuilder.java:66)
at javax.naming.spi.DirectoryManager.getObjectInstance(DirectoryManager.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

Prerequisites

None

Installation Instructions

Review the readme.txt for detailed installation instructions.

URL SIZE(Bytes)
V90 readme 5243

Download Package

 
IMPORTANT NOTE:
WebSphere Application Server and Liberty fix access requires S&S Entitlement in 2021. Use properly registered IDs to download the fixes in this table. 
DOWNLOAD RELEASE DATE SIZE(Bytes)

DOWNLOAD Options

What is Fix Central(FC)?

9.0.5.10-WS-WASProd-IFPH43816 10 February 2022 264576 FC

Problems Solved

PH43816

On

Technical Support

Contact IBM Support at https://www.ibm.com/software/mysupport/s/ or 1-800-IBM-SERV (US only).

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"9.0.5.10","Edition":"Base","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 February 2022

UID

ibm16555154