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

Stack Overflow | StFS | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

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

    GitHub comment 114#242338166

    GitHub | 8 months ago | gquintana
    javax.management.InstanceAlreadyExistsException: kafka.consumer:type=app-info,id=logstash
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 227#163426201

    GitHub | 1 year ago | TabberGit
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springApplicationAdminRegistrar' defined in class path resource [org/springframework/boot/autoconfigure/admin/SpringApplicationAdminJmxAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.management.InstanceAlreadyExistsException: org.springframework.boot:type=Admin,name=SpringApplication
  6. 0

    Developer tools: problems reloading context

    GitHub | 2 years ago | dsyer
    java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException

  1. Handemelindo 6408 times, last 4 weeks ago
  2. batwalrus76 31 times, last 3 months ago
  3. kjhdofjosvs 3 times, last 5 months ago
  4. tvrmsmith 2 times, last 6 months ago
  5. davidvanlaatum 54 times, last 7 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