Bug 768975

Summary: Cannot use ClusterCacheStore with EDG
Product: [JBoss] JBoss Data Grid 6 Reporter: Martin Gencur <mgencur>
Component: unspecifiedAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jdg-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-26 12:51:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
ClassCastException
none
Infinispan subsystem definition none

Description Martin Gencur 2011-12-19 15:18:10 UTC
Created attachment 548618 [details]
ClassCastException

Description of problem:

When starting EDG server with ClusterCacheStore definition, getting a java.lang.ClassCastException: class org.infinispan.loaders.cluster.ClusterCacheLoader

(whole exception attached)

The problem is that Infinispan subsystem in JBossAS expects the cache store to be an implementation of CacheStore interface. However, ClusterCacheLoader does not implement it.

I used the following configuration snippet to configure Infinispan subsystem: (attached in a file).

There are tests for ClusterCacheStore in EDG: https://svn.devel.redhat.com/repos/jboss-qa/edg/edg-functional-tests/trunk/cluster-cache-store

Comment 1 Martin Gencur 2011-12-19 15:19:36 UTC
Created attachment 548619 [details]
Infinispan subsystem definition

Comment 2 Martin Gencur 2012-01-26 12:51:07 UTC
This was already resolved in related AS7-3100 and is working well in EDG now.