javax.management.InstanceAlreadyExistsException: Tomcat:j2eeType=Servlet,name=gor,WebModule=//localhost/gorserver,J2EEApplication=none,J2EEServer=none

Stack Overflow | StFS | 3 months ago
  1. 0

    Running two Tomcat servers in the same application fails on MBean registration

    Stack Overflow | 3 months ago | StFS
    javax.management.InstanceAlreadyExistsException: Tomcat:j2eeType=Servlet,name=gor,WebModule=//localhost/gorserver,J2EEApplication=none,J2EEServer=none
  2. 0

    Getting exception while refreshing Spring ApplicationContext in Spring Boot application

    Stack Overflow | 2 years ago | user1514499
    org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.springframework.integration.monitor.IntegrationMBeanExporter@16c5464] with key 'integrationMbeanExporter'; nested exception is javax.management.InstanceAlreadyExistsException: org.springframework.integration.monitor:name=integrationMbeanExporter,type=IntegrationMBeanExporter
  3. 0

    Developer tools: problems reloading context

    GitHub | 2 years ago | dsyer
    java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Reloading in tomcat doesn't work due to previously-registered MBeans

    GitHub | 3 years ago | Multilineal
    javax.management.InstanceAlreadyExistsException: com.p6spy.engine.logging:name=P6LogOptions
  6. 0

    register druid-driver mbean error

    GitHub | 2 years ago | 423272190
    javax.management.InstanceAlreadyExistsException: com.alibaba.druid:type=MockDriver

  1. batwalrus76 60 times, last 6 days ago
  2. Handemelindo 1 times, last 3 weeks ago
  3. kjhdofjosvs 3 times, last 7 days ago
  4. tvrmsmith 2 times, last 1 month ago
  5. davidvanlaatum 54 times, last 2 months ago
3 more registered users
21 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.InstanceAlreadyExistsException

    Tomcat:j2eeType=Servlet,name=gor,WebModule=//localhost/gorserver,J2EEApplication=none,J2EEServer=none

    at com.sun.jmx.mbeanserver.Repository.addMBean()
  2. Java RT
    JmxMBeanServer.registerMBean
    1. com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
    2. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
    3. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
    4. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
    5. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
    6. com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
    6 frames
  3. Embedded GlassFish Web
    Registry.registerComponent
    1. org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:742)
    1 frame
  4. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.util.LifecycleMBeanBase.register(LifecycleMBeanBase.java:158)
    2. org.apache.catalina.util.LifecycleMBeanBase.initInternal(LifecycleMBeanBase.java:61)
    3. org.apache.catalina.core.ContainerBase.initInternal(ContainerBase.java:1080)
    4. org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    5. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
    6. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5508)
    7. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    8. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
    9. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
    9 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames