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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Spring JIRA by Venkatesh Sivaraj, 1 year ago
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
via Spring JIRA by Venkatesh Sivaraj, 1 year ago
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
via GitHub by davsclaus
, 2 years ago
Unable to register MBean [org.springframework.boot.actuate.endpoint.jmx.DataEndpointMBean@9af3f7] with key 'healthEndpoint'; nested exception is javax.management.InstanceAlreadyExistsException: org.springframework.boot:type=Endpoint,name=healthEndpoint
via GitHub by wcrowell
, 1 year ago
Unable to register MBean [org.springframework.cloud.context.environment.EnvironmentManager@19480877] with key 'environmentManager'; nested exception is javax.management.InstanceAlreadyExistsException: org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager
via Google Groups by William, 1 year ago
Unable to register MBean [org.springframework.cloud.context.environment.EnvironmentManager@19480877] with key 'environmentManager'; nested exception is javax.management.InstanceAlreadyExistsException: org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager
via GitHub by 7fantasy7
, 2 months ago
Unable to register MBean [HikariDataSource (MyDataSource)] with key 'dataSource'; nested exception is javax.management.InstanceAlreadyExistsException: MXBean already registered with name com.zaxxer.hikari:type=PoolConfig (MyDataSource)
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 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.(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)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.