I can only see warning message in broker logs: 

[2017-09-16 14:15:59.540-0400] [ActiveMQ NIO Worker 3] 
[org.apache.activemq.broker.TransportConnection] [WARN] 
[TransportConnection.java:org.apache.activemq.broker.TransportConnection:processAddConnection()::858]
 
[Failed to add Connection 
id=ID:app1a.prod.c.ia55.net-46199-1505585017494-3:2, 
clientId=integratedapp1a.prod.c.ia55.net_conn_listener due to 
javax.jms.InvalidClientIDException: Broker: mqbrokerbaly - Client: 
integratedapp1a.prod.c.ia55.net_conn_listener already *connected from null] 
* 

On the client side the exception received is : 
[ 2017-09-16 18:01:59,897 [EngineTriggerSide2MessageListenerContainer-1] []
listener.DefaultMessageListenerContainer.refreshConnectionUntilSuccessful():907 
ERROR]: Could 
not refresh JMS Connection for destination 'topic://RecNotification' -
retrying in 5000 ms. Cause: Broker: mqbroker- Client:
integratedapp1a.prod.c.ia55.net_conn_listener already connected from null
[ 2017-09-16 18:01:59,974 [ActiveMQ Transport:
tcp://mqbroker/*:*:*:*:61616@57384] []
failover.FailoverTransport.handleTransportFailure():260  WARN ]: Transport
(tcp://mqbrok
er/10.12.19.62:61616@57384) failed, reason:  , attempting to automatically
reconnect
java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:392)
        at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:258)
        at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:221)
        at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:213)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
        at java.lang.Thread.run(Thread.java:745)



> When you restart a client, how do you you stop the client (hard crash,
> kill 
> -9, graceful shutdown, etc.) and how long do you wait before starting it 
> again? Could this be a situation where the broker simply hasn't discovered 
> that the previous TCP connection is dead?
It's a graceful shutdown and client gets restarted quickly (~5 to 10
seconds) after the stop.




Thanks,
Anuj



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to