[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
by sopan patel (JIRA)
[ https://issues.jboss.org/browse/JBCACHE-1599?page=com.atlassian.jira.plug... ]
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
11 years, 11 months
[JBoss JIRA] (JBCACHE-1629) JBoss Cache will not compile tests with java 1.7
by Jitka Kudrnacova (JIRA)
[ https://issues.jboss.org/browse/JBCACHE-1629?page=com.atlassian.jira.plug... ]
Jitka Kudrnacova commented on JBCACHE-1629:
-------------------------------------------
The affected version should be 3.2.10.GA or 3.2.11.GA, but these cannot be chosen in the respective field.
> JBoss Cache will not compile tests with java 1.7
> ------------------------------------------------
>
> Key: JBCACHE-1629
> URL: https://issues.jboss.org/browse/JBCACHE-1629
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.2.9.GA
> Environment: Windows, RHEL
> Oracle jdk 1.7, IBM jdk 1.7, openjdk 1.7
> Reporter: Richard Janík
> Assignee: Manik Surtani
>
> I am unable to compile tests from JBoss Cache (mvn test, or mvn compile compiler:testCompile) with any 1.7 jdk:
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.1:testCompile (default-testCompile) on project jbosscache-core: Compilation failure: Compilation failure:
> [ERROR] /home/rjanik/svn/jbosscache/3.2.11.GA/src/test/java/org/jboss/cache/loader/DataSourceIntegrationTest.java:[106,18] error: MockDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
> [ERROR] -> [Help 1]
> {code}
> I have tried this with 3.2.10.GA and 3.2.11.GA as well, but they are not listed among possible affected versions. Svn tags:
> https://anonsvn.jboss.org/repos/jbosscache/core/tags/3.2.10.GA/
> https://anonsvn.jboss.org/repos/jbosscache/core/tags/3.2.11.GA/
--
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
11 years, 11 months
[JBoss JIRA] (JBCACHE-1629) JBoss Cache will not compile tests with java 1.7
by Richard Janík (JIRA)
Richard Janík created JBCACHE-1629:
--------------------------------------
Summary: JBoss Cache will not compile tests with java 1.7
Key: JBCACHE-1629
URL: https://issues.jboss.org/browse/JBCACHE-1629
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Windows, RHEL
Oracle jdk 1.7, IBM jdk 1.7, openjdk 1.7
Reporter: Richard Janík
Assignee: Manik Surtani
I am unable to compile tests from JBoss Cache (mvn test, or mvn compile compiler:testCompile) with any 1.7 jdk:
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.1:testCompile (default-testCompile) on project jbosscache-core: Compilation failure: Compilation failure:
[ERROR] /home/rjanik/svn/jbosscache/3.2.11.GA/src/test/java/org/jboss/cache/loader/DataSourceIntegrationTest.java:[106,18] error: MockDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
[ERROR] -> [Help 1]
{code}
I have tried this with 3.2.10.GA and 3.2.11.GA as well, but they are not listed among possible affected versions. Svn tags:
https://anonsvn.jboss.org/repos/jbosscache/core/tags/3.2.10.GA/
https://anonsvn.jboss.org/repos/jbosscache/core/tags/3.2.11.GA/
--
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
11 years, 11 months
[JBoss JIRA] (PCACHE-19) Add support for ordered collection types (TreeMap, TreeSet, LinkedHashSet, LinkedHashMap)
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/PCACHE-19?page=com.atlassian.jira.plugin.... ]
Scott Marlow resolved PCACHE-19.
--------------------------------
Resolution: Out of Date
No need to make this change for JBC at this point.
> Add support for ordered collection types (TreeMap, TreeSet, LinkedHashSet, LinkedHashMap)
> -----------------------------------------------------------------------------------------
>
> Key: PCACHE-19
> URL: https://issues.jboss.org/browse/PCACHE-19
> Project: JBoss POJO Cache
> Issue Type: Feature Request
> Components: Collections
> Reporter: Ben Wang
> Assignee: Scott Marlow
> Original Estimate: 4 weeks
> Remaining Estimate: 4 weeks
>
> Currently the default implementation of Collections classes, e.g., List, Set, and Map are: ArrayList, HastSet, and HashMap.
> We will need to provide more different flavors, e.g., LinkedList, etc., based on user's instances.
> --------
> Feb 2, 20006 Notes from Scott Marlow
> I changed the title from "Implement different flavors of Collections class proxy" to be more specific.
> We will add mappings for:
> Set: HashSet, LinkedHashSet, TreeSet
> List: ArrayList, LinkedList, Vector
> Map: HashMap, TreeMap
> Also add LinkedHashMap (subclass of HashMap)
--
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
11 years, 11 months