Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 4611 invoked from network); 10 Aug 2010 18:09:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Aug 2010 18:09:15 -0000 Received: (qmail 14842 invoked by uid 500); 10 Aug 2010 18:09:15 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 14556 invoked by uid 500); 10 Aug 2010 18:09:14 -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 14473 invoked by uid 99); 10 Aug 2010 18:09:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Aug 2010 18:09:14 +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, 10 Aug 2010 18:09:10 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7AI8mu0029274 for ; Tue, 10 Aug 2010 18:08:48 GMT Message-ID: <24071039.4461281463728652.JavaMail.jira@thor> Date: Tue, 10 Aug 2010 14:08:48 -0400 (EDT) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQNET-251) System.IO.__Error.EndOfFile() exception In-Reply-To: <5281485.1421274286200656.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/AMQNET-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved AMQNET-251. --------------------------------- Resolution: Cannot Reproduce Using the latest NMS code and the ActiveMQ 5.4 broker release candidate I cannot reproduce this issue. > System.IO.__Error.EndOfFile() exception > ----------------------------------------- > > Key: AMQNET-251 > URL: https://issues.apache.org/activemq/browse/AMQNET-251 > Project: ActiveMQ .Net > Issue Type: Bug > Components: ActiveMQ > Affects Versions: 1.3.0 > Environment: Using ActiveMQ 5.2, NMS 1.3, activemq host Windows Server 2008, activemq nms client on windows XP > Reporter: Mark Gellings > Assignee: Timothy Bish > Fix For: 1.4.0 > > Attachments: NativeNMSConsumerAndProducer.zip > > > Get "Unable to read beyond the end of the stream." exception when sending a message. Message gets added to queue appropriately though. > Stack trace: > at System.IO.__Error.EndOfFile() > at System.IO.BinaryReader.FillBuffer(Int32 numBytes) > at System.IO.BinaryReader.ReadInt32() > at Apache.NMS.Util.EndianBinaryReader.ReadInt32() > at Apache.NMS.ActiveMQ.OpenWire.OpenWireFormat.Unmarshal(BinaryReader dis) > at Apache.NMS.ActiveMQ.Transport.Tcp.TcpTransport.ReadLoop() > To replicate run attached console against an ActiveMQ 5.2 broker. Inputs entered should be similar to the following, of which after entering Visual Studio 2008 breaks at the exception being thrown. Bug does not occur when using NMS 1.2. > What is the machine name your broker is running on? > wamqdev1 > What is the port your broker is running on? > 10200 > URI using is: failover:(tcp://wamqdev1:10200?transport.UseLogging=true) > What is the queue? > test > Run consumer? (Y/N)N > Run producer? (Y/N)Y > Do you need to enter a username/password? (Y/N)Y > enter Usernameuser > enter Passwordpassword > How many messages do you want to send (e.g. 10)? > 1 > Press at any time to shutdown. > Please enter a pace to send messages in milliseconds (e.g. 1000) or 0 for no wai > t between message sending. Test was started at 5/19/2010 11:14:34 AM. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.