Fixes are available
8.0.0.2: WebSphere Application Server V8.0 Fix Pack 2
8.0.0.3: WebSphere Application Server V8.0 Fix Pack 3
8.0.0.4: WebSphere Application Server V8.0 Fix Pack 4
8.0.0.5: WebSphere Application Server V8.0 Fix Pack 5
8.0.0.6: WebSphere Application Server V8.0 Fix Pack 6
8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
APAR status
Closed as program error.
Error description
When an extension is installed via wsadmin without setting up the resource references for the wab inside the extension, the result is JEE can't populate the resource reference bindings and the java:comp namespace can't be set up correctly. This then ends in a NullPointerException which is not very helpful: java.lang.NullPointerException SourceId:com.ibm.ws.webcontainer.metadata.WebComponentMetaDataIm pl.getJavaNameSpace ProbeId:78 Reporter:com.ibm.ws.webcontainer.metadata.WebComponentMetaDataIm pl@3b7cb39 java.lang.NullPointerException at com.ibm.ws.webcontainer.metadata.WebComponentMetaDataImpl.getJav aNameSpace(WebComponentMetaDataImpl.java:143) at com.ibm.ws.threadContext.JavaNameSpaceAccessorImpl.getJavaNameSp ace(JavaNameSpaceAccessorImpl.java:79) at com.ibm.ws.naming.java.javaURLContextFactory.createURLContextRoo t(javaURLContextFactory.java:137) at com.ibm.ws.naming.urlbase.UrlContextFactory.getObjectInstance(Ur lContextFactory.java:101) at org.apache.aries.jndi.URLContextProvider.getContext(URLContextPr ovider.java:43)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server * **************************************************************** * PROBLEM DESCRIPTION: NullPointerException from * * WebComponentMetaDataImpl when adding * * an extension to an * * OSGi applicaton. * **************************************************************** * RECOMMENDATION: Reinstall extension specifying the * * resource reference bindings for the web * * application bundle. * **************************************************************** The NullPointerException occurs when an OSGi application extension has been installed via wsadmin but the user has not configured the resource references for web application bundles within the extension. As a result of the install JEE cannot populate the resource reference bindings and the java:comp namespace is not set up correctly.
Problem conclusion
A configuration warning is now generated during application validation to inform te user of the configuration problem. The fix for this APAR is currently targeted for inclusion in fix pack 8.0.0.2. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM46466
Reported component name
WEBSPHERE APP S
Reported component ID
5724J0800
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-08-26
Closed date
2011-10-27
Last modified date
2011-10-27
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBSPHERE APP S
Fixed component ID
5724J0800
Applicable component levels
R800 PSY
UP
Document Information
Modified date:
28 October 2021