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.

              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: