java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • junit4 test fail stacktrace
    via by baboonworksgood,
  • Embeddable Glassfish 3.1 problem
    via by luca_fpe,
    • java.lang.RuntimeException: org.glassfish.embeddable.GlassFishException: java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx at org.glassfish.api.embedded.Server.<init>(Server.java:289) at org.glassfish.api.embedded.Server.<init>(Server.java:66) at org.glassfish.api.embedded.Server$Builder.build(Server.java:176) at org.glassfish.api.embedded.Server$Builder.build(Server.java:158) at org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:174) 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 t.HolaTest.testHola(HolaTest.java:46) Caused by: org.glassfish.embeddable.GlassFishException: java.lang.IllegalStateException: AMX Booter MBean is already registered: amx-support:type=boot-amx at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:82) at org.glassfish.api.embedded.Server.<init>(Server.java:272) 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.AbstractWombImpl.inject(AbstractWombImpl.java:128) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:88) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:79) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:64) at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:136) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:73) 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:78) at javax.ejb.embeddable.EJBContainer.reportError(EJBContainer.java:216) at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:146) at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102) at t.HolaTest.testHola(HolaTest.java:46)
    No Bugmate found.