[WLW10.2] - Deadlock in org.apache.beehive.controls.runtime.bean.ControlBeanContext.isSingleThreadedContainer (Doc ID 1290603.1)

Last updated on JANUARY 19, 2016

Applies to:

Oracle Workshop for Weblogic - Version 10.2 to 10.3 [Release Weblogic Platform to AS10gR3]
Information in this document applies to any platform.

Symptoms

You may notice that intermittently the servers go to failed state due to thread deadlock.

The server log has below deadlock logged:

DEADLOCK DETECTED:
[deadlocked thread] [ACTIVE] ExecuteThread: '238' for queue: 'weblogic.kernel.Default (self-tuning)':
----------------------------------------------------------------------------------------------------
Thread '[ACTIVE] ExecuteThread: '238' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'org.apache.beehive.controls.runtime.bean.ControlBeanContext@1bcd174' that is held by thread '[ACTIVE] ExecuteThread: '107' for queue: 'weblogic.kernel.Default (self-tuning)''

Stack trace:
------------
org.apache.beehive.controls.runtime.bean.ControlBeanContext.isSingleThreadedContainer(ControlBeanContext.java:344)
org.apache.beehive.controls.runtime.bean.ControlBeanContext.setBeanContext(ControlBeanContext.java:171)
org.apache.beehive.controls.runtime.webcontext.ControlBeanContextSupport.internalAdd(ControlBeanContextSupport.java:575)
org.apache.beehive.controls.runtime.webcontext.ControlBeanContextSupport.add(ControlBeanContextSupport.java:266)
org.apache.beehive.controls.runtime.bean.ControlBeanContext.add(ControlBeanContext.java:270)
org.apache.beehive.controls.runtime.bean.ControlBean.<init>(ControlBean.java:111)
org.apache.beehive.controls.system.jdbc.JdbcControlBean.<init>(JdbcControlBean.java:94)
com.bea.control.JdbcControlBean.<init>(JdbcControlBean.java:85)
...
sun.reflect.GeneratedConstructorAccessor412.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
org.apache.beehive.controls.spi.bean.JavaControlFactory.instantiate(JavaControlFactory.java:119)
org.apache.beehive.controls.api.bean.Controls.instantiate(Controls.java:101)
...
====================================================================

[deadlocked thread] [ACTIVE] ExecuteThread: '107' for queue: 'weblogic.kernel.Default (self-tuning)':
----------------------------------------------------------------------------------------------------
Thread '[ACTIVE] ExecuteThread: '107' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'fr.edf.ael.metier.ASPLdapBean@c4a59c' that is held by thread '[ACTIVE] ExecuteThread: '238' for queue: 'weblogic.kernel.Default (self-tuning)''

Stack trace:
------------
org.apache.beehive.controls.runtime.bean.ControlBean.setBeanContext(ControlBean.java:204)
org.apache.beehive.controls.runtime.bean.ControlBeanContext.setBeanContext(ControlBeanContext.java:177)
org.apache.beehive.controls.runtime.webcontext.ControlBeanContextSupport.internalRemove(ControlBeanContextSupport.java:650)
org.apache.beehive.controls.runtime.webcontext.ControlBeanContextSupport.remove(ControlBeanContextSupport.java:286)
org.apache.beehive.controls.runtime.bean.ControlBeanContext.remove(ControlBeanContext.java:284)
org.apache.beehive.netui.pageflow.internal.JavaControlUtils.destroyControl(JavaControlUtils.java:150)
org.apache.beehive.netui.pageflow.internal.JavaControlUtils.uninitJavaControls(JavaControlUtils.java:128)
org.apache.beehive.netui.pageflow.PageFlowManagedObject.destroy(PageFlowManagedObject.java:105)
org.apache.beehive.netui.pageflow.FlowController.destroy(FlowController.java:610)
org.apache.beehive.netui.pageflow.PageFlowManagedObject.valueUnbound(PageFlowManagedObject.java:154)
...

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms