Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 28789 invoked from network); 1 Jul 2009 17:06:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jul 2009 17:06:59 -0000 Received: (qmail 60301 invoked by uid 500); 1 Jul 2009 16:58:31 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 60285 invoked by uid 500); 1 Jul 2009 16:58:31 -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 60270 invoked by uid 99); 1 Jul 2009 16:58:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 16:58:29 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 16:58:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 06E11234C004 for ; Wed, 1 Jul 2009 09:58:07 -0700 (PDT) Message-ID: <833466662.1246467487012.JavaMail.jira@brutus> Date: Wed, 1 Jul 2009 09:58:07 -0700 (PDT) From: "Michel Van Hoof (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQNET-171) Exception thrown in TcpTransport while using failover protocol 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 Exception thrown in TcpTransport while using failover protocol -------------------------------------------------------------- Key: AMQNET-171 URL: https://issues.apache.org/activemq/browse/AMQNET-171 Project: ActiveMQ .Net Issue Type: Bug Components: ActiveMQ Client Affects Versions: 1.2 Environment: Windows XP SP2 Framework 2.0 Reporter: Michel Van Hoof Assignee: Jim Gomes While doing some tests i noticed an error being thrown even though i use the failover protocol. The exception was: Apache.NMS.ActiveMQ.BrokerException: System.InvalidOperationException: Error writing to broker. Transport connection is closed. at Apache.NMS.ActiveMQ.Transport.Tcp.TcpTransport.Oneway(Command command) in d:\Hudson\jobs\Apache.NMS.ActiveMQ Trunk\workspace\src\main\csharp\Transport\Tcp\TcpTransport.cs:line 118 : Transport connection error: Error writing to broker. Transport connection is closed. at Apache.NMS.ActiveMQ.Transport.ResponseCorrelator.Request(Command command, TimeSpan timeout) in d:\Hudson\jobs\Apache.NMS.ActiveMQ Trunk\workspace\src\main\csharp\Transport\ResponseCorrelator.cs:line 105 at Apache.NMS.ActiveMQ.Connection.SyncRequest(Command command, TimeSpan requestTimeout) in d:\Hudson\jobs\Apache.NMS.ActiveMQ Trunk\workspace\src\main\csharp\Connection.cs:line 338 at Apache.NMS.ActiveMQ.Session.DoSend(Command message, TimeSpan requestTimeout) in d:\Hudson\jobs\Apache.NMS.ActiveMQ Trunk\workspace\src\main\csharp\Session.cs:line 484 at Apache.NMS.ActiveMQ.MessageProducer.Send(IDestination destination, IMessage message, MsgDeliveryMode deliveryMode, MsgPriority priority, TimeSpan timeToLive, Boolean specifiedTimeToLive) in d:\Hudson\jobs\Apache.NMS.ActiveMQ Trunk\workspace\src\main\csharp\MessageProducer.cs:line 181 at Apache.NMS.ActiveMQ.MessageProducer.Send(IDestination destination, IMessage message) in d:\Hudson\jobs\Apache.NMS.ActiveMQ Trunk\workspace\src\main\csharp\MessageProducer.cs:line 115 Connectionstring: "failover:(tcp://myhostname:xxxx)" I have no clue WHY it was thrown (since other messages did get sent as they should) I have been looking at where the response is thrown but since the code is virtually commentless, it's not really easy to follow the rabbit down the hole :s Looking at it, the issues happend when a connection error occured when the producer was waiting/excepting a response that his message has been received by the broker... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.