You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Steven Mahieu (JIRA)" <ji...@apache.org> on 2016/03/09 09:20:40 UTC

[jira] [Commented] (AMQ-6201) Connection not closed correctly: java.io.EOFException

    [ https://issues.apache.org/jira/browse/AMQ-6201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186739#comment-15186739 ] 

Steven Mahieu commented on AMQ-6201:
------------------------------------

I wrote my own client to check when the exception occurs. It happens when the connection.start() and connection.stop() are not invoked before doing a connection.close().

At a quick glance at the code I would say the problem is situated in ActiveMQEndpointWorker. In the safeClose method before closing the connection it should be stopped first.


> Connection not closed correctly: java.io.EOFException
> -----------------------------------------------------
>
>                 Key: AMQ-6201
>                 URL: https://issues.apache.org/jira/browse/AMQ-6201
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Steven Mahieu
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The connection is not closed correctly and gives the following exception:
> Transport Connection to: tcp://{IP}:{PORT_X} failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP}:{PORT_X}@{PORT}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)