EJBTransactionManager.GetEJBTransactionContext Causes 100% CPU Usage in Oracle Application Server 10.1.3.5 (Doc ID 1443263.1)

Last updated on APRIL 03, 2012

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.5.0 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.

Symptoms


On several occasions 100% CPU usage is observed as well as many ‘stuck’ threads.
Apparent infinite loop in HashMap.get() operation, within the EJBTransactionManager, is seen and believed to be caused by unthread safe use of HashMap class within the EJBTransactionManager class.


Stack Trace Sample Count
java.util.HashMap.get(Object) 3
com.evermind.server.ejb.persistence.AbstractEntityManagerProxy.find(Class, Object) 3
com.transurban.glide.interop.transformer.TokenTransformer.convertToJPA(TokenType) 3
com.transurban.glide.interop.tokenstatus.dao.TokenStatusDAO.update(Element) 3
sun.reflect.GeneratedMethodAccessor330.invoke(Object, Object[]) 3
sun.reflect.DelegatingMethodAccessorImpl.invoke(Object, Object[]) 3
com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(InvocationContext) 3
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed() 3
com.evermind.server.ejb.interceptor.MethodBasedInterceptor$EJBInvocationCallbackImpl.proceed() 3
com.transurban.glide.ejbUtil.ExceptionInterceptor.intercept(InvocationContext) 3
sun.reflect.GeneratedMethodAccessor128.invoke(Object, Object[]) 3
sun.reflect.DelegatingMethodAccessorImpl.invoke(Object, Object[]) 3
java.lang.reflect.Method.invoke(Object, Object[]) 3
com.evermind.server.ejb.interceptor.MethodBasedInterceptor.invoke(InvocationContext) 3
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed() 3
com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(InvocationContext) 3
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed() 3
com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(InvocationContext) 3
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed() 3
com.evermind.server.ejb.interceptor.system.TxMandatoryInterceptor.invoke(InvocationContext) 3
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed() 3
com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(InvocationContext) 3
com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(MethodState, Object[], ThreadState) 3
TokenStatusDAO_RemoteProxy_632g1f8.update(Element) 3
sun.reflect.GeneratedMethodAccessor329.invoke(Object, Object[]) 3
sun.reflect.DelegatingMethodAccessorImpl.invoke(Object, Object[]) 3
java.lang.reflect.Method.invoke(Object, Object[]) 3
com.evermind.server.rmi.RmiMethodCall.run() 3
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run() 3
java.lang.Thread.run() 3
jrockit.vm.RNI.c2java(long, long, long, long, long) 3

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