Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 55453 invoked from network); 3 Jun 2008 18:41:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jun 2008 18:41:24 -0000 Received: (qmail 84345 invoked by uid 500); 3 Jun 2008 18:41:26 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 84325 invoked by uid 500); 3 Jun 2008 18:41:26 -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 84314 invoked by uid 99); 3 Jun 2008 18:41:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2008 11:41:26 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2008 18:40:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 578DD234C12E for ; Tue, 3 Jun 2008 11:41:00 -0700 (PDT) Message-ID: <953518937.1212518460357.JavaMail.jira@brutus> Date: Tue, 3 Jun 2008 11:41:00 -0700 (PDT) From: "Jim Gomes (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQNET-87) CLONE -Strange Disconnect issues with .Net and VS2005 In-Reply-To: <2004862671.1211393094370.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQNET-87?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Gomes resolved AMQNET-87. ----------------------------- Fix Version/s: 1.0 (was: 1.1) Resolution: Fixed > CLONE -Strange Disconnect issues with .Net and VS2005 > ----------------------------------------------------- > > Key: AMQNET-87 > URL: https://issues.apache.org/activemq/browse/AMQNET-87 > Project: ActiveMQ .Net > Issue Type: Bug > Components: ActiveMQ Client > Environment: Windows XP, VS2005, grabbed head of .Net client as o= f 2/12, useing ActiveMQ 4.1 on server > Reporter: Anthony Enache > Assignee: Jim Gomes > Fix For: 1.0 > > Attachments: ResponseCorrelator.patch > > > I have a strange issue. I'm testing bad network conditions, where the cl= ient looses connectivity to the server. If the server is remote, and the c= lient is inside my lan, and my lan looses internet connection, at least 1 t= ime in 3 when the consumer gets created (or at least throws no error messag= es), but doesn't actually consume messages off of the queue. This leads to= no error message that I can catch, but the client never recieving another = message. For reasons that escape me, this happens FAR more frequently when= you run this program OUTSIDE of vs2005. When I run through the debugger, = or even through a "Release" build inside vs2005, this very rarely occurs. = Also, though this is much more minor, when the client does manage to reconn= ect cleanly, I get 2 messages for each one I send, as if the consumer prior= to the internet connection loss isn't being deleted. However, once I star= t and stop the Connection, I get just one message recieved per message sent= . I'll show this in step form below. Thanks for your assistance! > Jamie > Steps: > 1. Run a standard ActiveMQ server on a remote point > 2. Run a client inside your lan (Fixing IP address and port for where t= he server resides) > 3. Click "start" on the app, you'll see the messages your recieving star= t scrolling down > 4. Yank the cord from your router that gives you an external internet co= nnection > 5. After about 8 seconds, the text will tell you the disconnect occured,= then replug in the cord > 6. Click "start" again. might need to do it more then once, as sometime= s it's slow to get a good connection again > 7. At least 1 in 3 times after you click "start" it'll clear the text, b= ut you'll never see another message, even if you "stop" and "start" again (= leaving the cord alone) > 8. The rest of the time you'll see 2 messages appear for each one sent, = after clicking "stop" and "start" again, you'll see normal behavior. =20 > I've attached both the client project I'm using for testing. I was using= the stock ActiveMQ 4.1 server, only changing the IP Address of the TCP con= nection to point to the correct address. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.