<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2: Application deadlock</title><link>https://sourceforge.net/p/uengine/patches/2/</link><description>Recent changes to 2: Application deadlock</description><atom:link href="https://sourceforge.net/p/uengine/patches/2/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 09 Aug 2004 04:34:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/uengine/patches/2/feed.rss" rel="self" type="application/rss+xml"/><item><title>Application deadlock</title><link>https://sourceforge.net/p/uengine/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;SYMPTOM:&lt;/p&gt;
&lt;p&gt;In the enactment engine(JBoss) of uengine v1.0 rc0, You&lt;br /&gt;
may see application deadlock detection errors like follows:&lt;/p&gt;
&lt;p&gt;Application deadlock detected,&lt;br /&gt;
resource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@af3479,&lt;br /&gt;
bean=ProcessVariableRepositoryEJB,&lt;br /&gt;
id=Tue_Jun_22_16_51_43_GMT_2004::myInstanceId, refs=2,&lt;br /&gt;
tx=TransactionImpl:XidImpl&lt;br /&gt;
[FormatId=257,GlobalId=jiyong//2121, BranchQual=],&lt;br /&gt;
synched=Thread[Thread Pool Worker-14,5,ASF Session Pool&lt;br /&gt;
Threads], timeout=5000, queue=[],&lt;br /&gt;
holder=TransactionImpl:XidImpl [FormatId=257,&lt;br /&gt;
GlobalId=jiyong//2117, BranchQual=],&lt;br /&gt;
waitingResource=org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@9e2502,&lt;br /&gt;
bean=ProcessInstanceRepositoryEJB,&lt;br /&gt;
id=Tue_Jun_22_16_51_43_GMT_2004, refs=2, &lt;br /&gt;
tx=TransactionImpl:XidImpl [FormatId=257,&lt;br /&gt;
GlobalId=jiyong//2117, BranchQual=], synched=null,&lt;br /&gt;
timeout=5000, queue=[TXLOCK&lt;br /&gt;
waitingTx=TransactionImpl:XidImpl [FormatId=257,&lt;br /&gt;
GlobalId=jiyong//2121, BranchQual=] id=0&lt;br /&gt;
thread=Thread[Thread-7,5,jboss] queued=true],&lt;br /&gt;
waitingResourceHolder=TransactionImpl:XidImpl&lt;br /&gt;
[FormatId=257, GlobalId=jiyong//2117, BranchQual=]&lt;br /&gt;
2:38:04,314 ERROR [STDERR]     at&lt;br /&gt;
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:386)&lt;/p&gt;
&lt;p&gt;SOLUTION:&lt;/p&gt;
&lt;p&gt;Simply replace your service-descriptor as attached,&lt;br /&gt;
which switches some attributes on entity bean access&lt;br /&gt;
policy in order to avoid deadlocks.&lt;/p&gt;
&lt;p&gt;following instructions will guide the patch process:&lt;br /&gt;
1. Stop your uengine server if running.&lt;br /&gt;
2. extract the uengine.jar archive file located in&lt;br /&gt;
"was/server/default/deploy/uengine.jar".&lt;br /&gt;
3. replace the service descriptor file with attached&lt;br /&gt;
one - "jboss.xml" and then compress the archive&lt;br /&gt;
directory again and remove the directory.&lt;br /&gt;
4. restart uengine.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jinyoung jang</dc:creator><pubDate>Mon, 09 Aug 2004 04:34:08 -0000</pubDate><guid>https://sourceforge.netf814c87f0e8413ce0fd0efeba2e2b6d82b0a2154</guid></item></channel></rss>