My Oracle Support Banner

Performance Degradation due to Locks on Oracle.J2ee.Connector.Proxy.Bcelproxyclassloader class in Oracle Application Server (Doc ID 1385494.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version and later
Information in this document applies to any platform.


An application has been deployed into OC4J .
And application performance degrades due to some locks and waits on the following class: oracle.j2ee.connector.proxy.BCELProxyClassLoader

Taking a java thread dump of the OC4J,  many threads are waiting on an instance of oracle.j2ee.connector.proxy.BCELProxyClassLoader class
as the following :

"RMICallHandler-372" prio=10 tid=<tid> nid=<nid> waiting for monitor entry [0x19c50000]
java.lang.Thread.State: BLOCKED (on object monitor)
at oracle.oc4j.sql.proxy.ConstructionKey.createConstructionKey(
- waiting to lock <0x34e4fc98> (a oracle.j2ee.connector.proxy.BCELProxyClassLoader)
at oracle.oc4j.sql.proxy.SQLBCELProxy.oc4j_createConstructionKey(

at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(




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

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