0 Replies Latest reply on Jul 30, 2003 6:50 AM by amir

    Deadlock Exception

    amir Newbie

      please help.
      we are developing and LMS system on jboss with entity bean and struts.
      sometime when we try to get somepage we get this exception :

      com.objectj.jsa.proxy.ProxyException: null; CausedByException is:
      [java] Application deadlock detected: Two or more transactions contention.
      [java] 17:33:27,370 ERROR [STDERR] com.objectj.jsa.proxy.ProxyException: null; CausedByException is:
      [java] Application deadlock detected: Two or more transactions contention.
      [java] 17:33:27,400 ERROR [STDERR] at com.objectj.nexus.lms.proxy.ProxySessionEJB.allPassLessons(ProxySessionEJB.java:1085)
      [java] 17:33:27,400 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source)
      [java] 17:33:27,400 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] 17:33:27,400 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      [java] 17:33:27,410 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)
      [java] 17:33:27,450 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      [java] 17:33:27,450 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
      [java] 17:33:27,450 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
      [java] 17:33:27,450 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
      [java] 17:33:27,540 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
      [java] 17:33:27,580 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
      [java] 17:33:27,580 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      [java] 17:33:27,580 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      [java] 17:33:27,580 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
      [java] 17:33:27,690 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:674)
      [java] 17:33:27,720 ERROR [STDERR] at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:353)
      [java] 17:33:27,720 ERROR [STDERR] at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
      [java] 17:33:27,730 ERROR [STDERR] at $Proxy143.allPassLessons(Unknown Source)

      I can't realize why i should get this exception ?
      can anyone help me step by step , it is very important for me .
      Thanks all.