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

Spring JIRA | Venkatesh Sivaraj | 6 years ago
  1. 0

    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

    Spring JIRA | 6 years ago | Venkatesh Sivaraj
    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
  2. 0

    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

    Spring JIRA | 6 years ago | Venkatesh Sivaraj
    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
  3. 0

    Re: ERROR Geronimo 2.2: Server startup fails when ActiveMQ transportConnector URI contains optional parameters

    geronimo-user | 6 years ago | Ivan
    java.lang.AssertionError: javax.management.MalformedObjectNameException: Invalid character `=' in value
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Inspired by Actual Events: Spring, JMX, RMI, and depends-on

    blogspot.com | 6 months ago
    javax.management.MalformedObjectNameException: Key properties cannot be empty
  6. 0

    QuickFIX/J Jira

    quickfixj.org | 6 months ago
    javax.management.MalformedObjectNameException: key `qualifier' already defined

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.management.MalformedObjectNameException

      Invalid character `:' in value

      at javax.management.ObjectName.parseValue()
    2. Java RT
      ObjectName.getInstance
      1. javax.management.ObjectName.parseValue(ObjectName.java:958)
      2. javax.management.ObjectName.checkValue(ObjectName.java:990)
      3. javax.management.ObjectName.construct(ObjectName.java:709)
      4. javax.management.ObjectName.<init>(ObjectName.java:1446)
      5. javax.management.ObjectName.getInstance(ObjectName.java:1346)
      5 frames
    3. Spring Context
      MBeanExporter.registerBeanNameOrInstance
      1. org.springframework.jmx.support.ObjectNameManager.getInstance(ObjectNameManager.java:95)
      2. org.springframework.jmx.export.naming.MetadataNamingStrategy.getObjectName(MetadataNamingStrategy.java:128)
      3. org.springframework.jmx.export.MBeanExporter.getObjectName(MBeanExporter.java:728)
      4. org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:631)
      5. org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:598)
      6. org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:602)
      6 frames
    4. org.springframework.batch
      BatchMBeanExporter.start
      1. org.springframework.batch.admin.jmx.BatchMBeanExporter.registerSteps(BatchMBeanExporter.java:125)
      2. org.springframework.batch.admin.jmx.BatchMBeanExporter.doStart(BatchMBeanExporter.java:281)
      3. org.springframework.batch.admin.jmx.BatchMBeanExporter.start(BatchMBeanExporter.java:234)
      3 frames
    5. Spring Context
      DefaultLifecycleProcessor.doStart
      1. org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:166)
      1 frame