javax.ejb.EJBException: [EJB:010108]The EJB Lock Manager has received an unlock request from EJB:User with primary key:administrator. However, this primary key could not be found in the Lock Manager. This indicates either an EJB container bug, or the equals and hashCode methods for the primary key class:com.armanta.ejb.user.UserPK are implemented incorrectly. Please check the equals and hashCode implementations.

Oracle Community | 488540 | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Primary key could not be found in lock manager. Improper equals or hashCode

    Oracle Community | 8 years ago | 488540
    javax.ejb.EJBException: [EJB:010108]The EJB Lock Manager has received an unlock request from EJB:User with primary key:administrator. However, this primary key could not be found in the Lock Manager. This indicates either an EJB container bug, or the equals and hashCode methods for the primary key class:com.armanta.ejb.user.UserPK are implemented incorrectly. Please check the equals and hashCode implementations.
  2. 0

    EJB Primary Key not found in lock manager - Container BUG?

    Oracle Community | 8 years ago | 488540
    javax.ejb.EJBException: [EJB:010108]The EJB Lock Manager has received an unlock request from EJB:PortfolioMetaData with primary key:[ObjectPK: type: PortMetaData name: PortMetaData]. However, this primary key could not be found in the Lock Manager. This indicates either an EJB container bug, or the equals and hashCode methods for the primary key class:com.armanta.ejb.ObjectPK are implemented incorrectly. Please check the equals and hashCode implementations.
  3. 0

    Problem with EJB Lock Manager in 9.2 MP3

    Oracle Community | 8 years ago | 553756
    javax.ejb.EJBException: [EJB:010108]The EJB Lock Manager has received an unlock request from EJB:ejb.ManagerLayout with primary key:ORDER_RELEASE_WO_STOP. However, this primary key could not be found in the Lock Manager. This indicates either an EJB container bug, or the equals and hashCode methods for the primary key class:glog.ejb.managerlayout.db.ManagerLayoutPK are implemented incorrectly. Please check the equals and hashCode implementations.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.ejb.EJBException

      [EJB:010108]The EJB Lock Manager has received an unlock request from EJB:User with primary key:administrator. However, this primary key could not be found in the Lock Manager. This indicates either an EJB container bug, or the equals and hashCode methods for the primary key class:com.armanta.ejb.user.UserPK are implemented incorrectly. Please check the equals and hashCode implementations.

      at weblogic.ejb.container.locks.ExclusiveLockManager$LockBucket.unlock()
    2. weblogic.ejb.container
      TxManager$TxListener.afterCompletion
      1. weblogic.ejb.container.locks.ExclusiveLockManager$LockBucket.unlock(ExclusiveLockManager.java:409)
      2. weblogic.ejb.container.locks.ExclusiveLockManager.unlock(ExclusiveLockManager.java:170)
      3. weblogic.ejb.container.manager.ExclusiveEntityManager.afterCompletion(ExclusiveEntityManager.java:726)
      4. weblogic.ejb.container.manager.ExclusiveEntityManager.afterCompletion(ExclusiveEntityManager.java:670)
      5. weblogic.ejb.container.internal.TxManager$TxListener.afterCompletion(TxManager.java:995)
      5 frames
    3. weblogic.transaction.internal
      ServerTransactionImpl.commit
      1. weblogic.transaction.internal.ServerSCInfo.doAfterCompletion(ServerSCInfo.java:1032)
      2. weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:1011)
      3. weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2990)
      4. weblogic.transaction.internal.ServerTransactionImpl.afterCommittedStateHousekeeping(ServerTransactionImpl.java:2890)
      5. weblogic.transaction.internal.ServerTransactionImpl.setCommitted(ServerTransactionImpl.java:2935)
      6. weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:2725)
      7. weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:2645)
      8. weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:282)
      9. weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:230)
      9 frames
    4. weblogic.ejb.container
      EntityEJBHome.findByPrimaryKey
      1. weblogic.ejb.container.internal.BaseEJBHome.postHomeInvoke(BaseEJBHome.java:400)
      2. weblogic.ejb.container.internal.EntityEJBHome.findByPrimaryKey(EntityEJBHome.java:422)
      2 frames
    5. com.armanta.ejb
      AccessController_fpuyq8_EOImpl_WLSkel.invoke
      1. com.armanta.ejb.user.User_eecm3e_HomeImpl.findByPrimaryKey(User_eecm3e_HomeImpl.java:124)
      2. com.armanta.ejb.accesscontrol.AccessControllerBean.validateUser(AccessControllerBean.java:670)
      3. com.armanta.ejb.accesscontrol.AccessControllerBean.getAllAuthorizationForUser(AccessControllerBean.java:111)
      4. com.armanta.ejb.accesscontrol.AccessControllerBean.getAllAuthorizationForUser_ba(AccessControllerBean.java:152)
      5. com.armanta.ejb.accesscontrol.AccessController_fpuyq8_EOImpl.getAllAuthorizationForUser_ba(AccessController_fpuyq8_EOImpl.java:221)
      6. com.armanta.ejb.accesscontrol.AccessController_fpuyq8_EOImpl_WLSkel.invoke(Unknown Source)
      6 frames
    6. weblogic.rmi.internal
      BasicServerRef.invoke
      1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
      1 frame
    7. weblogic.rmi.cluster
      ClusterableServerRef.invoke
      1. weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
      1 frame
    8. weblogic.rmi.internal
      BasicServerRef$1.run
      1. weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
      1 frame
    9. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    10. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(Unknown Source)
      1 frame
    11. weblogic.rmi.internal
      WLSExecuteRequest.run
      1. weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
      2. weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
      2 frames
    12. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      2 frames