PM70625; 8.5.0.1: NoInitialContextException for InitialContext implementations

Downloadable files


Abstract

Using external javax.naming.InitialContext implementations result in javax.naming.NoInitialContextException

Download Description

PM70625 resolves the following problem:

ERROR DESCRIPTION:
Trying to use an external implementation of javax.naming.InitialContext for performing JNDI operations
results in a javax.naming.NoInitialContext exception being thrown.

LOCAL FIX:
None

PROBLEM SUMMARY

USERS AFFECTED:
All users of IBM WebSphere Application Server Liberty Profile using JNDI

PROBLEM DESCRIPTION:
Using external javax.naming.InitialContext implementations result in javax.naming.NoInitialContextException

RECOMMENDATION:
None

Trying to use an external implementation of javax.naming.InitialContext for performing JNDI operations
results in a javax.naming.NoInitialContext exception being thrown and logged in the console.log.

PROBLEM CONCLUSION:
In order for other JNDI context providers to be used the classes for them needed to be available to the
JNDI implementation used in the Liberty profile.

This meant having an InitialContextFactoryBuilder and an ObjectFactoryBuilder made available. Additionally the gateway classloader for JEE applications was changed to implement BundleReference.


The fix for this APAR is currently targeted for inclusion in fix pack 8.5.0.2. Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Prerequisites

None

Installation Instructions

Please review the readme.txt for detailed installation instructions.

Download package

Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
What is Fix Central (FC)?
What is DD?
8.5.0.1-WS-WASProd_WLP-DistOnly-IFPM70625 7 Nov 2012 US English 491970 FC DD
8.5.0.1-WS-WASProd_WLP-OS390-IFPM70625 7 Nov 2012 US English 491693 FC DD

Technical support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server support web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).

Problems (APARS) fixed
PM70625

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Application Server
JNDI/Naming

Software version:

8.5.0.1

Operating system(s):

AIX, HP-UX, IBM i, Linux, Solaris, Windows, z/OS

Software edition:

Base, Developer, Express, Network Deployment

Reference #:

4034231

Modified date:

2013-07-11

Translate my page

Machine Translation

Content navigation