[
https://issues.apache.org/jira/browse/AMQ-6201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186739#comment-15186739
]
Steven Mahieu edited comment on AMQ-6201 at 3/10/16 12:17 PM:
--------------------------------------------------------------
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().
was (Author: mahieus):
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
> Priority: Minor
> 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)