Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4887

Failing to resolve public interface should not halt startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.1.2.Final (EAP)
    • Server
    • None

      Whenever I faced AS7-4886 or AS7-3223 on OSX (when working offline), I'd execute the following to workaround it:

      sudo ifconfig en0 alias 127.0.0.1

      However, when that is set, AS7 does not start any more and fails with the following:

      21:42:14,636 WARN  [org.jboss.as.controller] JBAS014622: Value '127.0.0.1' for interface selection criteria 'inet-address' is ambiguous, as more than one address or network interface available on the machine matches it. Because of this ambiguity, no address will be selected as a match. Matching addresses: [/127.0.0.1].  Matching network interfaces: [lo0, en0].
      21:42:14,636 WARN  [org.jboss.as.controller] JBAS014622: Value '127.0.0.1' for interface selection criteria 'inet-address' is ambiguous, as more than one address or network interface available on the machine matches it. Because of this ambiguity, no address will be selected as a match. Matching addresses: [/127.0.0.1].  Matching network interfaces: [lo0, en0].
      21:42:14,639 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start service jboss.network.public: org.jboss.msc.service.StartException in service jboss.network.public: JBAS015810: failed to resolve interface public
      	at org.jboss.as.server.services.net.NetworkInterfaceService.start(NetworkInterfaceService.java:97) [jboss-as-server-7.x.incremental.379.jar:7.x.incremental.379]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_31]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_31]
      	at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_31]

      I can understand the ambiguity and the WARN messages, but can we please stop halting startup??

      Dunno who to assign this to...

            rh-ee-galder Galder ZamarreƱo
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: