You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Cristian Botiza <Cr...@endava.com> on 2010/03/29 17:54:44 UTC

Transport failed: java.io.EOFException

I notice this error (logged as debug) from time to time in the AMQ logs:

java.io.EOFException
 at java.io.DataInputStream.readInt(Unknown Source)
 at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:267)
 at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:156)
 at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
 at java.lang.Thread.run(Unknown Source)

I'm using AMQ 4.1.2. Maybe this is expected behavior? Or has it been fixed in later versions?

Thank you

The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Any opinions expressed are mine and do not necessarily represent the opinions of the Company. Emails are susceptible to interference. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is strictly prohibited and may be unlawful. If you have received this message in error, do not open any attachments but please notify the EndavaIT Service Desk on (+44 (0)870 423 0187), and delete this message from your system. The sender accepts no responsibility for information, errors or omissions in this email, or for its use or misuse, or for any act committed or omitted in connection with this communication. If in doubt, please verify the authenticity of the contents with the sender. Please rely on your own virus checkers as no responsibility is taken by the sender for any damage rising out of any bug or virus infection.

Endava Limited is a company registered in England under company number 5722669 whose registered office is at 125 Old Broad Street, London, EC2N 1AR, United Kingdom. Endava Limited is the Endava group holding company and does not provide any services to clients. Each of Endava Limited and its subsidiaries is a separate legal entity and has no liability for another such entity's acts or omissions. Please refer to the “Legal” section on our website for a list of legal entities.

RE: Transport failed: java.io.EOFException

Posted by Cristian Botiza <Cr...@endava.com>.
Ok, thanks.
It reproduces consistently when I start Geronimo with amq logging set to debug. It happens on al Geronimo deployments I was using (my local workstation and two company managed deployments). I think I also saw it once when a subscription was created. I will past more logs tomorrow.
Doesn't look like it effects functionality, but I can't be 100% sure

Upgrading to 5.x seems to be the way to go. Thanks again

________________________________________
From: Bruce Snyder [bruce.snyder@gmail.com]
Sent: 29 March 2010 22:22
To: users@activemq.apache.org
Subject: Re: Transport failed: java.io.EOFException

On Mon, Mar 29, 2010 at 3:54 PM, Cristian Botiza
<Cr...@endava.com> wrote:
> I notice this error (logged as debug) from time to time in the AMQ logs:
>
> java.io.EOFException
>  at java.io.DataInputStream.readInt(Unknown Source)
>  at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:267)
>  at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:156)
>  at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
>  at java.lang.Thread.run(Unknown Source)
>
> I'm using AMQ 4.1.2. Maybe this is expected behavior? Or has it been fixed in later versions?

It's difficult to say why this exception is being thrown without a lot
more detail. Not only the exception a generic one, but it also
provides no guidance about the actual cause. Are you able to
consistently reproduce this exception or does it happen randomly?

FWIW, ActiveMQ 4.1.2 is about three years old now and no more fixes
for the 4.x version will be released. If possible you might want to
consider upgrading to the latest release which is currently 5.3.1.

Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Any opinions expressed are mine and do not necessarily represent the opinions of the Company. Emails are susceptible to interference. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is strictly prohibited and may be unlawful. If you have received this message in error, do not open any attachments but please notify the EndavaIT Service Desk on (+44 (0)870 423 0187), and delete this message from your system. The sender accepts no responsibility for information, errors or omissions in this email, or for its use or misuse, or for any act committed or omitted in connection with this communication. If in doubt, please verify the authenticity of the contents with the sender. Please rely on your own virus checkers as no responsibility is taken by the sender for any damage rising out of any bug or virus infection.

Endava Limited is a company registered in England under company number 5722669 whose registered office is at 125 Old Broad Street, London, EC2N 1AR, United Kingdom. Endava Limited is the Endava group holding company and does not provide any services to clients. Each of Endava Limited and its subsidiaries is a separate legal entity and has no liability for another such entity's acts or omissions. Please refer to the “Legal” section on our website for a list of legal entities.

Re: Transport failed: java.io.EOFException

Posted by Bruce Snyder <br...@gmail.com>.
On Mon, Mar 29, 2010 at 3:54 PM, Cristian Botiza
<Cr...@endava.com> wrote:
> I notice this error (logged as debug) from time to time in the AMQ logs:
>
> java.io.EOFException
>  at java.io.DataInputStream.readInt(Unknown Source)
>  at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:267)
>  at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:156)
>  at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
>  at java.lang.Thread.run(Unknown Source)
>
> I'm using AMQ 4.1.2. Maybe this is expected behavior? Or has it been fixed in later versions?

It's difficult to say why this exception is being thrown without a lot
more detail. Not only the exception a generic one, but it also
provides no guidance about the actual cause. Are you able to
consistently reproduce this exception or does it happen randomly?

FWIW, ActiveMQ 4.1.2 is about three years old now and no more fixes
for the 4.x version will be released. If possible you might want to
consider upgrading to the latest release which is currently 5.3.1.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder