ConcurrentAccessException when annotation on singleton ejb with @AccessTimeout is used (Doc ID 1492614.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 12.1.1.0 and later
Information in this document applies to any platform.

Symptoms

When using annotate on Singleton EJB with @AccessTimeout(unit=  TimeUnit.MILLISECONDS,value=500), ConcurrentAccessExceptions is thrown, as below:

com.bmw.jtc.testbed.jee6.ejb31.accesstimeout.boundary.RESTExposer block
  INFO: catched exception: EJB Exception:
  javax.ejb.EJBTransactionRolledbackException: EJB Exception:
  at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:453)
  at weblogic.ejb.container.internal.BaseLocalObject.getBeanInstance(BaseLocalObject.java:166)
  ...
  Caused by: javax.ejb.ConcurrentAccessTimeoutException: [EJB:011146]Timed out while trying to aquire lock on Singleton Blocker(Application:
  _appsdir_jee6.ejb31-accesstimeout_war, EJBComponent:  jee6.ejb31-accesstimeout.war) to invoke method block.
  at weblogic.ejb.container.manager.SingletonSessionManager$CMCLockManager.acquire(SingletonSessionManager.java:562)
  at weblogic.ejb.container.manager.SingletonSessionManager.getBeanFor(SingletonSessionManager.java:289)
  at weblogic.ejb.container.manager.SingletonSessionManager.preInvoke(SingletonSessionManager.java:147)
  at weblogic.ejb.container.internal.BaseLocalObject.getBeanInstance(BaseLocalObject.java:146)
  ... 82 more

 

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