activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy Allard (JIRA)" <>
Subject [jira] [Commented] (APLO-73) Service does not stop, Control-C in console does not work
Date Thu, 18 Aug 2011 02:27:27 GMT


Guy Allard commented on APLO-73:

Hiram - Thanks.  We seem to be part of the way there.

Info: My keyboard etc. is US standard. All local US setup.  I am in Orlando, not far from
where you are I think.

I confirm that this build:


Operates as you say above regarding use from the console only.  However .....

There remains a problem with 'stop' when running a broker from this build as a daemon.  And
I confess I am a bit confused.

My setup, start and stop in /etc/init.d is:

[gmallard@tjjackson init.d]$ sudo ln -s /home/apollo/mybroker-snap/bin/apollo-broker-service
[gmallard@tjjackson init.d]$ ls -l apollo-broker-service lrwxrwxrwx 1 root root 52 2011-08-17
22:14 apollo-broker-service -> /home/apollo/mybroker-snap/bin/apollo-broker-service
[gmallard@tjjackson init.d]$ sudo /etc/init.d/apollo-broker-service start
Starting apollo-broker-service
apollo-broker-service is now running (356)
[gmallard@tjjackson init.d]$ sudo /etc/init.d/apollo-broker-service stop
Gracefully Stopping apollo-broker-service
Could not stop process 356
[gmallard@tjjackson init.d]$ ps -ef | grep mybroker
root       356     1  0 22:15 pts/1    00:00:00 sudo -n -u apollo nohup /home/apollo/mybroker-snap/bin/apollo-broker
apollo     358   356  6 22:15 pts/1    00:00:05 apollo -server -Xmx1G
-Dapollo.home=/home/apollo/apache-apollo-1.0-beta4 -Dapollo.base=/home/apollo/mybroker-snap
-classpath /home/apollo/apache-apollo-1.0-beta4/lib/apollo-boot.jar org.apache.activemq.apollo.boot.Boot
/home/apollo/mybroker-snap/lib:/home/apollo/apache-apollo-1.0-beta4/lib org.apache.activemq.apollo.cli.Apollo

Where does that ".....beta4" class path come from.  That directory currently does not exist
on this machine (it did at one time, but not currently).

> Service does not stop, Control-C in console does not work
> ---------------------------------------------------------
>                 Key: APLO-73
>                 URL:
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-broker
>    Affects Versions: 1.0-beta3, 1.0-beta4
>         Environment: Ubuntu 11.04
> Both beta 3 and beta4 installed from binaries.
> Running as a normal user (not root).
>            Reporter: Guy Allard
>            Assignee: Hiram Chirino
>             Fix For: 1.0-beta5
> Have been running beta2, and decided to upgrade this morning.  I started with beta4.
> 1) When a broker is run from the command line, control-c fails to stop the broker
> 2) When a broker is run as a service from /etc/init.d the 'stop' command fails with 'Could
not stop process ####'.
> In both cases, only 'kill -9' has an effect.
> apollo.log repeatedly shows messages like:
> 2011-08-14 10:57:45,951 | INFO  | stopping config monitor is taking a long time (31 seconds).
Waiting on stop org.apache.activemq.apollo.util.FileMonitor@6c533246 | org.apache.activemq.apollo.util.LoggingTracker
| hawtdispatch-DEFAULT-1
> Same behavior with beta3.
> Brokers are running with minimal configuration changes:
> a) Disable authentication
> b) Connector port number changes
> c) log4j tweaks

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message