2 Replies Latest reply on Feb 24, 2006 9:34 AM by oglueck

    HANamingService Startup Error

    jbosscompboy

      Hi,

      I am trying to get JBoss up for the first time. I am using the "run -c all" command to start the server. At this time I am getting the following error during startup. I have no idea what it means. Can you tell me what needs to be done?

      WARN [org.jboss.ha.jndi.HANamingService] Failed to start AutomaticDiscovery java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface
      




        • 1. Re: HANamingService Startup Error

          You get this when you don't specify a bind address. Do instead:

          run -c all -b 127.0.0.1

          But I really think this is a bug in the HA-JNDI config somewhere....

          • 2. Re: HANamingService Startup Error

            Alternatively you can comment out two lines in the cluster-service.xml in the MBean jboss:service=HAJNDI:

            <attribute name="BindAddress">${jboss.bind.address}</attribute>
            <attribute name="AutoDiscoveryBindAddress">${jboss.bind.address}</attribute>[/code ]
            
            This makes HA-JNDI bind to all addresses and you don't need to specifiy a bind address any more.