activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-73) Service does not stop, Control-C in console does not work
Date Wed, 17 Aug 2011 15:44:30 GMT

    [ https://issues.apache.org/jira/browse/APLO-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086398#comment-13086398
] 

Hiram Chirino commented on APLO-73:
-----------------------------------

Hi Guy,

I just tested the latest snapshot on Ubuntu 11.04 x64 as follows:

$ tar -zxf ~/Downloads/apache-apollo-1.0-20110817.153140-174-unix-distro.tar.gz
$ ./apache-apollo-1.0-SNAPSHOT/bin/apollo create test1
...
$ ./test1/bin/apollo-broker run

    _____                .__  .__
   /  _  \ ______   ____ |  | |  |   ____
  /  /_\  \\____ \ /  _ \|  | |  |  /  _ \
 /    |    \  |_> >  <_> )  |_|  |_(  <_> )
 \____|__  /   __/ \____/|____/____/\____/
         \/|__|  Apache Apollo (1.0-SNAPSHOT)


Loading configuration file '/home/chirino/opt/test1/etc/apollo.xml'.
INFO  | OS     : Linux 2.6.38-10-generic (Ubuntu 11.04)
INFO  | JVM    : OpenJDK 64-Bit Server VM 1.6.0_22 (Sun Microsystems Inc.)
INFO  | Apollo : 1.0-SNAPSHOT (at: /home/chirino/opt/apache-apollo-1.0-SNAPSHOT)
INFO  | OS is restricting the open file limit to: 4096
WARN  | Please increase the process file limit using 'ulimit -n 4500' or configure lower connection
limits on the broker connectors.
INFO  | Accepting connections at: tls://0.0.0.0:61614
INFO  | Accepting connections at: tcp://0.0.0.0:61613
INFO  | Starting store: jdbm2 store at /home/chirino/opt/test1/data
INFO  | Administration interface available at: https://127.0.0.1:61681/
INFO  | Administration interface available at: http://127.0.0.1:61680/
^CINFO  | Stopped connector at: tls://0.0.0.0:61614
INFO  | Stopped connector at: tcp://0.0.0.0:61613
$

As you can see I pressed CTRL-C and it stopped the broker properly.  Perhaps it's a problem
with the way jline is interpreting your keyboard layout.  You using something different than
a US keyboard layout?

You could also stop the broker by running: kill ${pid}



> Service does not stop, Control-C in console does not work
> ---------------------------------------------------------
>
>                 Key: APLO-73
>                 URL: https://issues.apache.org/jira/browse/APLO-73
>             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: http://www.atlassian.com/software/jira

        

Mime
View raw message