javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.TransactionRolledbackLocalException: Application deadlock detected, resource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@1860da6, bean=GlobalConfigurationData, id=0, refs=2, tx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f23f status: ActionStatus.RUNNING >, synched=WorkerThread\#2\[127.0.0.1:35216\], timeout=5000, queue=\[\], holder=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >, waitingResource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@182ba68, bean=CAData, id=-1598425179, refs=2, tx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >, synched=null, timeout=5000, queue=\[TXLOCK waitingTx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f187 status: ActionStatus.RUNNING > id=0 thread=Thread\[Thread-12,5,jboss\] queued=true\], waitingResourceHolder=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >; - nested throwable: (javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.TransactionRolledbackLocalException: Application deadlock detected, resource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@1860da6, bean=GlobalConfigurationData, id=0, refs=2, tx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f23f status: ActionStatus.RUNNING >, synched=WorkerThread\#2\[127.0.0.1:35216\], timeout=5000, queue=\[\], holder=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >, waitingResource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@182ba68, bean=CAData, id=-1598425179, refs=2, tx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >, synched=null, timeout=5000, queue=\[TXLOCK waitingTx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f187 status: ActionStatus.RUNNING > id=0 thread=Thread\[Thread-12,5,jboss\] queued=true\], waitingResourceHolder=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >)

ejbca | ko-sugimoto | 9 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

    Application deadlock detected ?

    ejbca | 9 years ago | ko-sugimoto
    javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.TransactionRolledbackLocalException: Application deadlock detected, resource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@1860da6, bean=GlobalConfigurationData, id=0, refs=2, tx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f23f status: ActionStatus.RUNNING >, synched=WorkerThread\#2\[127.0.0.1:35216\], timeout=5000, queue=\[\], holder=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >, waitingResource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@182ba68, bean=CAData, id=-1598425179, refs=2, tx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >, synched=null, timeout=5000, queue=\[TXLOCK waitingTx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f187 status: ActionStatus.RUNNING > id=0 thread=Thread\[Thread-12,5,jboss\] queued=true\], waitingResourceHolder=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >; - nested throwable: (javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.TransactionRolledbackLocalException: Application deadlock detected, resource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@1860da6, bean=GlobalConfigurationData, id=0, refs=2, tx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f23f status: ActionStatus.RUNNING >, synched=WorkerThread\#2\[127.0.0.1:35216\], timeout=5000, queue=\[\], holder=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >, waitingResource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@182ba68, bean=CAData, id=-1598425179, refs=2, tx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >, synched=null, timeout=5000, queue=\[TXLOCK waitingTx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f187 status: ActionStatus.RUNNING > id=0 thread=Thread\[Thread-12,5,jboss\] queued=true\], waitingResourceHolder=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >)

    Root Cause Analysis

    1. javax.ejb.EJBException

      javax.ejb.EJBException: javax.ejb.TransactionRolledbackLocalException: Application deadlock detected, resource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@1860da6, bean=GlobalConfigurationData, id=0, refs=2, tx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f23f status: ActionStatus.RUNNING >, synched=WorkerThread\#2\[127.0.0.1:35216\], timeout=5000, queue=\[\], holder=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >, waitingResource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@182ba68, bean=CAData, id=-1598425179, refs=2, tx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >, synched=null, timeout=5000, queue=\[TXLOCK waitingTx=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f187 status: ActionStatus.RUNNING > id=0 thread=Thread\[Thread-12,5,jboss\] queued=true\], waitingResourceHolder=TransactionImple < ac, BasicAction: 7f000001:87ae:46de1737:11f194 status: ActionStatus.RUNNING >

      at org.ejbca.core.ejb.ca.auth.LocalAuthenticationSessionBean.finishUser()
    2. org.ejbca.core
      LocalAuthenticationSessionBean.finishUser
      1. org.ejbca.core.ejb.ca.auth.LocalAuthenticationSessionBean.finishUser(LocalAuthenticationSessionBean.java:264)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor295.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    4. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.invocation.Invocation.performCall(Invocation.java:359)
      2. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
      2 frames
    5. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
      1 frame
    6. JBoss Application Server Server
      StatelessSessionProxy.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
      2. org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      3. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      5. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      6. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      7. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      8. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
      9. org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      10. org.jboss.ejb.Container.invoke(Container.java:960)
      11. org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
      12. org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
      12 frames
    7. Unknown
      $Proxy187.finishUser
      1. $Proxy187.finishUser(Unknown Source)
      1 frame
    8. org.ejbca.core
      RSASignSessionBean.createCertificate
      1. org.ejbca.core.ejb.ca.sign.RSASignSessionBean.finishUser(RSASignSessionBean.java:1247)
      2. org.ejbca.core.ejb.ca.sign.RSASignSessionBean.createCertificate(RSASignSessionBean.java:1350)
      3. org.ejbca.core.ejb.ca.sign.RSASignSessionBean.createCertificate(RSASignSessionBean.java:436)
      4. org.ejbca.core.ejb.ca.sign.RSASignSessionBean.createCertificate(RSASignSessionBean.java:382)
      4 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    10. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.invocation.Invocation.performCall(Invocation.java:359)
      2. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
      2 frames
    11. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
      1 frame
    12. JBoss Application Server Server
      TxInterceptorCMT.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
      2. org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      3. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      5. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      5 frames
    13. org.jboss.remoting
      Client.invoke
      1. org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
      2. org.jboss.remoting.Client.invoke(Client.java:1550)
      3. org.jboss.remoting.Client.invoke(Client.java:530)
      3 frames
    14. JBoss Application Server Server
      ClientContainer.invoke
      1. org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:183)
      2. org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
      3. org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
      4. org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
      5. org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
      6. org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
      7. org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
      7 frames
    15. Unknown
      $Proxy5.createCertificate
      1. $Proxy5.createCertificate(Unknown Source)
      1 frame
    16. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames