Brokes in failover mode not always provides messages
----------------------------------------------------
Key: AMQ-3126
URL: https://issues.apache.org/jira/browse/AMQ-3126
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.4.2
Environment: centos 5.3
Reporter: Kaminiecki
I have 4 brokers in failover mode. Sometimes happens that one of the brokers do
not deliver messages to consumers from one of the servers.
One of my brokers config:
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:amq="http://activemq.apache.org/schema/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd">
<!-- Allows us to use system properties as variables in this configuration
file -->
<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<value>file:${activemq.base}/conf/credentials.properties</value>
</property>
</bean>
<broker xmlns="http://activemq.apache.org/schema/core"
brokerName="localhost" dataDirectory="${activemq.base}/data"
destroyApplicationContextOnStop="true">
<networkConnectors>
<networkConnector name="test-net"
uri="static:(tcp://192.168.44.133:61616,tcp://192.168.4.61:61616,tcp://192.168.4.62:61616)"/>
</networkConnectors>
<persistenceAdapter>
<kahaDB directory="${activemq.base}/data/kahadb"/>
</persistenceAdapter>
<transportConnectors>
<transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
</transportConnectors>
</broker>
<import resource="jetty.xml"/>
</beans>
I attach the log files.
1. For test I turned off 2 brokers 61 and 62.
2. Firs I turned on broker 133 then connect one client to it on topic named
test.
3. Send one message.
4 Turn one second broker 40.
5. Connect one client to 40 on topic named test.
6. client from 133 send message. BOth client revice message.
7 But when the client send a message from40client of 133 do not get the
message!!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.