Bug 1210176

Summary: Infinispan MBeans are available under two JMX domains
Product: [JBoss] JBoss Data Grid 6 Reporter: Martin Gencur <mgencur>
Component: InfinispanAssignee: Galder ZamarreƱo <galder.zamarreno>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: dstahl, jdg-bugs, rmarwaha, ttarrant
Target Milestone: ER3   
Target Release: 6.5.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-23 12:24: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:

Description Martin Gencur 2015-04-09 06:18:47 UTC
This is related to BZ1193276 where a customer is getting errors when accessing Infinispan MBeans under wrong JMX domain.
The MBeans are by default available under:
1) jboss.as
2) jboss.infinispan

Option 2) is correct. Option 1) should be removed as it is confusing and does not work correctly.

Comment 2 Tristan Tarrant 2015-04-22 12:24:35 UTC
We can't remove either:

1. jboss.as is created by the server subsystem machinery
2. jboss.infinispan are symmetric to the ones created by embedded mode

However some attributes in 2 are missing compared to 1 and we should add them for completeness:
e.g. isCoordinator()

Comment 3 Martin Gencur 2015-04-22 13:42:04 UTC
Renamed the issue to better reflect the goal - adding the missing MBeans/attributes.

Comment 4 JBoss JIRA Server 2015-04-22 14:57:14 UTC
Galder ZamarreƱo <galder.zamarreno> updated the status of jira ISPN-5401 to Coding In Progress

Comment 6 Martin Gencur 2015-04-30 09:27:38 UTC
When I start ER3 JDG server, I can't find isCoordinator and coordinatorAddress on cache manager MBeans under jboss.infinispan JMX domain. There's probably something missing.

Comment 7 Martin Gencur 2015-04-30 09:50:45 UTC
Sorry, my bad. I was accidentally testing ER2. 

It works fine with ER3.