activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (AMQ-5503) Make init script more reliable
Date Sun, 15 Feb 2015 12:10:11 GMT


ASF GitHub Bot commented on AMQ-5503:

GitHub user scoopex opened a pull request:

    AMQ-5503 - Make init script more reliable

    Unfortunately the merge of this fix was delayed without any communicated reason.
    Therefore i recreate the pull request.

You can merge this pull request into a Git repository by running:

    $ git pull trunk

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #61
commit 27f5158d18ad919738fc3a495aa8c001a31f32f9
Author: Marc Schoechlin <>
Date:   2015-01-04T11:16:25Z

    Memory configuration
    Reduce the default memory minimal overhead of activemq from 1G to 64M to
    ensure that activemq does not revoke to work in small environments.
    If a larger process heap than 64M is needed the jvm grows up to 1GB.

commit 50fd6a90ddaea87a28d1d5d9f749609a299dc1b7
Author: Marc Schoechlin <>
Date:   2015-01-04T11:21:44Z

    minor stabilisation patches
    This commit adds:
    - some quoting of variables to prevent problems with unusual paths
    - sets some default variables to prevent problems
    - adds some function and helptext documentation

commit 42f8ff9ea9d69673964c2e83ad8af8640d095a0a
Author: Marc Schoechlin <>
Date:   2015-01-04T11:41:34Z

    stop behavior
    fix bug caused by a uncomplete change which renames the pidfile for a
    running shutdown task

commit ba3ba30db6e2f80156f67040d243b02ae2fe37bb
Author: Marc Schoechlin <>
Date:   2015-01-04T11:44:07Z

    create a pidfile for a console run
    this adds a pidfile which contains the pid of the running shellscript if
    activemq is run by "console". This prevents problems if someone tries to
    to use i.e. the start/stop options while some is debugging activemq in
    foreground mode.

commit 75034fbfd8538fc3c81d87e98afdfedd32589314
Author: Marc Schoechlin <>
Date:   2015-01-04T11:50:32Z

    check status of running status
    This adds a better output for some tasks if the broker is not running.
    The user gets the information that the broker is currently not running.
    Users are confused if they see a java stacktrace on invoking commands -
    often they do not read error output in detail.
    This change respects that the script can also be used to contact remote
    brokers - if ACTIVEMQ_QUEUEMANAGERURL is defined you get the regular
    stacktrace, because the script cannot know about the state if a remote
    In >98% of all cases this script controls local instances - we should
    help the common user!

commit 0dab364bc3cf24ac945faefd55067b8714140021
Author: Marc Schoechlin <>
Date:   2015-01-04T11:59:31Z

    provide the real exitcodes
    provide the exitcode of the task to the user

commit 8bda99973c62e7eec41d5fef377875b581165975
Author: Marc Schoechlin <>
Date:   2015-01-04T12:00:36Z

    add testsuite
    This commit adds a testsuite which can be used on various unix platforms
    to validate the proper function of the initscript.
    This should be referenced in the documentation to help users to file
    good bug reports (see also AMQ-5448).

commit f3eb80213a2d19095614626249e950e832beb496
Author: Marc Schoechlin <>
Date:   2015-01-07T07:08:36Z

    Merge remote-tracking branch 'upstream/trunk' into trunk

commit e46adb0294e178b1135ec4e267e27f3c91a49ce4
Author: Marc Schoechlin <>
Date:   2015-02-15T12:04:27Z

    Minor improvment


> Make init script more reliable
> ------------------------------
>                 Key: AMQ-5503
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.10.0
>         Environment: Unix/Linux
>            Reporter: Marc Schöchlin
> The Activemq init script received with AMQ-5378 some changes which improve the quality
of the init script. This ticket addresses further improvements.
> - Add a shellscript testsuite to ease the verification of the proper function on various
unix platforms (Linux, MacOS, ...)
> - Make the shellscript code more reliable
> - Improve usability for administrative users

This message was sent by Atlassian JIRA

View raw message