ActiveMQ
  1. ActiveMQ
  2. AMQ-2453

start/control-script is not suitable for professional environments

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.0
    • Fix Version/s: NEEDS_REVIEW
    • Component/s: Broker
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Regression:
      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?

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

        Issue Links

          Activity

          Marc Schöchlin made changes -
          Link This issue relates to AMQ-5378 [ AMQ-5378 ]
          Timothy Bish made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Timothy Bish made changes -
          Fix Version/s NEEDS_REVIEWED [ 12315630 ]
          Fix Version/s 5.7.0 [ 12321258 ]
          Marc Schöchlin made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Timothy Bish made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Assignee Dejan Bosanac [ dejanb ] Timothy Bish [ tabish121 ]
          Fix Version/s 5.7.0 [ 12321258 ]
          Fix Version/s 5.4.0 [ 12315623 ]
          Fix Version/s 5.4.2 [ 12315625 ]
          Resolution Fixed [ 1 ]
          Marc Schöchlin made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Regression Regression [ 10091 ]
          Thomas Koch made changes -
          Link This issue is related to HADOOP-7092 [ HADOOP-7092 ]
          Jeff Turner made changes -
          Project Import Fri Nov 26 22:32:02 EST 2010 [ 1290828722158 ]
          Dejan Bosanac made changes -
          Fix Version/s 5.5.0 [ 12344 ]
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Marc Schöchlin made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Dejan Bosanac made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Rob Davies made changes -
          Assignee Rob Davies [ rajdavies ] Dejan Bosanac [ dejanb ]
          Rob Davies made changes -
          Assignee Rob Davies [ rajdavies ]
          Fix Version/s 5.4.0 [ 12110 ]
          Marc Schöchlin made changes -
          Patch Info [Patch Available]
          Marc Schöchlin made changes -
          Attachment activemq [ 18622 ]
          Marc Schöchlin made changes -
          Attachment activemq [ 18634 ]
          Marc Schöchlin made changes -
          Attachment activemq [ 18652 ]
          Marc Schöchlin made changes -
          Attachment activemq [ 18703 ]
          Marc Schöchlin made changes -
          Attachment activemq [ 18652 ]
          Marc Schöchlin made changes -
          Attachment activemq [ 18634 ]
          Marc Schöchlin made changes -
          Field Original Value New Value
          Attachment usage-example.txt [ 18623 ]
          Attachment activemq [ 18622 ]
          Marc Schöchlin created issue -

            People

            • Assignee:
              Timothy Bish
              Reporter:
              Marc Schöchlin
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development