org.springframework.jmx.export.UnableToRegisterMBeanException: 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

GitHub | wcrowell | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Setting spring.jmx.default-domain To Unique Values For cas-server-webapp and cas-management-webapp For CAS 5

    GitHub | 8 months ago | wcrowell
    org.springframework.jmx.export.UnableToRegisterMBeanException: 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
  2. 0

    [cas-user] Suggestion: Setting spring.jmx.default-domain To Unique Values For cas-server-webapp and cas-management-webapp For CAS 5

    Google Groups | 8 months ago | William
    org.springframework.jmx.export.UnableToRegisterMBeanException: 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

    Root Cause Analysis

    1. org.springframework.jmx.export.UnableToRegisterMBeanException

      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

      at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance()
    2. Spring Context
      MBeanExporter.registerBeans
      1. org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:625)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2. org.springframework.jmx.export.MBeanExporter.registerBeans(MBeanExporter.java:550)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2 frames