Manoj; Deadlocks are usually an application problem involving the sequence in which locks are placed on shared resources.
Here is a document you may find very helpful in resolving this issue: http://i3t.org/members/article.jsp?articleId=1595209 Cheers. //Nicholas --- "Sasidharan, Manoj" <[EMAIL PROTECTED]> wrote: > Hello All, > > The stress test of our JBoss application results in > application deadlocks. > The test fails even when there are 6 concurrent > users. > > Find enclosed are the stack trace of the deadlock > detection by the JBoss > server. Please let me know in case you need any > additional information to > analyse/understand the issue. > > Can anybody help us resolve this. Thanks in advance. > > rgds > MS > > 2004-01-06 13:00:17,653 ERROR [STDERR] [Tue Jan 06 > 13:00:17 PST > 2004][ERROR][145 > f5721f530d8fc4383a15501859e205105c7e1][javax.ejb.EJBException:12]: > null; > CausedB > yException is: > Application deadlock detected, > resource=org.jboss.ejb.plugins.lock.QueuedPes > [EMAIL PROTECTED], bean=MapEntity, id=28, > refs=5, > tx=TransactionImpl:XidIm > pl [FormatId=257, GlobalId=woodstock.plx.com//69, > BranchQual=], > synched=Thread[R > MI TCP Connection(12)-10.21.80.24,5,RMI Runtime], > timeout=5000, > queue=[TXLOCK wa > itingTx=TransactionImpl:XidImpl [FormatId=257, > GlobalId=woodstock.plx.com//71, B > ranchQual=] id=0 thread=Thread[RMI TCP > Connection(8)-10.21.80.24,5,RMI > Runtime] > queued=true, TXLOCK > waitingTx=TransactionImpl:XidImpl [FormatId=257, > GlobalId=wo > odstock.plx.com//73, BranchQual=] id=0 > thread=Thread[RMI TCP > Connection(3)-10.21 > .80.24,5,RMI Runtime] queued=true], > holder=TransactionImpl:XidImpl > [FormatId=257 > , GlobalId=woodstock.plx.com//75, BranchQual=], > waitingResource=org.jboss.ejb.pl > [EMAIL PROTECTED], > bean=MapNames, id=13, refs=3, > tx=Tr > ansactionImpl:XidImpl [FormatId=257, > GlobalId=woodstock.plx.com//75, > BranchQual= > ], synched=null, timeout=5000, queue=[TXLOCK > waitingTx=TransactionImpl:XidImpl [ > FormatId=257, GlobalId=woodstock.plx.com//77, > BranchQual=] id=0 > thread=Thread[RM > I TCP Connection(11)-10.21.80.24,5,RMI Runtime] > queued=true, TXLOCK > waitingTx=Tr > ansactionImpl:XidImpl [FormatId=257, > GlobalId=woodstock.plx.com//69, > BranchQual= > ] id=0 thread=Thread[RMI TCP > Connection(6)-10.21.80.24,5,RMI Runtime] > queued=tru > e], waitingResourceHolder=TransactionImpl:XidImpl > [FormatId=257, > GlobalId=woodst > ock.plx.com//75, BranchQual=] > 2004-01-06 13:00:17,673 ERROR [STDERR] [Tue Jan 06 > 13:00:17 PST 2004][CALL > STACK > ][145f5721f530d8fc4383a15501859e205105c7e1][javax.ejb.EJBException: > null; > Caused > ByException is: > Application deadlock detected, > resource=org.jboss.ejb.plugins.lock.QueuedPes > [EMAIL PROTECTED], bean=MapEntity, id=28, > refs=5, > tx=TransactionImpl:XidIm > pl [FormatId=257, GlobalId=woodstock.plx.com//69, > BranchQual=], > synched=Thread[R > MI TCP Connection(12)-10.21.80.24,5,RMI Runtime], > timeout=5000, > queue=[TXLOCK wa > itingTx=TransactionImpl:XidImpl [FormatId=257, > GlobalId=woodstock.plx.com//71, B > ranchQual=] id=0 thread=Thread[RMI TCP > Connection(8)-10.21.80.24,5,RMI > Runtime] > queued=true, TXLOCK > waitingTx=TransactionImpl:XidImpl [FormatId=257, > GlobalId=wo > odstock.plx.com//73, BranchQual=] id=0 > thread=Thread[RMI TCP > Connection(3)-10.21 > .80.24,5,RMI Runtime] queued=true], > holder=TransactionImpl:XidImpl > [FormatId=257 > , GlobalId=woodstock.plx.com//75, BranchQual=], > waitingResource=org.jboss.ejb.pl > [EMAIL PROTECTED], > bean=MapNames, id=13, refs=3, > tx=Tr > ansactionImpl:XidImpl [FormatId=257, > GlobalId=woodstock.plx.com//75, > BranchQual= > ], synched=null, timeout=5000, queue=[TXLOCK > waitingTx=TransactionImpl:XidImpl [ > FormatId=257, GlobalId=woodstock.plx.com//77, > BranchQual=] id=0 > thread=Thread[RM > I TCP Connection(11)-10.21.80.24,5,RMI Runtime] > queued=true, TXLOCK > waitingTx=Tr > ansactionImpl:XidImpl [FormatId=257, > GlobalId=woodstock.plx.com//69, > BranchQual= > ] id=0 thread=Thread[RMI TCP > Connection(6)-10.21.80.24,5,RMI Runtime] > queued=tru > e], waitingResourceHolder=TransactionImpl:XidImpl > [FormatId=257, > GlobalId=woodst > ock.plx.com//75, BranchQual=] > at > org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java: > 386) > at > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195) > at > org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFi > nderInterceptor.java:122) > at > org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionCo > ntainer.java:331) > at > org.jboss.ejb.Container.invoke(Container.java:700) > at > org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFa > ctory.java:375) > at > org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSession > Proxy.java:83) > at $Proxy141.setMap(Unknown Source) > at > com.plx.efw.common.command.MapSetCommand.executeCommand(MapSetCommand.jav > a:71) > at > com.plx.efw.common.command.SystemCommand.execute(SystemCommand.java:66) > at > com.plx.framework.command.CommandServer.executeCommand(CommandServer.java > :91) > at > com.plx.framework.command.CommandServer.execute(CommandServer.java:66) > at > com.plx.efw.server.command.EJBCommandServerBean.execute(EJBCommandServerB > ean.java:160) > at > sun.reflect.GeneratedMethodAccessor53.invoke(Unknown > Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI > mpl.java:25) > at > java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(State > lessSessionContainer.java:683) > at > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(C > achedConnectionInterceptor.java:185) > at > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stateles > sSessionInstanceInterceptor.java:72) > at > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxIntercep > tor.java:84) > at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorC > MT.java:267) > at > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128) > at > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java > :118) > at > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) > at > org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFi > nderInterceptor.java:122) > at > === message truncated === ===== Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 [EMAIL PROTECTED] Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user