Matej,

This is the connection string I used on an app that runs 24/7/365 - And so far hasn't missed a beat since 2012.

failover:(nio://IPADDRESS:PORT?soTimeout=60000&daemon=true&keepAlive=true&connectionTimeout=120000&wireFormat.tcpNoDelayEnabled=true&wireFormat.maxInactivityDuration=480000&wireFormat.maxInactivityDurationInitalDelay=120000)?timeout=15000

Andy.

On 11/10/2014 15:45, Matej wrote:
I have done some analyzing. It seems ActiveMQ creates some illegal state. And then does throws an illegalstateexception, after that, connections are in state close.

Don't know if ActiveMQ libs or, the geronimo connection pool doesn't remove the closed connections. I will try with keepAlive tcp flag. Maybe this will help.

If anyone would like to see. I appending logs.

BR

Matej


--
  Andy Gumbrecht
  https://twitter.com/AndyGeeDe
  http://www.tomitribe.com

Reply via email to