MalformedObjectNameException during jmx registration if cache name contains unexpected
characters
-------------------------------------------------------------------------------------------------
Key: ISPN-677
URL:
https://jira.jboss.org/browse/ISPN-677
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 4.2.0.ALPHA2
Reporter: Paul Ferraro
Assignee: Manik Surtani
Attachments: patch.txt
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira