java.lang.RuntimeException: org.glassfish.embeddable.GlassFishException: java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx

netbeans.org | 9 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

    Bug 193351 – Cannot test EJB: (EJBException: No EJBContainer provider available)

    netbeans.org | 9 months ago
    java.lang.RuntimeException: org.glassfish.embeddable.GlassFishException: java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx
  2. 0

    junit4 test fail stacktrace

    Oracle Community | 6 years ago | baboonworksgood
    java.lang.RuntimeException: java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx
  3. 0

    Embeddable Glassfish 3.1 problem

    Oracle Community | 6 years ago | luca_fpe
    java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      AMX Booter MBean is already registered: amx-support:type=boot-amx

      at org.glassfish.admin.mbeanserver.BootAMX.<init>()
    2. MBeanServer
      JMXStartupService.postConstruct
      1. org.glassfish.admin.mbeanserver.BootAMX.<init>(BootAMX.java:88)
      2. org.glassfish.admin.mbeanserver.BootAMX.create(BootAMX.java:103)
      3. org.glassfish.admin.mbeanserver.JMXStartupService.postConstruct(JMXStartupService.java:121)
      3 frames
    3. Inversion of Control / Autodependency mechanism
      AbstractInhabitantImpl.get
      1. com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:128)
      2. com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:88)
      3. com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:79)
      4. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:64)
      5. com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:136)
      6. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:73)
      6 frames
    4. Kernel Classes
      AppServerStartup.start
      1. com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:326)
      2. com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)
      2 frames
    5. Appserver Core
      GlassFishImpl.start
      1. com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:78)
      1 frame
    6. org.glassfish.api
      Server$Builder.build
      1. org.glassfish.api.embedded.Server.<init>(Server.java:272)
      2. org.glassfish.api.embedded.Server.<init>(Server.java:66)
      3. org.glassfish.api.embedded.Server$Builder.build(Server.java:176)
      4. org.glassfish.api.embedded.Server$Builder.build(Server.java:158)
      4 frames
    7. Embedded GlassFish Web
      EJBContainerProviderImpl.createEJBContainer
      1. org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:174)
      2. org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)
      2 frames
    8. JavaEE 7
      EJBContainer.createEJBContainer
      1. javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)
      2. javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
      2 frames
    9. t
      HolaTest.testHola
      1. t.HolaTest.testHola(HolaTest.java:46)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    11. JUnit
      JUnit4TestAdapter.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      7. org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      15. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      16. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      17. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      18. junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
      18 frames
    12. Apache Ant + JUnit
      JUnitTestRunner.main
      1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
      2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
      3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
      3 frames