Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 85238 invoked from network); 24 Aug 2010 19:31:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Aug 2010 19:31:28 -0000 Received: (qmail 13036 invoked by uid 500); 24 Aug 2010 19:31:28 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 12911 invoked by uid 500); 24 Aug 2010 19:31:27 -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 12903 invoked by uid 99); 24 Aug 2010 19:31:27 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 19:31:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 19:31:10 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7OJUms9024541 for ; Tue, 24 Aug 2010 19:30:48 GMT Message-ID: <25262305.14651282678248270.JavaMail.jira@thor> Date: Tue, 24 Aug 2010 15:30:48 -0400 (EDT) From: "Barbara Dawkins (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQCPP-314) Starting app with Com using cms destroys connection of other app. New problem with recent lib version In-Reply-To: <15172612.11031282258067298.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61384#action_61384 ] Barbara Dawkins commented on AMQCPP-314: ---------------------------------------- Again, from my notes in the incident. This is the stack track immediately before the debug abruptly exits back to the ActiveMQ::ActiveMQConnection constructor. I took the stack trace immediately before apr_gethostname called Winsock's gethostname. (I've tried putting a try/catch around the statement, I still go back to ActiveMQConnection's constructor. This is very weird.) One I hit F10 or F11 to try and step through the gethostname, I'm back at ActiveMQConnnection. > Starting app with Com using cms destroys connection of other app. New problem with recent lib version > ----------------------------------------------------------------------------------------------------- > > Key: AMQCPP-314 > URL: https://issues.apache.org/activemq/browse/AMQCPP-314 > Project: ActiveMQ C++ Client > Issue Type: Bug > Components: CMS Impl > Affects Versions: 3.2.2 > Environment: Windows XP, SP 3, ActiveMQ apache-activemq-5.3.1 and/or apache-activemq-5.4.0. CMS library 3.2.2 > Reporter: Barbara Dawkins > Assignee: Timothy Bish > Priority: Critical > Attachments: ActiveMQLog_CatcherStart.txt, ActiveMQLog_PitcherStart.txt, ActiveMQLog_SimpleSenderStart.txt, CatcherPitcherTest2.zip > > > We ran into a problem after we upgraded the CMS library from revison 3.1.3 to revision 3.2.2. We have two applications. When we start up the second application, and try to send a message to the activemq broker, it seems to wipe out the existing connection that the first application has. This is a new problem. We have not seen this with the earlier version of CMS. > Here are more details about our applications. > Both applications are using a COM component that we have created as a thin wrapper around CMS. > Application 1: > The "Catcher" application creates listeners and waits for messages to arrive on two "request" topics. When it receives messages, it sends out responses on the appropriate "response" topic. This app is intended as a local, dumbed-down similator of a remote server. The Catcher app uses only the COM wrapper of CMS. When the catcher is started, you can see it's listeners on the "Topics" page. > Application 2: > The "SimpleSender" app uses an Additional COM object that loads the CMS wrapper. SimpleSender creates listers on the "response" topics and sends messages on the "request" topics. When SimpleSender starts, it loads it's configuration, creates a listener on the response topic, and sends 1 message. If you look at the topics page (http://localhost:8161/admin/topics.jsp) before the message is sent, the Catcher listeners are undisturbed. After it sends a message, the listeners are destroyed. > Application 3: > A simple message sender that only uses the COM wrapper. It does not destroy Catcher's connections, and can be used to test whether Catcher can receive messages. > I will send an attachment containing the test programs. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.