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

Timothy Bish commented on AMQ-4044:
-----------------------------------

Threw in a couple quick logs statements: here's who's calling it twice from the 
console.

{noformat}
BrokerService Stop called from thread: Thread[Thread-18,5,main]
java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1273)
        at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:709)
        at 
org.apache.activemq.xbean.XBeanBrokerService.stop(XBeanBrokerService.java:94)
        at 
org.apache.activemq.console.command.StartCommand$1.run(StartCommand.java:138)
 INFO | ActiveMQ 5.7-SNAPSHOT JMS Message Broker (localhost, 
ID:timothy-bishs-macbook-pro.local-64982-1347509296619-0:1) is shutting down
 INFO | BrokerService Stop called from thread: Thread[ActiveMQ 
ShutdownHook,5,main]
java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1273)
        at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:709)
        at 
org.apache.activemq.xbean.XBeanBrokerService.stop(XBeanBrokerService.java:94)
        at 
org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:2300)
        at 
org.apache.activemq.broker.BrokerService$6.run(BrokerService.java:2267)
{noformat}

                
> Shutting down AcitveMQ broker started in foreground logs 2 times
> ----------------------------------------------------------------
>
>                 Key: AMQ-4044
>                 URL: https://issues.apache.org/jira/browse/AMQ-4044
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.6.0
>            Reporter: Claus Ibsen
>             Fix For: 5.7.0
>
>
> Staring AMQ in the foreground
> $bin/activemq console
> {code}
> ^C INFO | ActiveMQ Message Broker (localhost, 
> ID:davsclaus.lan-55150-1347368371679-0:1) is shutting down
>  INFO | ActiveMQ Message Broker (localhost, 
> ID:davsclaus.lan-55150-1347368371679-0:1) is shutting down
>  INFO | Connector openwire Stopped
>  INFO | Connector vm://localhost Stopped
>  INFO | PListStore:[/opt/apache-activemq-5.6.0/data/localhost/tmp_storage ] 
> stopped
>  INFO | Stopping async queue tasks
>  INFO | Stopping async topic tasks
>  INFO | Stopped KahaDB
>  INFO | ActiveMQ JMS Message Broker (localhost, 
> ID:davsclaus.lan-55150-1347368371679-0:1) stopped
>  INFO | Connector openwire Stopped
>  INFO | ActiveMQ JMS Message Broker (localhost, 
> ID:davsclaus.lan-55150-1347368371679-0:1) stopped
> {code}
> Notice it says shutting down 2 times, as well stopping 2 times. We should try 
> to look into this and only issue 1 shutdown/stop.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to