You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "John Coe (JIRA)" <ji...@apache.org> on 2008/03/06 20:10:35 UTC

[jira] Created: (AMQCPP-171) futureResponse error when on a slow connection

futureResponse error when on a slow connection
----------------------------------------------

                 Key: AMQCPP-171
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-171
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Other C++ Clients
         Environment: fedora c++ client
            Reporter: John Coe
            Assignee: Nathan Mittler


I am supporting an application that uses ActiveMQ, it is working fine, but we have now deployed it to a site that is using satellite communication. we now get a futureResponse error when we try to connect, I have seen other post that show this error when the systems are very busy. any suggestions ???
2008-03-06 04:03:04 INFO:[ActiveMQProcessor]tcp://db1.prod1.nakika.tv:61616 ActiveMQProcessor send exception: response from futureResponse was invalid
	FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 146
	FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 153
	FILE: activemq/connector/openwire/OpenWireFormatNegotiator.cpp, LINE: 105
	FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 1454
	FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 924
	FILE: activemq/core/ActiveMQSession.cpp, LINE: 675
	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 194
	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 149
	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 108

2008-03-06 04:03:04 INFO:[TransmissionLayerManager]TransmissionLayerManager changes

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-171) futureResponse error when on a slow connection

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41575#action_41575 ] 

Timothy Bish commented on AMQCPP-171:
-------------------------------------

See the configuration page for details. 
http://activemq.apache.org/cms/configuring.html

you just need to set the property
transport.ResponseCorrelator.maxResponseWaitTime

to something that allows you client to not time out on such a slow connection.



> futureResponse error when on a slow connection
> ----------------------------------------------
>
>                 Key: AMQCPP-171
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-171
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Other C++ Clients
>         Environment: fedora c++ client
>            Reporter: John Coe
>            Assignee: Nathan Mittler
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> I am supporting an application that uses ActiveMQ, it is working fine, but we have now deployed it to a site that is using satellite communication. we now get a futureResponse error when we try to connect, I have seen other post that show this error when the systems are very busy. any suggestions ???
> 2008-03-06 04:03:04 INFO:[ActiveMQProcessor]tcp://db1.prod1.nakika.tv:61616 ActiveMQProcessor send exception: response from futureResponse was invalid
> 	FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 146
> 	FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 153
> 	FILE: activemq/connector/openwire/OpenWireFormatNegotiator.cpp, LINE: 105
> 	FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 1454
> 	FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 924
> 	FILE: activemq/core/ActiveMQSession.cpp, LINE: 675
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 194
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 149
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 108
> 2008-03-06 04:03:04 INFO:[TransmissionLayerManager]TransmissionLayerManager changes

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (AMQCPP-171) futureResponse error when on a slow connection

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

Timothy Bish closed AMQCPP-171.
-------------------------------

    Resolution: Won't Fix

Non-issue.  Configuration related

> futureResponse error when on a slow connection
> ----------------------------------------------
>
>                 Key: AMQCPP-171
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-171
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Other C++ Clients
>         Environment: fedora c++ client
>            Reporter: John Coe
>            Assignee: Nathan Mittler
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> I am supporting an application that uses ActiveMQ, it is working fine, but we have now deployed it to a site that is using satellite communication. we now get a futureResponse error when we try to connect, I have seen other post that show this error when the systems are very busy. any suggestions ???
> 2008-03-06 04:03:04 INFO:[ActiveMQProcessor]tcp://db1.prod1.nakika.tv:61616 ActiveMQProcessor send exception: response from futureResponse was invalid
> 	FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 146
> 	FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 153
> 	FILE: activemq/connector/openwire/OpenWireFormatNegotiator.cpp, LINE: 105
> 	FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 1454
> 	FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 924
> 	FILE: activemq/core/ActiveMQSession.cpp, LINE: 675
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 194
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 149
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 108
> 2008-03-06 04:03:04 INFO:[TransmissionLayerManager]TransmissionLayerManager changes

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-171) futureResponse error when on a slow connection

Posted by "John Coe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41578#action_41578 ] 

John Coe commented on AMQCPP-171:
---------------------------------

Thank you, thank you, thank you

with a setting of 15000 we still get some failures, but it looks like that may be partly because we where tailing the log file at the same time as the failures.

We do have a recovery process, so that may not be a big issue.

    What do you think is the maximum value I would want to use ??

and again Thank you for your quick reply !!



> futureResponse error when on a slow connection
> ----------------------------------------------
>
>                 Key: AMQCPP-171
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-171
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Other C++ Clients
>         Environment: fedora c++ client
>            Reporter: John Coe
>            Assignee: Nathan Mittler
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> I am supporting an application that uses ActiveMQ, it is working fine, but we have now deployed it to a site that is using satellite communication. we now get a futureResponse error when we try to connect, I have seen other post that show this error when the systems are very busy. any suggestions ???
> 2008-03-06 04:03:04 INFO:[ActiveMQProcessor]tcp://db1.prod1.nakika.tv:61616 ActiveMQProcessor send exception: response from futureResponse was invalid
> 	FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 146
> 	FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 153
> 	FILE: activemq/connector/openwire/OpenWireFormatNegotiator.cpp, LINE: 105
> 	FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 1454
> 	FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 924
> 	FILE: activemq/core/ActiveMQSession.cpp, LINE: 675
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 194
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 149
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 108
> 2008-03-06 04:03:04 INFO:[TransmissionLayerManager]TransmissionLayerManager changes

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-171) futureResponse error when on a slow connection

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41579#action_41579 ] 

Timothy Bish commented on AMQCPP-171:
-------------------------------------

I would look at the connection rate and the loading on the system and then try to find a balance that meets your  particular set of fault tolerance requirements.  A timeout on response could happen for many reasons, so the answer is to set it at such a level that you are able to detect an error versus just a slow connection or machine.

if 15000 doesn't make it stable enough try 20000 i.e. 20 seconds

> futureResponse error when on a slow connection
> ----------------------------------------------
>
>                 Key: AMQCPP-171
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-171
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Other C++ Clients
>         Environment: fedora c++ client
>            Reporter: John Coe
>            Assignee: Nathan Mittler
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> I am supporting an application that uses ActiveMQ, it is working fine, but we have now deployed it to a site that is using satellite communication. we now get a futureResponse error when we try to connect, I have seen other post that show this error when the systems are very busy. any suggestions ???
> 2008-03-06 04:03:04 INFO:[ActiveMQProcessor]tcp://db1.prod1.nakika.tv:61616 ActiveMQProcessor send exception: response from futureResponse was invalid
> 	FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 146
> 	FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 153
> 	FILE: activemq/connector/openwire/OpenWireFormatNegotiator.cpp, LINE: 105
> 	FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 1454
> 	FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 924
> 	FILE: activemq/core/ActiveMQSession.cpp, LINE: 675
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 194
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 149
> 	FILE: activemq/core/ActiveMQProducer.cpp, LINE: 108
> 2008-03-06 04:03:04 INFO:[TransmissionLayerManager]TransmissionLayerManager changes

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.