I had a similar problem when i reentred some CMP-beans (bean A calls bean B and bean B in this method calls bean A again, i think) withouth specifying this capability in the depl. decr. After reorganizing the code, it worked.
On Tue, Mar 19, 2002 at 09:18:19PM +0100, Eric Jain wrote: > Any ideas how to avoid this? > > > 2002-03-19 21:14:48,250 ERROR [org.jboss.ejb.BeanLock] Application deadlock > detected: TransactionImpl:XidImpl [FormatId=257, GlobalId=trillian//404, > BranchQual=] has deadlock conditions > 2002-03-19 21:14:48,250 ERROR [org.jboss.ejb.plugins.LogInterceptor] > TransactionRolledbackException, causedBy: > org.jboss.ejb.plugins.lock.ApplicationDeadlockException: application > deadlock detected > at > org.jboss.ejb.plugins.lock.BeanLockSupport.deadlockDetection(BeanLockSupport > .java:190) > at > org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.waitForTx(QueuedPessimis > ticEJBLock.java:262) > at > org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.doSchedule(QueuedPessimi > sticEJBLock.java:169) > at > org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.schedule(QueuedPessimist > icEJBLock.java:137) > at > org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.jav > a:104) > at > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor > .java:96) > at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. > java:167) > at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61) > at > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:12 > 7) > at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166) > at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:474) > at > org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(BaseLocalContai > nerInvoker.java:308) > at > org.jboss.ejb.plugins.local.BaseLocalContainerInvoker$EntityProxy.invoke(Bas > eLocalContainerInvoker.java:412) > at $Proxy33.getStatus(Unknown Source) > at pool.task.MonitorBean.getTasks(Unknown Source) > at pool.task.MonitorBean.run(Unknown Source) > at java.lang.reflect.Method.invoke(Native Method) > at > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles > sSessionContainer.java:642) > at > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe > ssionInstanceInterceptor.java:77) > at > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor > .java:96) > at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. > java:167) > at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61) > at > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:12 > 7) > at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166) > at > org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav > a:308) > at org.jboss.ejb.Container.invoke(Container.java:668) > at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) > at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:92) > at > org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProx > y.java:150) > at org.jboss.proxy.ejb.GenericProxy.invoke(GenericProxy.java:182) > at > org.jboss.proxy.ejb.StatelessSessionProxy.invoke(StatelessSessionProxy.java: > 111) > at $Proxy26.run(Unknown Source) > at pool.task.Scheduler.perform(Scheduler.java:22) > at > org.jboss.varia.scheduler.Scheduler$Listener.handleNotification(Scheduler.ja > va:799) > at > com.sun.management.jmx.MBeanServerNotificationListener.handleNotification(MB > eanServerNotificationListener.java:48) > at > javax.management.NotificationBroadcasterSupport.sendNotification(Notificatio > nBroadcasterSupport.java:142) > at javax.management.timer.Timer.sendNotification(Timer.java:1119) > at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1089) > at javax.management.timer.TimerAlarmClock.run(Timer.java:1165) > > > -- > Eric Jain > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- MVH Marius Kotsbak Boost communications AS _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
