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

MalformedObjectNameException during jmx registration if cache name contains unexpected characters

XMLWordPrintable

      Cache names like "jar=clusteredsession-test.jar,name=testIgnoreReplicationStateful,service=EJB3" cause MalformedObjectNameException during jmx registration. In this case, the problematic character is a comma. I would suggest building the object name using ObjectName.quote(...), rather than trying to individually replace all problematic characters in the cache name.

        1. patch.txt
          0.6 kB
          Paul Ferraro

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: