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

Default configuration raises an exception at shutdown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.9.0
    • Component/s: Broker
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: