[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [JBoss Cache] - Error while trying to acquire write lock
From:       Túlio_Gomes_Barbosa <do-not-reply () jboss ! com>
Date:       2012-08-30 14:57:06
Message-ID: 2-757029-3-113629-1346338617463.jivesbs.jivemailuser () https://community ! jboss ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Túlio Gomes Barbosa [https://community.jboss.org/people/tulio.barbosa] created the \
discussion

"Error while trying to acquire write lock"

To view the discussion, visit: https://community.jboss.org/message/757029#757029

--------------------------------------------------------------
Hi guys,
i'm a brazilian oss analyst facing with the following problem:

<Aug 28, 2012 10:15:22 AM BRT> <Notice> <Stdout> <BEA-000000> <AsyncClient: Response \
cannot be read!> <8-28-2012 10:15:22.261> <JVMDAgent|jamagent.c:1472> <Error \
receiving data from console> <Aug 28, 2012 10:15:32 AM BRT> <Notice> <Stdout> \
<BEA-000000> <<28-Aug-2012 10:15:32,483 BRT AM> <ERROR> \
<jboss.JBossOrderCacheManager> <ExecuteThread: '12' for queue: 'oms.automation'> \
*<Caught exception adding value to cache \
fqn[/9976/root/0/Client_Details/1346158074198] value[null] nodeId[87386] \
nodeIndex[null]*
> 
*org.jboss.cache.lock.TimeoutException: failure acquiring lock: \
fqn=/9976/root/0/Client_Details/1346158074198, caller=GlobalTransaction:<null>:887, \
                lock=write*
 *owner=GlobalTransaction:<null>:892 \
(org.jboss.cache.lock.LockStrategyReadCommitted@3fcbb918)*

Here's the situation:
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. 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.

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 ).

ps.: The parameter LockAcquisitionTimeout (30000 milliseconds) seems not to be \
sufficient.

Anyone have some ideas for the problem related?

ps2.: Sorry for the english  :D
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/757029#757029]

Start a new discussion in JBoss Cache at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]



[Attachment #5 (text/html)]

<!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>



_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic