• Bug
  • Status: Closed
  • 1 Critical
  • Resolution: Fixed
  • teck
  • Reporter: teck
  • February 18, 2011
  • 0
  • Watchers: 1
  • July 27, 2012
  • February 21, 2011

Description

At least one way to get this to happen is to use toolkit cluster events in your application and also use an express product that also uses cluster events (eg. quartz).

java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method “org.terracotta.cluster.TerracottaClusterInfo$1.getType()Lorg/terracotta/cluster/ClusterEvent$Type;” the class loader (instance of org/terracotta/express/ClusteredStateLoader) of the current class, org/terracotta/cluster/TerracottaClusterInfo$1, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for interface org/terracotta/cluster/ClusterEvent have different Class objects for the type org/terracotta/cluster/ClusterEvent$Type used in the signature at org.terracotta.cluster.TerracottaClusterInfo.translateEvent(TerracottaClusterInfo.java:39) at org.terracotta.cluster.TerracottaClusterInfo.access$100(TerracottaClusterInfo.java:18) at org.terracotta.cluster.TerracottaClusterInfo$ClusterListenerWrapper.nodeJoined(TerracottaClusterInfo.java:140) at com.tc.cluster.DsoClusterImpl.fireNodeJoinedInternal(DsoClusterImpl.java:349) at com.tc.cluster.DsoClusterImpl.addClusterListener(DsoClusterImpl.java:77) at org.terracotta.cluster.TerracottaClusterInfo.addClusterListener(TerracottaClusterInfo.java:51) at org.terracotta.quartz.ClusteredJobStore.schedulerStarted(ClusteredJobStore.java:199) at org.terracotta.quartz.PlainTerracottaJobStore.schedulerStarted(PlainTerracottaJobStore.java:194) at org.terracotta.quartz.TerracottaJobStore.schedulerStarted(TerracottaJobStore.java:225) at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:494) at org.quartz.impl.StdScheduler.start(StdScheduler.java:143)

Comments

Tim Eck 2011-02-18

This issue is already resolved in toolkit 1.2 that will be part of TC core 3.5.0 release

Tim Eck 2011-02-21

merged to 3.4.0 and 3.4.1 lines of terracotta-toolkit

Fiona OShea 2011-02-21

So toolkit 2.1.1-SNAPSHOT and 2.0.1-SNAPSHOT

Tim Eck 2011-02-21

yes, those are the applicable toolkit versions