FAQ: Unable to create a connection to: [[ServerEntry, hostname="xxxxx", port="yyyy"]]
Answer:
It seems that the host "xxxxx" isn't reachable from your client. The router stores the hostname of the router within the connection factory. The client uses it to create a connection then. If the hostname isn't resolvable by DNS, you can't connect.
You can resolve it by 2 ways:
1) Add the router's host "xxxxx" to your DNS or /etc/hosts at your client.
2) Add connectaddress=<ip> to the JMS listener element "plainsocket" in the routerconfig.xml. "ip" is the IP address of the router's host (xxxxx). Subsequent connects will use the IP instead of the hostname