Bugs item #1084728, was opened at 2004-12-13 17:25 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1084728&group_id=22866
Category: JBossCMP Group: CVS HEAD Status: Open Resolution: None Priority: 5 Submitted By: jpk (finally) Assigned to: Nobody/Anonymous (nobody) Summary: suspicion that txTimeout value is being loaded from source Initial Comment: I've looked in the code from jboss-head-snapshot org.jboss.ejb.BeanLockManager.java on line 37 is int txTimeout = 5000; I suspect that this value cannot be changed, and should be set via an xml config file instead. I am having a problem with Deadlocks in my code and getting this stacktrace when I get a timeout. 2004-12-13 15:23:23,969 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.Integer com.alpha.ejb.interfaces.PersonBeanLocal.getPersonID(), causedBy: org.jboss.util.deadlock.ApplicationDeadlockException: Application deadlock detected, [EMAIL PROTECTED], bean=PersonBean, id=1, refs=2, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=dev5/694, BranchQual=, localId=694], synched=Thread[http-0.0.0.0-8080-Processor20,5,jboss], timeout=5000, queue=[], holder=TransactionImpl:XidImpl[FormatId=257, GlobalId=dev5/747, BranchQual=, localId=747], [EMAIL PROTECTED], bean=OrganizationBean, id=1, refs=3, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=dev5/747, BranchQual=, localId=747], synched=null, timeout=5000, queue=[TXLOCK waitingTx=TransactionImpl:XidImpl[FormatId=257, GlobalId=dev5/694, BranchQual=, localId=694] id=0 thread=Thread[http-0.0.0.0-8080-Processor25,5,jboss] queued=true, TXLOCK waitingTx=TransactionImpl:XidImpl[FormatId=257, GlobalId=dev5/750, BranchQual=, localId=750] id=0 thread=Thread[http-0.0.0.0-8080-Processor15,5,jboss] queued=true], waitingResourceHolder=TransactionImpl:XidImpl[FormatId=257, GlobalId=dev5/747, BranchQual=, localId=747] at org.jboss.util.deadlock.DeadlockDetector.deadlockDetection(DeadlockDetector.java:48) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.waitForTx(QueuedPessimisticEJBLock.java:301) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.doSchedule(QueuedPessimisticEJBLock.java:236) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.schedule(QueuedPessimisticEJBLock.java:183) at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:85) at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:53) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:316) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:514) at org.jboss.ejb.Container.invoke(Container.java:854) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413) at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44) at $Proxy212.getPersonID(Unknown Source) System specs: 17:18:36,110 INFO [ServerInfo] Java version: 1.4.2_06,Sun Microsystems Inc. 17:18:36,110 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_06-b03,Sun Microsystems Inc. 17:18:36,110 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1084728&group_id=22866 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development