Bug 767566

Summary: EDG throwing java.lang.ClassCastException when using site, rack, machines attributes of transport configuration element
Product: [JBoss] JBoss Data Grid 6 Reporter: Michal Linhard <mlinhard>
Component: unspecifiedAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED NEXTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jdg-bugs, nobody
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-27 14:06:40 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
ClassCast Exception
none
Infinispan subsystem example definition none

Description Michal Linhard 2011-12-14 11:21:12 UTC
Currently it's not possible to use site, rack and machines attributes of
<transport> configuration element as Infinispan throws the exception attached
in a file (when starting EDG)

Version-Release number of selected component (if applicable):

EDG-SNAPSHOT from Dec 12 (based on
https://github.com/tristantarrant/edg/tree/758033, containing Infinispan
5.1.0.CR1 and JBossAS 7.1.0.CR1-SNAPSHOT) 

How reproducible:

Start EDG with infinispan-subsystem configuration attached in a file.

The bug does NOT appear when I'm using standalone Infinispan server 5.1.0.CR1. There I define the relevenat section like the
following:

<transport 
    clusterName="infinispan-cluster" 
    machineId="m1" 
    rackId="r1"
    siteId="s1">
</transport>

Reporting on behalf of Martin Gencur (mgencur)

Comment 1 Michal Linhard 2011-12-14 11:24:47 UTC
Created attachment 546707 [details]
ClassCast Exception

Comment 2 Michal Linhard 2011-12-14 11:25:45 UTC
Created attachment 546708 [details]
Infinispan subsystem example definition

Comment 3 Martin Gencur 2012-01-27 14:06:40 UTC
I verified that this already works as a result of related ISPN and AS7 JIRAs being resolved.