Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6310

Endpoints registered via CLI have wrong JMX name

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 8.2.0.CR1
    • Fix Version/s: None
    • Component/s: CLI, Memcached, Server
    • Labels:
      None

      Description

      When I register second Memcached (called "memcached2") endpoint via CLI, the resulting JMX name is

      jboss.datagrid-infinispan2:type=Server,name=Memcached,component=Transport
      

      This is wrong because when the endpoint is configured in domain.xml, the resulting address is different:

      jboss.datagrid-infinispan:type=Server,name=Memcached-memcached2,component=Transport
      

      I suppose the latter name is correct because all the other Infinispan MBeans can be found under that domain (jboss.datagrid-infinispan). OTOH, when CLI is used and the second endpoint added, the new doman jboss.datagrid-infinispan2 has only a single MBean under itself, and that is the new endpoint.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mgencur Martin Gencur
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: