You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/09/11 15:11:07 UTC

[jira] [Created] (AMQ-4044) Shutting down AcitveMQ broker started in foreground logs 2 times

Claus Ibsen created AMQ-4044:
--------------------------------

             Summary: 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

[jira] [Assigned] (AMQ-4044) Shutting down AcitveMQ broker started in foreground logs 2 times

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned AMQ-4044:
--------------------------------

    Assignee: Claus Ibsen
    
> 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
>            Assignee: 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

[jira] [Commented] (AMQ-4044) Shutting down AcitveMQ broker started in foreground logs 2 times

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455672#comment-13455672 ] 

Claus Ibsen commented on AMQ-4044:
----------------------------------

Its the same if you do bin/activemq start and then stop it later
{code}
2012-09-14 10:47:53,927 | INFO  | ActiveMQ 5.7-SNAPSHOT JMS Message Broker (localhost, ID:davsclaus.lan-60396-1347612433848-0:1) stopped | org.apache.activemq.broker.BrokerService | Thread-18
2012-09-14 10:47:54,015 | INFO  | Connector openwire Stopped | org.apache.activemq.broker.TransportConnector | ActiveMQ ShutdownHook
2012-09-14 10:47:54,015 | INFO  | ActiveMQ 5.7-SNAPSHOT JMS Message Broker (localhost, ID:davsclaus.lan-60396-1347612433848-0:1) stopped | org.apache.activemq.broker.BrokerService | ActiveMQ ShutdownHook
{code}
                
> 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

[jira] [Commented] (AMQ-4044) Shutting down AcitveMQ broker started in foreground logs 2 times

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Commented] (AMQ-4044) Shutting down AcitveMQ broker started in foreground logs 2 times

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453758#comment-13453758 ] 

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

It looks as though we have multiple shutdown hooks registered, I noticed this the other day when I noticed some of the tests also doing this multiple stopping / shutdown logging.
                
> 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

[jira] [Commented] (AMQ-4044) Shutting down AcitveMQ broker started in foreground logs 2 times

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454721#comment-13454721 ] 

Claus Ibsen commented on AMQ-4044:
----------------------------------

Yeah I had a hunch it was a shutdown hook, kicking in at the same time.
                
> 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

[jira] [Commented] (AMQ-4044) Shutting down AcitveMQ broker started in foreground logs 2 times

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452993#comment-13452993 ] 

Gary Tully commented on AMQ-4044:
---------------------------------

thought: looks like two log4j appenders are in the mix
                
> 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

[jira] [Resolved] (AMQ-4044) Shutting down AcitveMQ broker started in foreground logs 2 times

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved AMQ-4044.
------------------------------

    Resolution: Fixed
    
> 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
>            Assignee: 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