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

start/control-script is not suitable for professional environments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.3.0
    • NEEDS_REVIEW
    • Broker
    • None
    • Patch Available
    • Regression

    Description

      The start-scripts "activemq" and "activemq-admin" do not seem to be ready for production use.

      Reasons:

      • Server does not run in background
        => this can be done by redirecting output to a file and run in background
        => in my opinion this should be implemented directly in java
        => the console log should be written by log4j to <install-root>/data/console.log
      • The process should be started on a non-root user
        => use 'su -c "$COMMAND" - $RUN_AS_USER'
        => this should be defined in /etc/activemq.conf
      • The script should support a "reload" feature to reload the configurartion
        (if activemq supports reloading)
      • The script should support a "status" option
        => this should show a quick overview about the state of activemq
        => this should return a value != 0 if the service is not working
        (this is important for cluster integration)

      Does anybody already working on these items?
      Do you have suggestions for a implementation?

      Attachments

        1. activemq
          18 kB
          Marc Schöchlin
        2. usage-example.txt
          26 kB
          Marc Schöchlin

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              scoopex Marc Schöchlin
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: