2 Replies Latest reply on Feb 1, 2005 5:18 PM by osandum

    run.sh --host=.... woes

      There is a whole lot of posts around here saying the solution for "Failed to start AutomaticDiscovery" is to add "--host=ip-address" to the run.sh command line. Or else we get the dreaded:

      INFO [HANamingService] Listening on /
      WARN [HANamingService] Failed to start AutomaticDiscovery
      java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface

      However, if we do this, then other JBoss protocols too get bound to that interface. E.g., will no longer respond -- you now need to use the correct ip.

      This causes trouble for us because we use various resources in EJB-code which are retrieved using "localhost:8080".

      Question: Did anyone else experience this, and how did you solve it?

      Is it possible to detect the particular ip-address in code? (Or do we have to provide it explicitly through a System property?)