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

drain.sh script tail of artemis log fails after artemis-service start

XMLWordPrintable

      Configuring S2I run to start
      Custom Configuration file 'BROKER_XML' is disabled
      Custom Configuration file 'LOGGING_PROPERTIES' is disabled
      Starting artemis-service
      id: cannot find name for user ID 1000450000
      artemis-service is now running (227)
      tail: cannot open 'broker/log/artemis.log' for reading: No such file or directory
      tail: no files remaining
      Drain completed!
      

      The drain.sh script looks like

      #start the broker and issue the scaledown command to drain the messages.
      ${instanceDir}/bin/artemis-service start
      tail -n 100 -f broker/log/artemis.log &
      waitForJolokia
      

      We assume the artemis-service start succeeds, and immediately tail the log file which according the the above has the potential to not exist.

              rhn-support-rkieley Roderick Kieley
              rhn-support-rkieley Roderick Kieley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: