geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6042) Deadlock in WAB extender
Date Fri, 01 Jul 2011 18:18:28 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-6042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058686#comment-13058686
] 

Jarek Gawor commented on GERONIMO-6042:
---------------------------------------

Since WebApplication.undeploy() is called under ConfigurationManager lock which I don't think
we can change, we have to ensure that WebApplication.doRun() obtains the locks int the same
way.


> Deadlock in WAB extender
> ------------------------
>
>                 Key: GERONIMO-6042
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6042
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Aries, osgi
>    Affects Versions: 3.0
>            Reporter: Jarek Gawor
>
> Daemon System Thread [RMI TCP Connection(6)] (Suspended):
> owns: EditableKernelConfigurationManager (id=1240)
> waiting for: AtomicBoolean (id=2034)
> owned by: Thread [pool-16-thread-3] (Suspended)
> WebApplication.undeploy() line: 292
> WebContainerExtender.undeploy(WebApplication) line: 232
> WebContainerExtender.access$200(WebContainerExtender, WebApplication) line: 63
> WebContainerExtender$WebBundleTrackerCustomizer.removedBundle(Bundle, BundleEvent, Object)
line: 195
> BundleTracker$Tracked.customizerRemoved(Object, Object, Object) line: 467
> BundleTracker$Tracked(AbstractTracked).untrack(Object, Object) line: 351
> BundleTracker$Tracked.bundleChanged(BundleEvent) line: 420
> BundleContextImpl.dispatchEvent(Object, Object, int, Object) line: 919
> EventManager.dispatchEvent(Set, EventDispatcher, int, Object) line: 227
> ListenerQueue.dispatchEventSynchronous(int, Object) line: 149
> Framework.publishBundleEventPrivileged(BundleEvent) line: 1349
> Framework.publishBundleEvent(int, Bundle) line: 1300
> BundleHost.stopWorker(int) line: 497
> BundleHost(AbstractBundle).uninstallWorker(PrivilegedExceptionAction) line: 788
> BundleHost(AbstractBundle).uninstall() line: 768
> ApplicationGBean.doStop() line: 508
> GBeanInstance.destroyInstance(boolean) line: 1171
> GBeanInstanceState.attemptFullStop() line: 346
> GBeanInstanceState.stop() line: 191
> GBeanInstance.stop() line: 575
> BasicKernel.stopGBean(AbstractName) line: 430
> EditableKernelConfigurationManager(KernelConfigurationManager).stopRecursive(Configuration)
line: 263
> EditableKernelConfigurationManager(KernelConfigurationManager).stop(Configuration) line:
243
> EditableKernelConfigurationManager(SimpleConfigurationManager).stopConfiguration(Artifact,
LifecycleMonitor) line: 774
> EditableKernelConfigurationManager(SimpleConfigurationManager).stopConfiguration(Artifact)
line: 757
> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native
method]
> NativeMethodAccessorImpl.invoke(Object, Object[]) line: 60
> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 37
> Method.invoke(Object, Object...) line: 611
> ReflectionMethodInvoker.invoke(Object, Object[]) line: 34
> GBeanOperation.invoke(Object, Object[]) line: 131
> GBeanInstance.invoke(String, Object[], String[]) line: 879
> BasicKernel.invoke(AbstractName, String, Object[], String[]) line: 245
> KernelGBean.invoke(AbstractName, String, Object[], String[]) line: 344
> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native
method]
> NativeMethodAccessorImpl.invoke(Object, Object[]) line: 60
> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 37
> Method.invoke(Object, Object...) line: 611
> ReflectionMethodInvoker.invoke(Object, Object[]) line: 34
> GBeanOperation.invoke(Object, Object[]) line: 131
> GBeanInstance.invoke(String, Object[], String[]) line: 879
> BasicKernel.invoke(AbstractName, String, Object[], String[]) line: 245
> MBeanGBeanBridge.invoke(String, Object[], String[]) line: 172
> DefaultMBeanServerInterceptor.invoke(ObjectName, String, Object[], String[]) line: 848
> JmxMBeanServer.invoke(ObjectName, String, Object[], String[]) line: 773
> RMIConnectionImpl.doOperation(int, Object[]) line: 1438
> RMIConnectionImpl.access$200(RMIConnectionImpl, int, Object[]) line: 83
> RMIConnectionImpl$PrivilegedOperation.run() line: 1276
> AccessController.doPrivileged(PrivilegedExceptionAction<T>, AccessControlContext)
line: 284
> RMIConnectionImpl.doPrivilegedOperation(int, Object[], Subject) line: 1378
> RMIConnectionImpl.invoke(ObjectName, String, MarshalledObject, String[], Subject) line:
799
> GeneratedMethodAccessor50.invoke(Object, Object[]) line: not available
> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 37
> Method.invoke(Object, Object...) line: 611
> UnicastServerRef2(UnicastServerRef).dispatch(Remote, RemoteCall) line: 322
> Transport$1.run() line: 171
> AccessController.doPrivileged(PrivilegedExceptionAction<T>, AccessControlContext)
line: 284
> TCPTransport(Transport).serviceCall(RemoteCall) line: 167
> TCPTransport.handleMessages(Connection, boolean) line: 547
> TCPTransport$ConnectionHandler.run0() line: 802
> TCPTransport$ConnectionHandler.run() line: 661
> ThreadPoolExecutor$Worker.runTask(Runnable) line: 897
> ThreadPoolExecutor$Worker.run() line: 919
> Thread.run() line: 736
> Thread [pool-16-thread-3] (Suspended):
> owns: AtomicBoolean (id=3054)
> owns: AtomicBoolean (id=2034)
> waiting for: EditableKernelConfigurationManager (id=1240)
> BundleDeploymentContext(DeploymentContext).close() line: 512
> WebApplication.doRun() line: 246
> WebApplication.run() line: 124
> Executors$RunnableAdapter<T>.call() line: 452
> FutureTask$Sync.innerRun() line: 314
> FutureTask<V>.run() line: 149
> ThreadPoolExecutor$Worker.runTask(Runnable) line: 897
> ThreadPoolExecutor$Worker.run() line: 919
> Thread.run() line: 736 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message