java.lang.IllegalStateException: AMX MBean not yet available: amx-support:type=amx-loader,name=startup

Oracle Community | russbach | 4 years 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

    IllegalStateException on shutdown for AMX MBean | Java.net

    java.net | 1 year ago
    java.lang.IllegalStateException: AMX MBean not yet available: amx-support:type=amx-loader,name=startup
  2. 0

    IllegalStateException on shutdown for AMX MBean

    Oracle Community | 4 years ago | russbach
    java.lang.IllegalStateException: AMX MBean not yet available: amx-support:type=amx-loader,name=startup

    Root Cause Analysis

    1. java.lang.IllegalStateException

      AMX MBean not yet available: amx-support:type=amx-loader,name=startup

      at org.glassfish.admin.mbeanserver.BootAMX.bootAMX()
    2. MBeanServer
      AdminAuthorizedMBeanServer$Handler.invoke
      1. org.glassfish.admin.mbeanserver.BootAMX.bootAMX(BootAMX.java:157)
      2. org.glassfish.admin.mbeanserver.AdminAuthorizedMBeanServer$Handler.amxDomain(AdminAuthorizedMBeanServer.java:154)
      3. org.glassfish.admin.mbeanserver.AdminAuthorizedMBeanServer$Handler.isAMX(AdminAuthorizedMBeanServer.java:149)
      4. org.glassfish.admin.mbeanserver.AdminAuthorizedMBeanServer$Handler.isAMX(AdminAuthorizedMBeanServer.java:142)
      5. org.glassfish.admin.mbeanserver.AdminAuthorizedMBeanServer$Handler.isAllowed(AdminAuthorizedMBeanServer.java:136)
      6. org.glassfish.admin.mbeanserver.AdminAuthorizedMBeanServer$Handler.invoke(AdminAuthorizedMBeanServer.java:101)
      6 frames
    3. Unknown
      $Proxy188.unregisterMBean
      1. $Proxy188.unregisterMBean(Unknown Source)
      1 frame
    4. MBeanServer
      JMXStartupService$ShutdownListener.event
      1. org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.shutdown(JMXStartupService.java:239)
      2. org.glassfish.admin.mbeanserver.JMXStartupService.shutdown(JMXStartupService.java:160)
      3. org.glassfish.admin.mbeanserver.JMXStartupService.access$000(JMXStartupService.java:94)
      4. org.glassfish.admin.mbeanserver.JMXStartupService$ShutdownListener.event(JMXStartupService.java:128)
      4 frames
    5. Kernel Classes
      AppServerStartup.stop
      1. org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)
      2. com.sun.enterprise.v3.server.AppServerStartup.stop(AppServerStartup.java:439)
      2 frames
    6. Appserver Core
      GlassFishDecorator.stop
      1. com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.stop(GlassFishImpl.java:88)
      2. com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.stop(GlassFishDecorator.java:68)
      2 frames
    7. Kernel Classes
      StopServer.doExecute
      1. com.sun.enterprise.v3.admin.StopServer.doExecute(StopServer.java:70)
      1 frame
    8. Cluster Admin
      StopInstanceInstanceCommand.execute
      1. com.sun.enterprise.v3.admin.cluster.StopInstanceInstanceCommand.execute(StopInstanceInstanceCommand.java:94)
      1 frame
    9. Kernel Classes
      CommandRunnerImpl$2.run
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl$2.run(CommandRunnerImpl.java:377)
      2 frames