Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 84179 invoked from network); 21 Jul 2007 12:24:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jul 2007 12:24:50 -0000 Received: (qmail 44627 invoked by uid 500); 21 Jul 2007 12:24:52 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 44480 invoked by uid 500); 21 Jul 2007 12:24:51 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 44471 invoked by uid 99); 21 Jul 2007 12:24:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2007 05:24:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2007 05:24:49 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D364A7141F8 for ; Sat, 21 Jul 2007 05:24:28 -0700 (PDT) Message-ID: <25129006.1185020668861.JavaMail.jira@brutus> Date: Sat, 21 Jul 2007 05:24:28 -0700 (PDT) From: "Greg Griffin (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQCPP-137) Exception in ResponseCorrelator::onCommand() In-Reply-To: <30431552.1184902227738.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39732 ] Greg Griffin commented on AMQCPP-137: ------------------------------------- Understood. Then perhaps a clearer exception message than: ResponseCorrelator::onCommand() - received unknown response for request: 179414 response from futureResponse was invalid Maybe "starved consumer, no response from broker" or something like this. > Exception in ResponseCorrelator::onCommand() > --------------------------------------------- > > Key: AMQCPP-137 > URL: https://issues.apache.org/activemq/browse/AMQCPP-137 > Project: ActiveMQ C++ Client > Issue Type: Bug > Components: CMS Impl > Affects Versions: 2.0.1 > Environment: Win XP > Reporter: Greg Griffin > Assignee: Nathan Mittler > Priority: Minor > > EXCEPTION: > ResponseCorrelator::onCommand() - received unknown response for request: 179414 > Exception: writing msg > response from futureResponse was invalid > response from futureResponse was invalid > FILE: ..\src\main\activemq\transport\ResponseCorrelator.cpp, LINE: 145 > FILE: ..\src\main\activemq\transport\ResponseCorrelator.cpp, LINE: 152 > FILE: ..\src\main\activemq\connector\openwire\OpenWireFormatNegotiator.cpp, LINE: 105 > FILE: ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp, LINE: 1468 > FILE: ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp, LINE: 928 > FILE: ..\src\main\activemq\core\ActiveMQSession.cpp, LINE: 703 > FILE: ..\src\main\activemq\core\ActiveMQProducer.cpp, LINE: 194 > FILE: ..\src\main\activemq\core\ActiveMQProducer.cpp, LINE: 149 > CODE SNIPPET: > try { > msgBytes = session->createBytesMessage(); > msgBytes->writeInt(time); > msgBytes->writeByte(type); > msgBytes->writeDouble(price); > msgBytes->writeLong(size); > key.insert(0,topicBase); > tmpTopic = getTopic( key ); > publisher->send(tmpTopic, msgBytes); > delete msgBytes; > } > catch (CMSException& e) { > std::cerr << "Exception: writing msg" << endl; > messenger->onException(e); > exit(-1); > return; > } > Exception happened in code that has been processing hundreds of msgs per second for 5 hours a day, no problem. But occurred during time when had a runaway java process taking all of one CPU and lot's of memory. > No msgs in broker (4.1.1) logs -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.