org.hibernate.cache.CacheException: org.jboss.cache.lock.TimeoutException: Unable to acquire lock on Fqn [/com/foo/Bar/ENTITY] after [10000] milliseconds for requestor [Thread[main,5,main]]! Lock held by [GlobalTransaction::2]

jboss.org | 4 months ago
  1. 0

    JBossCache Deadlock in Hibernate BulkOperationC... | JBoss Developer

    jboss.org | 4 months ago
    org.hibernate.cache.CacheException: org.jboss.cache.lock.TimeoutException: Unable to acquire lock on Fqn [/com/foo/Bar/ENTITY] after [10000] milliseconds for requestor [Thread[main,5,main]]! Lock held by [GlobalTransaction::2]
  2. 0

    Unable To Acquire Lock | JBoss Developer

    jboss.org | 8 months ago
    org.hibernate.cache.CacheException: org.hibernate.cache.CacheException: org.jboss.cache.lock.TimeoutException: Unable to acquire lock on Fqn [/TS/org/hibernate/cache/UpdateTimestampsCache/IDENT1.CDB_SUBJECT_ARREST] after [10000] milliseconds for requestor [Thread[http-0.0.0.0-8080-24,5,jboss]]! Lock held by [GlobalTransaction:<192.45.195.127:7802>:2]
  3. 0

    Cache locking issue after one node of the clust... | JBoss Developer

    jboss.org | 11 months ago
    javax.persistence.PersistenceException: [PersistenceUnit: capital.spreads] Unable to build EntityManagerFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cache locking issue after one node of the clust... | JBoss Developer

    jboss.org | 11 months ago
    javax.ejb.EJBTransactionRolledbackException: org.hibernate.cache.CacheException: org.jboss.cache.lock.TimeoutException read lock for /zcapitalspreads_ear,services_jar,capital_spreads/com/chaucerdigital/capitalspreads/user/User/com.chaucerdigital.capitalspreads.user.User#200003 could not be acquired by GlobalTransaction:<10.0.0.24:4021>:17766 after 15000 ms. Locks: Read lock owners: [] Write lock owner: GlobalTransaction:<10.0.0.24:4021>:17762 , lock info: write owner=GlobalTransaction:<10.0.0.24:4021>:17762 (activeReaders=0, activeWriter=Thread[http-0.0.0.0-8080-2,5,jboss], waitingReaders=0, waitingWriters=0, waitingUpgrader=0)
  6. 0

    "org.hibernate.cache.CacheException: org.infinispan.marshall.NotSerializableException" in WildFly 8.2, @Cacheable annotation fixed the issue

    Stack Overflow | 9 months ago | manu mathew
    org.hibernate.cache.CacheException: org.infinispan.marshall.NotSerializableException: Object of type class org.hibernate.cache.CacheKey expected to be marshallable

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.cache.CacheException

      org.jboss.cache.lock.TimeoutException: Unable to acquire lock on Fqn [/com/foo/Bar/ENTITY] after [10000] milliseconds for requestor [Thread[main,5,main]]! Lock held by [GlobalTransaction::2]

      at org.hibernate.cache.jbc2.util.CacheHelper.removeAll()
    2. org.hibernate.cache
      TransactionalAccess.evictAll
      1. org.hibernate.cache.jbc2.util.CacheHelper.removeAll(CacheHelper.java:380)
      2. org.hibernate.cache.jbc2.util.CacheHelper.removeAll(CacheHelper.java:360)
      3. org.hibernate.cache.jbc2.access.TransactionalAccessDelegate.evictOrRemoveAll(TransactionalAccessDelegate.java:146)
      4. org.hibernate.cache.jbc2.access.TransactionalAccessDelegate.evictAll(TransactionalAccessDelegate.java:142)
      5. org.hibernate.cache.jbc2.entity.TransactionalAccess.evictAll(TransactionalAccess.java:102)
      5 frames
    3. Hibernate
      BulkOperationCleanupAction.afterTransactionCompletion
      1. org.hibernate.impl.SessionFactoryImpl.evictEntity(SessionFactoryImpl.java:870)
      2. org.hibernate.action.BulkOperationCleanupAction.evictEntityRegions(BulkOperationCleanupAction.java:153)
      3. org.hibernate.action.BulkOperationCleanupAction.afterTransactionCompletion(BulkOperationCleanupAction.java:132)
      3 frames
    4. Hibernate
      ActionQueue.afterTransactionCompletion
      1. org.hibernate.engine.ActionQueue.afterTransactionCompletion(ActionQueue.java:198)
      1 frame
    5. Hibernate
      SessionImpl.afterTransactionCompletion
      1. org.hibernate.impl.SessionImpl.afterTransactionCompletion(SessionImpl.java:451)
      1 frame
    6. Hibernate
      CacheSynchronization.afterCompletion
      1. org.hibernate.jdbc.JDBCContext.afterTransactionCompletion(JDBCContext.java:252)
      2. org.hibernate.transaction.CacheSynchronization.afterCompletion(CacheSynchronization.java:117)
      2 frames
    7. Transactions JTA
      Sync2Sync.afterCompletion
      1. com.atomikos.icatch.jta.Sync2Sync.afterCompletion(Sync2Sync.java:91)
      1 frame
    8. Transactions Core
      SynchToFSM.entered
      1. com.atomikos.icatch.imp.SynchToFSM.doAfterCompletion(SynchToFSM.java:38)
      2. com.atomikos.icatch.imp.SynchToFSM.entered(SynchToFSM.java:59)
      2 frames
    9. Atomikos Util
      FSMImp.setState
      1. com.atomikos.finitestates.FSMImp.notifyListeners(FSMImp.java:197)
      2. com.atomikos.finitestates.FSMImp.setState(FSMImp.java:288)
      2 frames
    10. Transactions Core
      CompositeTerminatorImp.commit
      1. com.atomikos.icatch.imp.CoordinatorImp.setState(CoordinatorImp.java:481)
      2. com.atomikos.icatch.imp.CoordinatorImp.setStateHandler(CoordinatorImp.java:312)
      3. com.atomikos.icatch.imp.CoordinatorStateHandler.commit(CoordinatorStateHandler.java:730)
      4. com.atomikos.icatch.imp.IndoubtStateHandler.commit(IndoubtStateHandler.java:225)
      5. com.atomikos.icatch.imp.CoordinatorImp.commit(CoordinatorImp.java:807)
      6. com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:1106)
      7. com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:151)
      7 frames
    11. Transactions JTA
      UserTransactionImp.commit
      1. com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:297)
      2. com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:608)
      3. com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:168)
      3 frames
    12. Spring Tx
      AbstractPlatformTransactionManager.commit
      1. org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1028)
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:709)
      3. org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:678)
      3 frames