• 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.(Executors.java:528) at edu.emory.mathcs.backport.java.util.concurrent.Executors.defaultThreadFactory(Executors.java:288) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1042) at edu.emory.mathcs.backport.java.util.concurrent.Executors.newCachedThreadPool(Executors.java:150) at net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init(MulticastKeepaliveHeartbeatReceiver.java:81) at net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:89) at net.sf.ehcache.CacheManager.init(CacheManager.java:221) at net.sf.ehcache.CacheManager.(CacheManager.java:179) Sourceforge Ticket ID: 1756338 - Opened By: dhulley - 18 Jul 2007 17:02 UTC

Comments

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira