[ 
https://issues.apache.org/jira/browse/AMQ-3287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Liguori updated AMQ-3287:
--------------------------------

    Description: 
When I use the services element in my slave config (note that I do not use the 
auth attributes) during a busy pubsub test, the failover hangs:

 <services>
    <masterConnector remoteURI= "tcp://192.168.10.99:61616" />
 </services>

Note that the master broker hangs when I perform a Ctrl-C.  This is the message 
that is seen:

INFO | The connection to '/192.168.10.95:7676' is taking a long time to 
shutdown.

A screenshot is attached.

Note: The broker does not hang on failover with the same config and *without* 
my test being ran.

Also note that when I define the master in my broker element and kill the 
broker with Ctrl-C, everything works find:

<broker xmlns="http://activemq.apache.org/schema/core"; brokerName="testSlave" 
masterConnectorURI="tcp://192.168.10.95:61616" 
dataDirectory="${activemq.base}/data" shutdownOnMasterFailure="false" 
deleteAllMessagesOnStartup="true">


  was:
When I use the services element in my slave config (note that I do not use the 
auth attributes) during a busy pubsub test, the failover hangs:

 <services>
    <masterConnector remoteURI= "tcp://192.168.10.99:61616" />
 </services>

Note that the master broker hangs when I perform a Ctrl-C.  This is the message 
that is seen:

INFO | The connection to '/192.168.10.95:7676' is taking a long time to 
shutdown.

A screenshot is attached.

Note: The broker does not hang on failover with the same config and *without* 
my test being ran.


> Failover hangs during pubsub test and slave config with services element
> ------------------------------------------------------------------------
>
>                 Key: AMQ-3287
>                 URL: https://issues.apache.org/jira/browse/AMQ-3287
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.4.2
>         Environment: Operating System = Windows XP version 5.1 running on x86
> Java; VM; Vendor = 1.6.0_23
> Runtime = Java HotSpot(TM) Client VM 19.0-b09
>            Reporter: Robert Liguori
>            Priority: Minor
>         Attachments: image.JPG
>
>
> When I use the services element in my slave config (note that I do not use 
> the auth attributes) during a busy pubsub test, the failover hangs:
>  <services>
>     <masterConnector remoteURI= "tcp://192.168.10.99:61616" />
>  </services>
> Note that the master broker hangs when I perform a Ctrl-C.  This is the 
> message that is seen:
> INFO | The connection to '/192.168.10.95:7676' is taking a long time to 
> shutdown.
> A screenshot is attached.
> Note: The broker does not hang on failover with the same config and *without* 
> my test being ran.
> Also note that when I define the master in my broker element and kill the 
> broker with Ctrl-C, everything works find:
> <broker xmlns="http://activemq.apache.org/schema/core"; brokerName="testSlave" 
> masterConnectorURI="tcp://192.168.10.95:61616" 
> dataDirectory="${activemq.base}/data" shutdownOnMasterFailure="false" 
> deleteAllMessagesOnStartup="true">

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to