[wildfly-dev] Clustering in WildFly 8

Jeff Mesnil jmesnil at redhat.com
Wed Mar 12 06:04:23 EDT 2014


On 12 Mar 2014, at 00:35, Arun Gupta <arun.gupta at gmail.com> wrote:
> 3). Changed server-two auto-start="false" and server-three
> auto-start="true". Running domain.sh gives the following error:
> 
> [Server:server-three] 15:17:03,924 INFO  [org.jboss.messaging] (MSC
> service thread 1-12) JBAS011615: Registered HTTP upgrade for
> hornetq-remoting protocol handled by http-acceptor-throughput acceptor
> [Server:server-three] 15:17:03,978 ERROR [org.hornetq.core.server]
> (Thread-0 (HornetQ-scheduled-threads-45430818)) HQ224033: Failed to
> broadcast connector configs: java.io.IOException: Can't assign
> requested address
> 
> Is there something else that needs to be configured ?

server-two uses the full profile, server-three uses the full-ha profile that add discovery support to its hornetq-server.

This error likely occurs when you run multiple host on the same machine: https://community.jboss.org/wiki/RunningAHornetQClusterUsingDiscoveryDoesntWork
To use this setup, you need to add a multicast route to the loopback interface (on my mac, I have to run "sudo route add 224.0.0.0 127.0.0.1 -netmask 240.0.0.0"

jeff

-- 
Jeff Mesnil
JBoss, a division of Red Hat
http://jmesnil.net/




More information about the wildfly-dev mailing list