[jbosscache-issues] [JBoss JIRA] (JBCACHE-1599) Patch for JBCACHE-1592 --> "org.jboss.cache.lock.TimeoutException: Unable to acquire lock on Fqn is very frequently in cluster" potential Fix

sopan patel (JIRA) jira-events at lists.jboss.org
Wed Jan 30 05:07:47 EST 2013


    [ https://issues.jboss.org/browse/JBCACHE-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751257#comment-12751257 ] 

sopan patel commented on JBCACHE-1599:
--------------------------------------

Hi,
    I am using Jboss cache 3.2.8.1 version. When i am restarting my DB(oracle 11g) and after that trying to fetch any data from Jboss cache then it was throwing below exception. I tried deleting "org.jboss.cache.interceptors.MVCCLockingInterceptor.java" in line 202." and check again but it didnt help me 

Exception :
Got Exception in JbossCacheProcessor's store operation, even after retrying for ...21 times -
org.jboss.cache.lock.TimeoutException: Unable to acquire lock on Fqn [/jboss/ABCInfo-1] after [10000] milliseconds for requestor [Thread[thread-3,4,main]]! Lock held by [Thread[pool-flow.seda.ABC-mediation-notification-se-thread-46,5,]]
        at org.jboss.cache.mvcc.MVCCNodeHelper.acquireLock(MVCCNodeHelper.java:159)
        at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:242)
        at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:186)
                
> Patch for JBCACHE-1592 --> "org.jboss.cache.lock.TimeoutException: Unable to acquire lock on Fqn is very frequently in cluster" potential Fix
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBCACHE-1599
>                 URL: https://issues.jboss.org/browse/JBCACHE-1599
>             Project: JBoss Cache
>          Issue Type: Patch
>      Security Level: Public(Everyone can see) 
>          Components: Locking
>    Affects Versions: 3.2.5.GA
>            Reporter: Christopher Ezell
>            Assignee: Manik Surtani
>             Fix For: 3.2.6.GA, 3.2.7.GA
>
>         Attachments: MVCCLockingInterceptor.java.patch
>
>
> This is a potential fix for the Timeout Problem from BUG "JBCACHE-1592". This Patch fix The Problem by removing the line:
> "ctx.getOptionOverrides().setLockAcquisitionTimeout(0);" in the "org.jboss.cache.interceptors.MVCCLockingInterceptor.java" in line 202.
> This line set the Timeout to zero and deranges the System to gain a Lock. 
> Removing this line prevents this.
> Patch is in the attached file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosscache-issues mailing list