1 Reply Latest reply on Jul 23, 2003 3:21 PM by Adrian Brock

    SOS Application deadlock exception with JBOSS 3.0.6

    Bhushan Ivatury Newbie



      Hello All ,

      I hope this is the right place to post this -

      We are facing a Application deadlock exception with entity beans

      Here is the stack trace from the jboss console -

      We are going production in couple of days - and stuck with this problem
      Any help is appreciated


      --------------------------------------------------------------------
      Application deadlock detected: Two or more transactions contention.
      2003-09-02 06:54:11,571 ERROR [STDERR] javax.ejb.EJBException: null; CausedByException is:
      Application deadlock detected: Two or more transactions contention.
      2003-09-02 06:54:11,572 ERROR [STDERR] at

      org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:396)
      2003-09-02 06:54:11,573 ERROR [STDERR] at

      org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:208)
      2003-09-02 06:54:11,573 ERROR [STDERR] at

      org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
      2003-09-02 06:54:11,573 ERROR [STDERR] at

      org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(BaseLocalContainerInvoker.java:301)
      2003-09-02 06:54:11,573 ERROR [STDERR] at

      org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:38)
      2003-09-02 06:54:11,575 ERROR [STDERR] at $Proxy342.getProductId(Unknown Source)
      2003-09-02 06:54:11,575 ERROR [STDERR] at

      com.jivalti.library.bc.products.session.JlSessionProductsBean.getProductDetails(JlSessionProductsBean.

      java:863)
      2003-09-02 06:54:11,575 ERROR [STDERR] at

      com.jivalti.library.bc.products.session.JlSessionProductsBean.getProductDetails(JlSessionProductsBean.

      java:846)
      2003-09-02 06:54:11,575 ERROR [STDERR] at

      com.jivalti.library.bc.products.session.JlSessionProductsBean.compareProducts(JlSessionProductsBean.ja

      va:3652)
      2003-09-02 06:54:11,576 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor220.invoke(Unknown

      Source)
      2003-09-02 06:54:11,576 ERROR [STDERR] at

      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2003-09-02 06:54:11,576 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2003-09-02 06:54:11,576 ERROR [STDERR] at

      org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:660

      )
      2003-09-02 06:54:11,576 ERROR [STDERR] at

      org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.ja

      va:186)
      2003-09-02 06:54:11,577 ERROR [STDERR] at

      org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.j

      ava:77)
      2003-09-02 06:54:11,577 ERROR [STDERR] at

      org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
      2003-09-02 06:54:11,577 ERROR [STDERR] at

      org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:228)
      2003-09-02 06:54:11,577 ERROR [STDERR] at

      org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:92)
      2003-09-02 06:54:11,578 ERROR [STDERR] at

      org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      2003-09-02 06:54:11,578 ERROR [STDERR] at

      org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      2003-09-02 06:54:11,578 ERROR [STDERR] at

      org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      2003-09-02 06:54:11,578 ERROR [STDERR] at

      org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(BaseLocalContainerInvoker.java:301)
      2003-09-02 06:54:11,579 ERROR [STDERR] at

      org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:81)
      2003-09-02 06:54:11,579 ERROR [STDERR] at $Proxy341.compareProducts(Unknown Source)
      2003-09-02 06:54:11,580 ERROR [STDERR] at

      com.jivalti.library.bi.userviews.JlProductsViewBean.compareProducts(JlProductsViewBean.java:288)
      2003-09-02 06:54:11,580 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor219.invoke(Unknown

      Source)
      2003-09-02 06:54:11,580 ERROR [STDERR] at

      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2003-09-02 06:54:11,580 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2003-09-02 06:54:11,580 ERROR [STDERR] at

      org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:660

      )
      2003-09-02 06:54:11,581 ERROR [STDERR] at

      org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.ja

      va:186)
      2003-09-02 06:54:11,581 ERROR [STDERR] at

      org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.j

      ava:77)
      2003-09-02 06:54:11,581 ERROR [STDERR] at

      org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
      2003-09-02 06:54:11,582 ERROR [STDERR] at

      org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:228)
      2003-09-02 06:54:11,582 ERROR [STDERR] at

      org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:92)
      2003-09-02 06:54:11,582 ERROR [STDERR] at

      org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      2003-09-02 06:54:11,582 ERROR [STDERR] at

      org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      2003-09-02 06:54:11,582 ERROR [STDERR] at

      org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      2003-09-02 06:54:11,583 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:712)
      2003-09-02 06:54:11,583 ERROR [STDERR] at

      org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      2003-09-02 06:54:11,583 ERROR [STDERR] at

      org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)
      2003-09-02 06:54:11,583 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown

      Source)
      2003-09-02 06:54:11,584 ERROR [STDERR] at

      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2003-09-02 06:54:11,584 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2003-09-02 06:54:11,584 ERROR [STDERR] at

      sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      2003-09-02 06:54:11,584 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.java:148)
      2003-09-02 06:54:11,585 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
      2003-09-02 06:54:11,585 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      ---------------------------------------------------------------------