activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Yaussy (JIRA)" <>
Subject [jira] Updated: (AMQ-957) Problem with Broker shutdown in 4.0.2
Date Fri, 06 Oct 2006 17:28:09 GMT
     [ ]

Kevin Yaussy updated AMQ-957:

    Attachment: DemandForwardingBridgeSupport.patch

> Problem with Broker shutdown in 4.0.2
> -------------------------------------
>                 Key: AMQ-957
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 4.0.2
>            Reporter: Kevin Yaussy
>         Attachments: DemandForwardingBridgeSupport.patch
> When running a network of brokers, the first broker shutdown (kill) works.  Subsequent
brokers hang after the kill.  Pasted are the significant threads from kill-3 (after the initial
> "ActiveMQ ShutdownHook" prio=10 tid=0x008ee098 nid=0x66 in Object.wait() [0x8e11f000..0x8e11f9f0]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0x99d61140> (a java.lang.Object)
>         at org.apache.activemq.transport.failover.FailoverTransport.oneway(
>         - locked <0x99d61140> (a java.lang.Object)
>         at org.apache.activemq.transport.MutexTransport.oneway(
>         - locked <0x99d611c8> (a java.lang.Object)
>         at org.apache.activemq.transport.ResponseCorrelator.oneway(
>         at
>         at
>         at org.apache.activemq.util.ServiceSupport.stop(
>         at org.apache.activemq.util.ServiceStopper.stop(
>         at
>         at
>         at$
> I think this goes into DemandForwardingBridgeSupport::stop.  I fixed an issue (submitted
in another issue report, I believe) in 4.0.1 for the same thing.  I believe the problem is
that the code is expecting to send a message to a broker when it wants to stop the network
bridge.  This is problematic, since the broker may be gone.  There could be any of a number
of problems going on in the network, and trying to send a message first before closing out
the network bridge will only sometimes work.
> I can submit a patch for this.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message