You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Kaminiecki (JIRA)" <ji...@apache.org> on 2011/01/10 20:26:47 UTC

[jira] Created: (AMQ-3126) Brokes in failover mode not always provides messages

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.


[jira] Updated: (AMQ-3126) Brokes in failover mode not always provides messages

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

Kaminiecki updated AMQ-3126:
----------------------------

    Attachment: wrapper44.133.log
                activemq44.133.log

> 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
>         Attachments: activemq4.40.log, activemq44.133.log, wrapper4.40.log, wrapper44.133.log
>
>
> 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.


[jira] Updated: (AMQ-3126) Brokes in failover mode not always provides messages

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

Kaminiecki updated AMQ-3126:
----------------------------

    Attachment: wrapper4.40.log
                activemq4.40.log

> 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
>         Attachments: activemq4.40.log, activemq44.133.log, wrapper4.40.log, wrapper44.133.log
>
>
> 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.