I had a hornetq cluster setup using 2.1.2 (with torquebox) and static connector-refs. Something like this:
Everything worked, but I was getting the follow error fairly often on all nodes:
ERROR [org.hornetq.core.remoting.impl.netty.NettyConnector] (Thread-0 (group:HornetQ-server-threads14766501-31607439)) Failed to create netty connection
java.net.SocketTimeoutException: connect timed out
However, everything was pretty much working - despite the errors in the logs. So I changed my configuration to somthing like what I have below (because I saw it in the examples), and the error seems to go away:
But I don't understand why it went away. Can someone explain what in this config fixed the problem (or am I possibly mistaken)?
You're missing something else that happened. These values AFAIK are the default values.. it should make no difference.