Fixes are available
8.0.0.1: WebSphere Application Server V8.0 Fix Pack 1
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 stopping a WebSphere Application Server the following NullPointerException may be encountered: [5/12/11 18:50:23:484 EDT] 0000001b ContainerHelp E WSVR0102E: An error occurred stopping, com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl@1f901f90 java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:518) at org.apache.commons.logging.LogFactory.release(LogFactory.java:43 0) at com.ibm.ws.soa.sca.admin.runtime.impl.SCAClassLoaderManager.dere gister(S CAClassLoaderManager.java:81) at com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.stop(SCARun timeImpl .java:577) at com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.stop(SCARun timeImpl .java:200) at com.ibm.ws.runtime.component.ContainerHelper.stopComponent(Conta inerHelp er.java:475) at com.ibm.ws.runtime.component.ContainerHelper.stopComponents(Cont ainerHel per.java:459) at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(Contai nerImpl. java:650) at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.ja va:638) at com.ibm.ws.runtime.component.ApplicationServerImpl.stop(Applicat ionServe rImpl.java:257) at com.ibm.ws.runtime.component.ContainerHelper.stopComponent(Conta inerHelp er.java:475) at com.ibm.ws.runtime.component.ContainerHelper.stopComponents(Cont ainerHel per.java:459) at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(Contai nerImpl. java:650) at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.ja va:638) at com.ibm.ws.runtime.component.ServerImpl.stop(ServerImpl.java:616 ) at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook$1.r un(Serve rCollaborator.java:738) at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManager Impl.jav a:4610) at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextM anagerIm pl.java:4698) And the following IllegalStateException may occur: java.lang.IllegalStateException: BundleContext is no longer valid at org.eclipse.osgi.framework.internal.core.BundleContextImpl.check Valid(BundleContextImpl.java:1003) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.unget Service(BundleContextImpl.java:706) at com.ibm.ws.soa.sca.aries.application.util.impl.ServiceHelperImpl $2.removedService(ServiceHelperImpl.java:190) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(S erviceTracker.java:922) at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.ja va:351) at org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:4 03) at com.ibm.ws.soa.sca.aries.application.util.impl.ServiceHelperImpl .untrackService(ServiceHelperImpl.java:213) at com.ibm.ws.soa.sca.implementation.aries.invocation.AriesImplemen tationProvider.stop(AriesImplementationProvider.java:191) at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl$7.ru n(CompositeActivatorImpl.java:754) at java.security.AccessController.doPrivileged(AccessController.jav a:202) at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.stop (CompositeActivatorImpl.java:752) at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.stop (CompositeActivatorImpl.java:574) at com.ibm.ws.soa.sca.runtime.impl.DomainCompositeHelper.stopCompos ites(DomainCompositeHelper.java:280) at com.ibm.ws.soa.sca.runtime.impl.SCAContainerComponentImpl.stopCo mposite(SCAContainerComponentImpl.java:491) at com.ibm.ws.soa.sca.admin.runtime.tuscany.SCATuscanyRuntimeHandle rImpl.stopModule(SCATuscanyRuntimeHandlerImpl.java:224) at com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.stop(SCARun timeImpl.java:530) at com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.stop(SCARun timeImpl.java:194) at com.ibm.ws.runtime.component.ContainerHelper.stopComponent(Conta inerHelper.java:475) at com.ibm.ws.runtime.component.ContainerHelper.stopComponents(Cont ainerHelper.java:459) at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(Contai nerImpl.java:650) at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.ja va:638) at com.ibm.ws.runtime.component.ApplicationServerImpl.stop(Applicat ionServerImpl.java:257) at com.ibm.ws.runtime.component.ContainerHelper.stopComponent(Conta inerHelper.java:475) at com.ibm.ws.runtime.component.ContainerHelper.stopComponents(Cont ainerHelper.java:459) at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(Contai nerImpl.java:650) at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.ja va:638) at com.ibm.ws.runtime.component.ServerImpl.stop(ServerImpl.java:616 ) at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook$1.r un(ServerCollaborator.java:738) at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManager Impl.java:4610) at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextM anagerImpl.java:4698) at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook.run (ServerCollaborator.java:728) at com.ibm.ws.runtime.component.ServerCollaborator$StopAction.alarm (ServerCollaborator.java:692) at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:127)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server v8 Base and Network Deployment. * **************************************************************** * PROBLEM DESCRIPTION: If SCA applications are installed * * and running when an WebSphere * * Application Server stops, the * * following two exceptions may be * * reported in SystemOut.log: * * NullPointerException * * IllegalStateException * **************************************************************** * RECOMMENDATION: * **************************************************************** The following errors during application server stop have no impact on the ability to restart the application server or SCA BLAs so they may be ignored. Exception 1) [5/12/11 15:34:52:781 EDT] 00000004 ContainerHelp E WSVR0102E: An error occurred stopping, com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl@7b187b18 java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:518) at org.apache.commons.logging.LogFactory.release(LogFactory.java:43 0) at com.ibm.ws.soa.sca.admin.runtime.impl.SCAClassLoaderManager.dere gister(SCAClassLoaderManager.java:81) at com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.stop(SCARun timeImpl.java:577) at com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.stop(SCARun timeImpl.java:200) at com.ibm.ws.runtime.component.ContainerHelper.stopComponent(Conta inerHelper.java:475) at com.ibm.ws.runtime.component.ContainerHelper.stopComponents(Cont ainerHelper.java:459) at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(Contai nerImpl.java:650) at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.ja va:638) ......... Exception 2) [5/12/11 15:34:52:781 EDT] 00000004 ContainerHelp E WSVR0102E: An error occurred stopping, com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl@7b187b18 java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:518) at org.apache.commons.logging.LogFactory.release(LogFactory.java:43 0) at com.ibm.ws.soa.sca.admin.runtime.impl.SCAClassLoaderManager.dere gister(SCAClassLoaderManager.java:81) at com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.stop(SCARun timeImpl.java:577) at com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.stop(SCARun timeImpl.java:200) at com.ibm.ws.runtime.component.ContainerHelper.stopComponent(Conta inerHelper.java:475) at com.ibm.ws.runtime.component.ContainerHelper.stopComponents(Cont ainerHelper.java:459) at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(Contai nerImpl.java:650) at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.ja va:638)
Problem conclusion
The WebSphere Application Server code was updated to prevent the NullPointerException and handle the IllegalStateException on application server stop. The fix for PM39338 is currently targeted for inclusion in fix pack 8.0.0.1. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980 The fix for this issue will be delivered via APAR PM39273 for WebSphere Application Server v7 Feature Pack for Service Component Architecture (SCA).
Temporary fix
Comments
APAR Information
APAR number
PM39338
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-05-16
Closed date
2011-06-20
Last modified date
2011-06-20
APAR is sysrouted FROM one or more of the following:
PM39273
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R800 PSY
UP
Document Information
Modified date:
27 October 2021