[GitHub] activemq pull request: AMQ-5503 - Make init script more reliable

2015-02-15 Thread scoopex
GitHub user scoopex opened a pull request:

https://github.com/apache/activemq/pull/61

AMQ-5503 - Make init script more reliable

See https://issues.apache.org/jira/browse/AMQ-5503
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 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/61.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 #61


commit 27f5158d18ad919738fc3a495aa8c001a31f32f9
Author: Marc Schoechlin marc.schoech...@breuninger.de
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 marc.schoech...@breuninger.de
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 marc.schoech...@breuninger.de
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 marc.schoech...@breuninger.de
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 marc.schoech...@breuninger.de
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 marc.schoech...@breuninger.de
Date:   2015-01-04T11:59:31Z

provide the real exitcodes

provide the exitcode of the task to the user

commit 8bda99973c62e7eec41d5fef377875b581165975
Author: Marc Schoechlin marc.schoech...@breuninger.de
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 marc.schoech...@breuninger.de
Date:   2015-01-07T07:08:36Z

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

commit e46adb0294e178b1135ec4e267e27f3c91a49ce4
Author: Marc Schoechlin marc.schoech...@breuninger.de
Date:   2015-02-15T12:04:27Z

Minor improvment




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] activemq pull request: AMQ-5503 - Make init script more reliable

2015-02-11 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/activemq/pull/55


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] activemq pull request: AMQ-5503 - Make init script more reliable

2015-01-04 Thread scoopex
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 marc.schoech...@breuninger.de
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 marc.schoech...@breuninger.de
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 marc.schoech...@breuninger.de
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 marc.schoech...@breuninger.de
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 marc.schoech...@breuninger.de
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 marc.schoech...@breuninger.de
Date:   2015-01-04T11:59:31Z

provide the real exitcodes

provide the exitcode of the task to the user

commit 8bda99973c62e7eec41d5fef377875b581165975
Author: Marc Schoechlin marc.schoech...@breuninger.de
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).




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---