Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4748

Default configuration raises an exception at shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.9.0
    • 5.9.0
    • Broker
    • None

    Description

      When using the default configuration, starting with bin/activemq console, at broker shutdown (using CTRL-C), an exception (ERROR) is displayed:

      ERROR: java.lang.IllegalStateException: Shutdown in progress
      java.lang.IllegalStateException: Shutdown in progress
      at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82)
      at java.lang.Runtime.removeShutdownHook(Runtime.java:237)
      at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:119)
      at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
      at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:150)
      at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
      at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
      at org.apache.activemq.console.Main.main(Main.java:115)

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: