activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder (JIRA)" <>
Subject [jira] Resolved: (AMQ-957) Problem with Broker shutdown in 4.0.2
Date Wed, 27 Aug 2008 14:09:52 GMT


Bruce Snyder resolved AMQ-957.

    Resolution: Cannot Reproduce

Unable to reproduce with 5.1.0. 

> 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
>             Fix For: 5.2.0
>         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.
You can reply to this email to add a comment to the issue online.

View raw message