I can confirm I do see these exceptions when testing against ActiveMQ 5.2.

Just searched my logs...

log.txt(78574): 2009-10-12 12:27:34,780 [17400] [ERROR] Apache.NMS.Tracer -
RECEIVED Exception: System.IO.EndOfStreamException: Unable to read beyond
the end of the stream.
log.txt(234845): 2009-10-12 12:37:26,738 [11428] [ERROR] Apache.NMS.Tracer -
RECEIVED Exception: System.IO.EndOfStreamException: Unable to read beyond
the end of the stream.
log.txt(401473): 2009-10-12 15:02:07,214 [3472] [ERROR] Apache.NMS.Tracer -
RECEIVED Exception: System.IO.EndOfStreamException: Unable to read beyond
the end of the stream.
log.txt(401479): 2009-10-12 15:02:07,214 [3472] [WARN ] Apache.NMS.Tracer -
Transport failed to tcp://qgmq2:10196/?transport.UseLogging=true, attempting
to automatically reconnect due to: Unable to read beyond the end of the
stream.
log.txt(401493): 2009-10-12 15:02:17,434 [3432] [ERROR] Apache.NMS.Tracer -
RECEIVED Exception: System.IO.EndOfStreamException: Unable to read beyond
the end of the stream.
log.txt(401499): 2009-10-12 15:02:17,434 [3432] [WARN ] Apache.NMS.Tracer -
Transport failed to tcp://wamq1.qg.com:10198/?transport.UseLogging=true,
attempting to automatically reconnect due to: Unable to read beyond the end
of the stream.
log.txt(406079): 2009-10-12 15:14:05,899 [2812] [ERROR] Apache.NMS.Tracer -
RECEIVED Exception: System.IO.EndOfStreamException: Unable to read beyond
the end of the stream.
log.txt(406085): 2009-10-12 15:14:05,899 [2812] [WARN ] Apache.NMS.Tracer -
Transport failed to tcp://localhost:10196/?transport.UseLogging=true,
attempting to automatically reconnect due to: Unable to read beyond the end
of the stream.
log.txt.26(187694): 2009-10-12 06:46:26,048 [14604] [ERROR]
Apache.NMS.Tracer - RECEIVED Exception: System.IO.EndOfStreamException:
Unable to read beyond the end of the stream.
log.txt.26(187700): 2009-10-12 06:46:26,063 [14604] [WARN ]
Apache.NMS.Tracer - Transport failed to
tcp://localhost:10196/?transport.UseLogging=true, attempting to
automatically reconnect due to: Unable to read beyond the end of the stream.
log.txt.26(187710): 2009-10-12 06:46:43,047 [12228] [ERROR]
Apache.NMS.Tracer - RECEIVED Exception: System.IO.EndOfStreamException:
Unable to read beyond the end of the stream.
log.txt.26(187716): 2009-10-12 06:46:43,047 [12228] [WARN ]
Apache.NMS.Tracer - Transport failed to
tcp://localhost:10198/?transport.UseLogging=true, attempting to
automatically reconnect due to: Unable to read beyond the end of the stream.
log.txt.30(244659): 2009-10-12 11:50:01,963 [16588] [ERROR]
Apache.NMS.Tracer - RECEIVED Exception: System.IO.EndOfStreamException:
Unable to read beyond the end of the stream.
log.txt.31(109631): 2009-10-12 11:55:47,255 [13756] [ERROR]
Apache.NMS.Tracer - RECEIVED Exception: System.IO.EndOfStreamException:
Unable to read beyond the end of the stream.
log.txt.31(265170): 2009-10-12 12:01:32,408 [16684] [ERROR]
Apache.NMS.Tracer - RECEIVED Exception: System.IO.EndOfStreamException:
Unable to read beyond the end of the stream.
log.txt.32(23738): 2009-10-12 12:08:33,276 [16320] [ERROR] Apache.NMS.Tracer
- RECEIVED Exception: System.IO.EndOfStreamException: Unable to read beyond
the end of the stream.
log.txt.32(179212): 2009-10-12 12:15:48,443 [12948] [ERROR]
Apache.NMS.Tracer - RECEIVED Exception: System.IO.EndOfStreamException:
Unable to read beyond the end of the stream.
log.txt.32(334591): 2009-10-12 12:22:15,127 [16864] [ERROR]
Apache.NMS.Tracer - RECEIVED Exception: System.IO.EndOfStreamException:
Unable to read beyond the end of the stream.
Found 21 occurrence(s) in 6 file(s)



lujan99 wrote:
> 
> I run this sample in AMQ-5.2 and its ok, no exceptions.
> 
> but whe I run this in AMQ-5.3 (RC4) I get a exception each minute.
> 
> I upload my test-program, link is below...
> 
> Thanks.
> 
> 
> 
> 
> Timothy Bish wrote:
>> 
>> On Sun, 2009-10-11 at 19:49 -0700, lujan99 wrote:
>>> using "Assembly Apache.NMS.ActiveMQ, Version 1.1.0.1642"
>>> 
>>> when I use:
>>>      connection = CreateConnection();
>>>      connection.ExceptionListener += new ExceptionListener(OnException);
>>>      session = connection.CreateSession(this.SessionAcknowledgeMode);
>>>      ....
>>>     
>>> each 60 seconds I get a exception :
>>>       "Unable to read beyond the end of the stream."
>>> 
>>> its not necessary a message.... is automatic.
>>> 
>>> someone is using NMS with ActiveMQ 5.3?
>>> 
>> 
>> This isn't a known issue, if you could open a Jira issue against NMS to
>> document the problem and attach a short but complete sample to
>> demonstrate the issue we can try and reproduce the problem and get a fix
>> into the next NMS release.  Have you run against a 5.2 broker with the
>> version of NMS that's giving you this exception?  If so did you see the
>> same error?
>> 
>> Regards
>> Tim.
>> 
>> -- 
>> Tim Bish
>> http://fusesource.com
>> http://timbish.blogspot.com/
>> 
>> 
>> 
>> 
>> 
>  http://www.nabble.com/file/p25862392/nmsTest.cs nmsTest.cs 
> 

-- 
View this message in context: 
http://www.nabble.com/NMS---ActiveMQ-5.3----%22Unable-to-read-beyond-the-end-of-the-stream.%22-tp25849938p25878142.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to