[
https://issues.apache.org/jira/browse/AMQ-5503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263839#comment-14263839
]
ASF GitHub Bot commented on AMQ-5503:
-------------------------------------
GitHub user scoopex opened a pull request:
https://github.com/apache/activemq/pull/55
AMQ-5503 - Make init script more reliable
see https://issues.apache.org/jira/browse/AMQ-5503
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/breuninger-ecom/activemq trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq/pull/55.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #55
----
commit 27f5158d18ad919738fc3a495aa8c001a31f32f9
Author: Marc Schoechlin <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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
broker.
In >98% of all cases this script controls local instances - we should
help the common user!
commit 0dab364bc3cf24ac945faefd55067b8714140021
Author: Marc Schoechlin <[email protected]>
Date: 2015-01-04T11:59:31Z
provide the real exitcodes
provide the exitcode of the task to the user
commit 8bda99973c62e7eec41d5fef377875b581165975
Author: Marc Schoechlin <[email protected]>
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).
----
> Make init script more reliable
> ------------------------------
>
> Key: AMQ-5503
> URL: https://issues.apache.org/jira/browse/AMQ-5503
> 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
(v6.3.4#6332)