EHC ❯ Clustering not supported for Java 6 (includes patch)
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
Java 6.0 not supported for clustering.
The use of the Backport Concurrent classes increases the dependence complexity significantly. Moreover, there is no readily available Java 6 support in the Backport Concurrent library. Effectively, the use of the concurrent classes to support older Java versions renders the EHCache clustering unusable for the newest Java version.
Regards Derek Hulley Alfresco Development
=========== This is the result of using a clustered config, Java 6 and backport for Java 5:
Caused by: java.lang.VerifyError: class edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicInteger overrides final method lazySet.(I)V
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at edu.emory.mathcs.backport.java.util.concurrent.Executors$DefaultThreadFactory.
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira