[
https://issues.apache.org/jira/browse/AMQ-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497945#comment-13497945
]
Gary Tully commented on AMQ-4178:
---------------------------------
that is most likely not an accident, something caused the connection to be
dropped. Can you provide logs from the broker when this occurs?
> AcitveMQ java client occur EOFException accidently
> --------------------------------------------------
>
> Key: AMQ-4178
> URL: https://issues.apache.org/jira/browse/AMQ-4178
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker, JMS client
> Affects Versions: 5.7.0
> Environment: ActiveMQ 5.7.0(Server & Client) + Java(TM) SE Runtime
> Environment (build 1.6.0_26-b03) + SUSE Linux Enterprise Server 11
> (x86_64)sp1 + Virgo 3.0.3.RELEASE
> Reporter: shamokuyuwpz
>
> In acitvemq.xml,I set the flow control.For example:
> <destinationPolicy>
> <policyMap>
> <policyEntries>
> <policyEntry topic=">" producerFlowControl="true">
> <pendingMessageLimitStrategy>
> <constantPendingMessageLimitStrategy limit="1000"/>
> </pendingMessageLimitStrategy>
> </policyEntry>
> <policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb">
> <pendingQueuePolicy>
> <vmQueueCursor/>
> </pendingQueuePolicy>
> -->
> </policyEntry>
> </policyEntries>
> </policyMap>
> </destinationPolicy>
> There are only three clients connect to the mq server.
> Some EOFException happened accidently.The log is record like:
> [2012-11-14 10:39:25.993] WARN port: ssl:///127.0.0.1:61616
> org.apache.activemq.transport.failover.FailoverTransport Transport
> (tcp://127.0.0.1:61616) failed, reason: java.io.EOFException, attempting to
> automatically reconnect
> [2012-11-14 10:44:18.126] INFO ActiveMQ Task-9
> org.apache.activemq.transport.failover.FailoverTransport
> Successfully reconnected to ssl://127.0.0.1:61616
> I can't not reappear this exception in a junit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira