activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fenbers <Mark.Fenb...@noaa.gov>
Subject Failover emits unwanted message on closing
Date Wed, 12 Jun 2013 13:57:08 GMT
Due to ongoing network issues, we find it necessary to reboot ActiveMQ
occasionally.  Previously, clients had to be started as well to reestablish
a connection with the newly rebooted broker.  So now I implemented the
failover feature so that the clients can automatically reconnect with the
broker without a restart.  This works very well, but one thing that happens
now is that closing a client intentionally (with an orderly shutdown of the
ActiveMQ connection) still emits a logger message written to the
console/terminal:
/failover.FailoverTransport: (tcp://xxx.xxx.xxx.xxx:61616) failed, reason:
java.io.EOFException, not attempting to automatically reconnect/

I'm glad it's not trying to automatically reconnect, because it's my
intention to close the client, but what am I doing improperly that causes
this message to be emitted whenever I close the client?  No stack trace is
produced.  To shutdown the connection, I call this close() method:



Any ideas?




--
View this message in context: http://activemq.2283324.n4.nabble.com/Failover-emits-unwanted-message-on-closing-tp4668116.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message