Deadlock Detected On An Application Written In Cocoon Framework (Doc ID 883068.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.0 to 10.3
Information in this document applies to any platform.

Symptoms

When running an application written with Apache Cocoon Framework in Weblogic Server, deadlocks can occur as follows: 

Thread '[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter$ThreadScope@1727f34' that is held by thread '[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)''

Stack trace: 

org.mozilla.javascript.ScriptableObject.writeObject(ScriptableObject.java:2180) 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
java.lang.reflect.Method.invoke(Method.java:585)

Thread '[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock  'weblogic.servlet.internal.AttributeWrapper@1d4cb2f' that is held by thread '[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'' 

Stack trace: 

weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:62) weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:44) weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:395) weblogic.servlet.internal.session.SessionData.setAttribute(SessionData.java:496) org.apache.cocoon.environment.http.HttpSession.setAttribute(HttpSession.java:210) org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setSessionScope(FOM_JavaScriptInterpreter.java:390)


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