Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-522

Broker running on windows write problems with remove temp files when shutting down

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • AMQ 7.4.2.GA
    • A-MQ 7.0.0.ER15, AMQ 7.4.0.GA, AMQ 7.2.3.GA
    • None
    • Release Notes
    • +
    • Previously, the broker did not successfully clean up temporary files when it shut down on Windows. This issue caused the shutdown process to be slow. In addition, temporary files not deleted by the broker accumulated over time. This issue is now resolved.
    • Documented as Resolved Issue
    • Verified in a release
    • Hide

      Download jboss-amq7-er15
      Unzip and create new instance
      Run broker as process
      Stop broker with Ctrl+c

      Show
      Download jboss-amq7-er15 Unzip and create new instance Run broker as process Stop broker with Ctrl+c

    Description

      When broker shutting down on windows it prints problems with removing temp files and shutting down is slow.

      Administrator@WIN-L18FEL07ESB C:\A-MQ7-7.0.0.ER15\amq-broker
      $ bin\artemis.cmd run
        ____          _   _   _       _        _         __  __  ___  _____
       |  _ \ ___  __| | | | | | __ _| |_     / \       |  \/  |/ _ \|___  |
       | |_) / _ \/ _` | | |_| |/ _` | __|   / _ \ _____| |\/| | | | |  / /
       |  _ <  __/ (_| | |  _  | (_| | |_   / ___ \_____| |  | | |_| | / /
       |_| \_\___|\__,_| |_| |_|\__,_|\__| /_/   \_\    |_|  |_|\__\_\/_/
      
       Red Hat A-MQ7 7.0.0.ER15
      
      
      13:53:34,667 INFO  [org.apache.activemq.artemis.integration.bootstrap] AMQ101000: Starting ActiveMQ Artemis Server
      13:53:34,698 INFO  [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=./data/journal,bindingsDirectory=./data/bindings,largeMessagesDirectory=./data/large-messages,pagingDirectory=./data/paging)
      13:53:34,764 INFO  [org.apache.activemq.artemis.core.server] AMQ221013: Using NIO Journal
      13:53:34,873 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE
      13:53:34,877 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP
      13:53:34,881 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ
      13:53:34,888 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol support for: MQTT
      13:53:34,894 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding protocol support for: OPENWIRE
      13:53:34,897 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP
      13:53:35,707 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue DLQ
      13:53:35,723 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue ExpiryQueue
      13:53:36,367 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at 0.0.0.0:61616 for protocols [CORE,MQTT,AMQP,STOMP,HORNETQ,OPENWIRE]
      13:53:36,374 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at 0.0.0.0:5445 for protocols [HORNETQ,STOMP]
      13:53:36,381 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at 0.0.0.0:5672 for protocols [AMQP]
      13:53:36,388 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at 0.0.0.0:1883 for protocols [MQTT]
      13:53:36,394 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at 0.0.0.0:61613 for protocols [STOMP]
      13:53:36,395 INFO  [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
      13:53:36,395 INFO  [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.5.1.amq-700002 [0.0.0.0, nodeID=1b42bfa3-dcfb-11e6-bcd6-5254009be782]
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      INFO  | main | Initialized artemis-plugin plugin
      INFO  | main | Initialized dispatch-hawtio-console plugin
      13:53:46,937 INFO  [org.apache.activemq.artemis] AMQ241001: HTTP Server started at http://localhost:8161
      13:53:46,938 INFO  [org.apache.activemq.artemis] AMQ241002: Artemis Jolokia REST API available at http://localhost:8161/jolokia
      INFO  | shutdown-hook | Destroyed dispatch-hawtio-console plugin
      INFO  | shutdown-hook | Destroyed artemis-plugin plugin
      13:54:02,665 WARN  [org.apache.activemq.artemis] AMQ244003: Temporary file not deleted on shutdown: C:\A-MQ7-7.0.0.ER15\amq-broker\tmp\jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-757453719231734487.dir
      13:54:13,452 WARN  [org.apache.activemq.artemis] AMQ244003: Temporary file not deleted on shutdown: C:\A-MQ7-7.0.0.ER15\amq-broker\tmp\jetty-localhost-8161-jolokia-war-1.3.5.war-_jolokia-any-4240310234015024021.dir
      13:54:24,235 WARN  [org.apache.activemq.artemis] AMQ244003: Temporary file not deleted on shutdown: C:\A-MQ7-7.0.0.ER15\amq-broker\tmp\jetty-localhost-8161-hawtio-web.war-_hawtio-any-2607091084306595069.dir
      13:54:35,022 WARN  [org.apache.activemq.artemis] AMQ244003: Temporary file not deleted on shutdown: C:\A-MQ7-7.0.0.ER15\amq-broker\tmp\jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-8290203568816402174.dir
      13:54:45,801 WARN  [org.apache.activemq.artemis] AMQ244003: Temporary file not deleted on shutdown: C:\A-MQ7-7.0.0.ER15\amq-broker\tmp\jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-6271147955331861445.dir
      13:54:45,802 INFO  [org.apache.activemq.artemis.core.server] AMQ221002: Apache ActiveMQ Artemis Message Broker version 1.5.1.amq-700002 [1b42bfa3-dcfb-11e6-bcd6-5254009be782] stopped, uptime 1 minute
      Terminate batch job (Y/N)? y
      

      Attachments

        Issue Links

          Activity

            People

              gaohoward Howard Gao
              dkornel@redhat.com David Kornel
              Mikhail Krutov Mikhail Krutov
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: