activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] Resolved: (AMQNET-171) Exception thrown in TcpTransport while using failover protocol
Date Fri, 16 Oct 2009 18:55:52 GMT


Timothy Bish resolved AMQNET-171.

    Resolution: Fixed

This should be resolved with the AMQNET-179 issue resolution.

> Exception thrown in TcpTransport while using failover protocol
> --------------------------------------------------------------
>                 Key: AMQNET-171
>                 URL:
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ
>    Affects Versions: 1.2.0
>         Environment: Windows XP SP2 Framework 2.0
>            Reporter: Michel Van Hoof
>            Assignee: Jim Gomes
>             Fix For: 1.2.0
> 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
>    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
>    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
> 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.

View raw message