org.springframework.jmx.export.UnableToRegisterMBeanException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After integrating spring batch admin with an existing web application, on restarting the server after running a job, the context fails to initialize with the following exception org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.springframework.batch.admin.jmx.SimpleStepExecutionMetrics@18b3e62] with key 'spring.application:type=JobExecution,name=analysisJob,step=performAnalysis:partition3'; nested exception is javax.management.MalformedObjectNameException: Invalid character `:' in value at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:602) at org.springframework.batch.admin.jmx.BatchMBeanExporter.registerSteps(BatchMBeanExporter.java:125) at org.springframework.batch.admin.jmx.BatchMBeanExporter.doStart(BatchMBeanExporter.java:281) at org.springframework.batch.admin.jmx.BatchMBeanExporter.start(BatchMBeanExporter.java:234) at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:166) ... 24 more Caused by: javax.management.MalformedObjectNameException: Invalid character `:' in value at javax.management.ObjectName.parseValue(ObjectName.java:958) at javax.management.ObjectName.checkValue(ObjectName.java:990) at javax.management.ObjectName.construct(ObjectName.java:709) at javax.management.ObjectName.<init>(ObjectName.java:1446) at javax.management.ObjectName.getInstance(ObjectName.java:1346) at org.springframework.jmx.support.ObjectNameManager.getInstance(ObjectNameManager.java:95) at org.springframework.jmx.export.naming.MetadataNamingStrategy.getObjectName(MetadataNamingStrategy.java:128) at org.springframework.jmx.export.MBeanExporter.getObjectName(MBeanExporter.java:728) at org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:631) at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:598) ... 28 more Jan 14, 2011 7:11:54 PM org.apache.catalina.core.StandardContext listenerStart
    via by Venkatesh Sivaraj,
  • After integrating spring batch admin with an existing web application, on restarting the server after running a job, the context fails to initialize with the following exception org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.springframework.batch.admin.jmx.SimpleStepExecutionMetrics@18b3e62] with key 'spring.application:type=JobExecution,name=analysisJob,step=performAnalysis:partition3'; nested exception is javax.management.MalformedObjectNameException: Invalid character `:' in value at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:602) at org.springframework.batch.admin.jmx.BatchMBeanExporter.registerSteps(BatchMBeanExporter.java:125) at org.springframework.batch.admin.jmx.BatchMBeanExporter.doStart(BatchMBeanExporter.java:281) at org.springframework.batch.admin.jmx.BatchMBeanExporter.start(BatchMBeanExporter.java:234) at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:166) ... 24 more Caused by: javax.management.MalformedObjectNameException: Invalid character `:' in value at javax.management.ObjectName.parseValue(ObjectName.java:958) at javax.management.ObjectName.checkValue(ObjectName.java:990) at javax.management.ObjectName.construct(ObjectName.java:709) at javax.management.ObjectName.<init>(ObjectName.java:1446) at javax.management.ObjectName.getInstance(ObjectName.java:1346) at org.springframework.jmx.support.ObjectNameManager.getInstance(ObjectNameManager.java:95) at org.springframework.jmx.export.naming.MetadataNamingStrategy.getObjectName(MetadataNamingStrategy.java:128) at org.springframework.jmx.export.MBeanExporter.getObjectName(MBeanExporter.java:728) at org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:631) at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:598) ... 28 more Jan 14, 2011 7:11:54 PM org.apache.catalina.core.StandardContext listenerStart
    via by Venkatesh Sivaraj,
  • QuickFIX/J Jira
    via by Unknown author,
  • Can&#39;t Register MBean via Spring
    via Stack Overflow by Tanvir
    ,
  • Invalid character ':' in value part of property.
    via by Unknown author,
  • Invalid character ':' in value part of property.
    via by Unknown author,
    • org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.springframework.batch.admin.jmx.SimpleStepExecutionMetrics@18b3e62] with key 'spring.application:type=JobExecution,name=analysisJob,step=performAnalysis:partition3'; nested exception is javax.management.MalformedObjectNameException: Invalid character `:' in value at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:602) at org.springframework.batch.admin.jmx.BatchMBeanExporter.registerSteps(BatchMBeanExporter.java:125) at org.springframework.batch.admin.jmx.BatchMBeanExporter.doStart(BatchMBeanExporter.java:281) at org.springframework.batch.admin.jmx.BatchMBeanExporter.start(BatchMBeanExporter.java:234) at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:166) Caused by: javax.management.MalformedObjectNameException: Invalid character `:' in value at javax.management.ObjectName.parseValue(ObjectName.java:958) at javax.management.ObjectName.checkValue(ObjectName.java:990) at javax.management.ObjectName.construct(ObjectName.java:709) at javax.management.ObjectName.<init>(ObjectName.java:1446) at javax.management.ObjectName.getInstance(ObjectName.java:1346) at org.springframework.jmx.support.ObjectNameManager.getInstance(ObjectNameManager.java:95) at org.springframework.jmx.export.naming.MetadataNamingStrategy.getObjectName(MetadataNamingStrategy.java:128) at org.springframework.jmx.export.MBeanExporter.getObjectName(MBeanExporter.java:728) at org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:631) at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:598) ... 5 more

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,