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

Endpoints registered via CLI have wrong JMX name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 8.2.0.CR1
    • CLI, Memcached, Server
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: