java.lang.RuntimeException

java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx

Solutions on the web7939

  • java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx
  • via Oracle Community by baboonworksgood, 11 months ago
    java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx
  • org.glassfish.embeddable.GlassFishException: java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx
  • Stack trace

    • java.lang.RuntimeException: java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx at org.glassfish.internal.embedded.Server.<init>(Server.java:290) at org.glassfish.internal.embedded.Server.<init>(Server.java:66) at org.glassfish.internal.embedded.Server$Builder.build(Server.java:176) at org.glassfish.internal.embedded.Server$Builder.build(Server.java:158) at org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175) at org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126) at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127) at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102) at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47) Caused by: java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx at org.glassfish.admin.mbeanserver.BootAMX.<init>(BootAMX.java:88) at org.glassfish.admin.mbeanserver.BootAMX.create(BootAMX.java:103) at org.glassfish.admin.mbeanserver.JMXStartupService.postConstruct(JMXStartupService.java:121) at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131) at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91) at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67) at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76) at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:326) at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135) at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79) at org.glassfish.internal.embedded.Server.<init>(Server.java:273) at javax.ejb.embeddable.EJBContainer.reportError(EJBContainer.java:216) at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:146) ... 2 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.