Fix (APAR): PI63532 Status: Fix Release: 9.0.0.0 Operating System: AIX,HP-UX,IBM i,Inspur K-UX,Linux,OS X,Solaris,Windows,iOS,z/OS Supersedes Fixes: CMVC Defect: xxxxxx Byte size of APAR: 726004 Date: 2016-07-14 Abstract: JNDI Lookup Failures Description/symptom of problem: PI63532 resolves the following problem: ERROR DESCRIPTION: This APAR fixes several problems relating to JNDI lookups. LOCAL FIX: PROBLEM SUMMARY USERS AFFECTED: All users of IBM WebSphere Application Server PROBLEM DESCRIPTION: This APAR fixes several problems relating to JNDI lookups in Application Client Modules. RECOMMENDATION: None This APAR fixes several problems relating to JNDI lookups in Application Client Modules. * A null pointer exception occurring when processing a javax.naming.Reference object: Caused by: com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is java.lang.NullPointerException] at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupE xt(Helpers.java:1228) at com.ibm.ws.naming.java.javaCNRootContextImpl.processBoundObjectF orLookup(javaCNRootContextImpl.java:610) at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CN ContextImpl.java:3974) at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.j ava:1876) at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.j ava:1777) at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl. java:1434) at com.ibm.ws.naming.java.javaCNRootContextImpl.lookupExt(javaCNRoo tContextImpl.java:368) at com.ibm.ws.naming.java.javaURLContextRoot.lookupExt(javaURLConte xtRoot.java:468) at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextR oot.java:370) at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.jav a:161) at javax.naming.InitialContext.lookup(InitialContext.java:428) at com.sun.ts.tests.ejb30.common.helper.ServiceLocator.lookup(Servi ceLocator.java:72) at com.sun.ts.tests.ejb30.common.helper.ServiceLocator.lookupNoTry( ServiceLocator.java:28) ... 41 more Caused by: java.lang.NullPointerException at com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl.processObject Instance(ConnectionFactoryBuilderServerImpl.java:1198) at com.ibm.ejs.j2c.ServerFunction.processObjectInstance(ServerFunct ion.java:2006) at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(C onnectionFactoryBuilderImpl.java:662) at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstanceUsing ObjectFactoryBuilders(ObjectFactoryHelper.java:349) at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstance(Obje ctFactoryHelper.java:89) at org.apache.aries.jndi.OSGiObjectFactoryBuilder.getObjectInstance (OSGiObjectFactoryBuilder.java:62) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.j ava:311) at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupE xt(Helpers.java:1118) ... 53 more * A lookup faiure occuring as a NameNotFoundException. For example: [javatest.batch] Caused by: javax.naming.NameNotFoundException: Name "AppClientMyTestConnectionFactory" not found in context "java:global". [javatest.batch] at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java :1229) [javatest.batch] at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:1142) [javatest.batch] at com.ibm.ws.naming.urlbase.UrlContextImpl.lookupExt(UrlContextImp l.java:1436) [javatest.batch] at com.ibm.ws.naming.java.javaURLContextImpl.lookupExt(javaURLConte xtImpl.java:48 0) [javatest.batch] at com.ibm.ws.naming.java.javaURLContextRoot.lookupExt(javaURLConte xtRoot.java:48 5) [javatest.batch] at com.ibm.ws.naming.java.javaURLContextRoot.lookupExt(javaURLConte xtRoot.java:46 8) [javatest.batch] at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextR oot.java:370) [javatest.batch] at javax.naming.InitialContext.lookup(InitialContext.java:428) [javatest.batch] at com.sun.ts.lib.util.TSNamingContext.lookup(TSNamingContext.java: 62) [javatest.batch] at com.sun.ts.tests.jms.ee20.resourcedefs.annotations.Client.doLook upJMSObjects(Client.java:223) [javatest.batch] ... 43 more PROBLEM CONCLUSION: The problems were fixed by code updates in several areas. The fix for this APAR is currently targeted for inclusion in fix pack 9.0.0.1. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980 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: