My Oracle Support Banner

OSB Thread Lock In Xmlbeans (Doc ID 2378999.1)

Last updated on NOVEMBER 28, 2018

Applies to:

Oracle Service Bus - Version 12.1.3.0.0 to 12.2.1.2.0
Information in this document applies to any platform.

Symptoms

On : 12.2.1.2.0 version, OSB Core Functionality

There is a huge thread count increase in OSB under heavy load up to 500+ threads. All threads are locked in method: org.apache.xmlbeans.impl.store.Path.getCompiledPath waiting on synchronizer. The symptoms are very similar to bug 9727796. However the bug should be fixed in the 12.2.1.3.0 version. This is affecting 12.1.3.0.0 and up to 12.2.1.2.0.

ERROR
-----------------------
"[ACTIVE] ExecuteThread: '399' for queue: 'weblogic.kernel.Default (self-tuning)'" #1311 daemon prio=5 os_prio=64 tid=0x0000000143bc4800 rc="DOMAIN" ac=2 nid=0x2d6 waiting on condition [0xfffffffe920fd000]
  java.lang.Thread.State: WAITING (parking)
 at sun.misc.Unsafe.park(Native Method)
 - parking to wait for (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
 at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
 at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
 at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(AbstractQueuedSynchronizer.java:967)
 at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1283)
 at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(ReentrantReadWriteLock.java:727)
 at org.apache.xmlbeans.impl.store.Path.getCompiledPath(Path.java:147)
 at org.apache.xmlbeans.impl.store.Path.getCompiledPath(Path.java:138)
 at org.apache.xmlbeans.impl.store.Cursor._selectPath(Cursor.java:902)
 at org.apache.xmlbeans.impl.store.Cursor.selectPath(Cursor.java:2627)
 at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlObjectBase.java:476)
 at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlObjectBase.java:460)
 at com.bea.wli.sb.stages.expressions.xpath.XPathExprExecutor.executeXmlObject(XPathExprExecutor.java:242)
 at com.bea.wli.sb.stages.expressions.xpath.XPathExprExecutor.executeXmlObject(XPathExprExecutor.java:211)
...
MESSAGE : [STUCK] ExecuteThread: '57' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "614" seconds working on the request "Workmanager: weblogic.kernel.Default, Version: 0, Scheduled=false, Started=true, Started time: 614360 ms ", which is more than the configured time (StuckThreadMaxTime) of "600" seconds in "server-failure-trigger". Stack trace:
org.apache.xmlbeans.impl.store.Cur.release(Cur.java:2687)
org.apache.xmlbeans.impl.store.Locale.exit(Locale.java:2878)
org.apache.xmlbeans.impl.store.Xobj.new_cursor(Xobj.java:1836)
org.apache.xmlbeans.impl.values.XmlObjectBase.newCursor(XmlObjectBase.java:293)
com.bea.bpel.utils.xml.XmlObjectInfo.getElement(XmlObjectInfo.java:79)
com.bea.bpel.interpreter.internal.expression.variable.RValueVariableResolver.resolve(RValueVariableResolver.java:54)
com.bea.bpel.interpreter.internal.instruction.assign.AssignExtensionOperation$1.getVariableValue(AssignExtensionOperation.java:112)
com.bea.alsb.flow.extensions.ActionAssignOperation$ActionMessageContext.getVariableValue(ActionAssignOperation.java:167)
com.bea.wli.sb.stages.expressions.xquery.x10.XQueryExprExecutor.getVariables(XQueryExprExecutor.java:150)
...

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.