Toplink hang : locked oracle.toplink.internal.helper.ConcurrencyManager (Doc ID 1475629.1)

Last updated on MARCH 12, 2015

Applies to:

Oracle TopLink - Version 10.1.3.3 to 10.1.3.4 [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 22-Jan-2014***

Symptoms

A three tier web application using stateless bean (EJB 3) and ADF is developed
on JDeveloper v10.1.3.3 and Toplink Workbench 10.1.3.3.0.

There are four OC4J instances on load balance and intermittently one of them hangs.
After this, the application UI stops responding.



Error
=====
"AJPRequestHandler-HTTPThreadGroup-51" prio=10 tid=0x007048e8 nid=0x36d in Object.wait() [0x20ffd000..0x20fffc70]
at java.lang.Object.wait(Native Method)
- waiting on (a oracle.toplink.internal.helper.ConcurrencyManager)
at java.lang.Object.wait(Object.java:474)
at oracle.toplink.internal.helper.ConcurrencyManager.acquireReadLock(ConcurrencyManager.java:179)
- locked (a oracle.toplink.internal.helper.ConcurrencyManager)
at oracle.toplink.internal.helper.ConcurrencyManager.checkReadLock(ConcurrencyManager.java:167)
at oracle.toplink.internal.identitymaps.CacheKey.checkReadLock(CacheKey.java:122)
at oracle.toplink.internal.identitymaps.IdentityMapKeyEnumeration.nextElement(IdentityMapKeyEnumeration.java:31)
at oracle.toplink.internal.sessions.IdentityMapAccessor.invalidateClass(IdentityMapAccessor.java:587)
- locked (a oracle.toplink.internal.identitymaps.WeakIdentityMap)
at oracle.toplink.internal.sessions.IdentityMapAccessor.invalidateClass(IdentityMapAccessor.java:571)
at oracle.toplink.internal.sessions.IdentityMapAccessor.invalidateAll(IdentityMapAccessor.java:606)
. . .




The CPU usage was normal during the OC4J hang.

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