<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Error while trying to acquire write lock
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/tulio.barbosa">TĂșlio Gomes Barbosa</a> in <i>JBoss Cache</i> - <a href="https://community.jboss.org/message/757029#757029">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi guys,</p><p>i'm a brazilian oss analyst facing with the following problem:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;Aug 28, 2012 10:15:22 AM BRT&gt; &lt;Notice&gt; &lt;Stdout&gt; &lt;BEA-000000&gt; &lt;AsyncClient: Response cannot be read!&gt;</p><p>&lt;8-28-2012 10:15:22.261&gt; &lt;JVMDAgent|jamagent.c:1472&gt; &lt;Error receiving data from console&gt;</p><p>&lt;Aug 28, 2012 10:15:32 AM BRT&gt; &lt;Notice&gt; &lt;Stdout&gt; &lt;BEA-000000&gt; &lt;&lt;28-Aug-2012 10:15:32,483 BRT AM&gt; &lt;ERROR&gt; &lt;jboss.JBossOrderCacheManager&gt; &lt;ExecuteThread: '12'</p><p>for queue: 'oms.automation'&gt; <strong>&lt;Caught exception adding value to cache fqn[/9976/root/0/Client_Details/1346158074198] value[null] nodeId[87386] nodeIndex[null]</strong></p><p>&gt;</p><p><strong>org.jboss.cache.lock.TimeoutException: failure acquiring lock: fqn=/9976/root/0/Client_Details/1346158074198, caller=GlobalTransaction:&lt;null&gt;:887, lock=write</strong></p><p><strong> owner=GlobalTransaction:&lt;null&gt;:892 (org.jboss.cache.lock.LockStrategyReadCommitted@3fcbb918)</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Here's the situation:</p><p>We're using an oracle application that manages service orders life cycle. So we have specifics flows based at telecom industry business rules that access all time the same fqn.</p><p>In some flows we have integrations with others systems via webservices and jms queues who are responsible for allocating the equipment inventory. However, these integrations lasts 20 seconds on average.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Looking at the jboss cache configuration we observed that some parameters are not following the recommended configuration by the jboss specialists (please look at attached file omscache-config.xml ).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>ps.: The parameter LockAcquisitionTimeout (30000 milliseconds) seems not to be sufficient.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Anyone have some ideas for the problem related?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>ps2.: Sorry for the english <span> :D </span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/757029#757029">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Cache at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>