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

Endpoints registered via CLI have wrong JMX name

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 8.2.0.CR1
    • CLI, Memcached, Server
    • None

      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.

              Unassigned Unassigned
              mgencur Martin Gencur
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: