5 Replies Latest reply on Nov 18, 2012 12:57 PM by ctomc

    JBoss 7.1.1 Final: Unresolvable host name aborts server startup

    unwichtich

      Hi,

       

      I have the problem described in https://issues.jboss.org/browse/AS7-1437 in version 7.1.1 Final

       

       

      Log:

       

       

      15:01:13,986 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

      15:01:24,283 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      15:01:24,372 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      15:01:24,391 DEBUG [org.jboss.as.config] VM Arguments: -D[Standalone] -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml -Dorg.jboss.boot.log.file=/var/log/jbossas7/boot.log -Dlogging.configuration=file:/opt/jboss/current/standalone/configuration/logging.properties

      15:01:25,873 INFO  [org.xnio] XNIO Version 3.0.3.GA

      15:01:25,891 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

      15:01:25,903 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

      15:01:25,921 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA

      15:01:25,979 INFO  [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem

      15:01:26,005 INFO  [org.jboss.as.clustering.infinispan] JBAS010280: Activating Infinispan subsystem.

      15:01:26,027 INFO  [org.jboss.as.naming] JBAS011800: Activating Naming Subsystem

      15:01:26,040 INFO  [org.jboss.as.osgi] JBAS011940: Activating OSGi Subsystem

      15:01:26,053 INFO  [org.jboss.as.security] JBAS013101: Activating Security Subsystem

      15:01:26,062 INFO  [org.jboss.as.webservices] JBAS015537: Activating WebServices Extension

      15:01:26,368 INFO  [org.jboss.as.security] JBAS013100: Current PicketBox version=4.0.7.Final

      15:01:26,385 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

      15:01:26,584 INFO  [org.jboss.as.connector] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

      15:01:26,647 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default]

      15:01:27,258 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--0.0.0.0-8080

      15:01:36,151 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 48) JBAS014612: Operation ("add") failed - address: ([("subsystem" => "webservices")]): java.lang.RuntimeException: java.net.UnknownHostException: stove-management-test01.test.local: stove-management-test01.test.local

              at org.jboss.as.webservices.dmr.WSSubsystemAdd.createServerConfig(WSSubsystemAdd.java:145)

              at org.jboss.as.webservices.dmr.WSSubsystemAdd.performBoottime(WSSubsystemAdd.java:129)

              at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performRuntime(AbstractBoottimeAddStepHandler.java:57) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:311) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_26]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_26]

              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]

              at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]

      Caused by: java.net.UnknownHostException: stove-management-test01.test.local: stove-management-test01.test.local

              at java.net.InetAddress.getLocalHost(InetAddress.java:1354) [rt.jar:1.6.0_26]

              at org.jboss.ws.common.management.AbstractServerConfig.setWebServiceHost(AbstractServerConfig.java:106)

              at org.jboss.as.webservices.dmr.WSSubsystemAdd.createServerConfig(WSSubsystemAdd.java:143)

              ... 11 more

       

       

       

      i tried the workaround described here https://community.jboss.org/thread/171211?tstart=0 and changed the second line in standalone.xml to: <server name="standalone" xmlns="urn:jboss:domain:1.2">

       

      but this doesn't help...still the same error when starting...

        • 1. Re: JBoss 7.1.1 Final: Unresolvable host name aborts server startup
          ctomc

          Hi,

           

          does "ping stove-management-test01.test.local" work on this mashine? or does it return host not found?

          if this is the case, can you add entry

          127.0.0.0     stove-management-test01.test.local

          in your /etc/hosts or configure dns properly

           

          what does your configuration for interfaces in standalone.xml looks like? you bind by name or to 0.0.0.0?

           

          --

          tomaz

          • 2. Re: JBoss 7.1.1 Final: Unresolvable host name aborts server startup
            unwichtich

            Hi,

             

            thanks for the quick reply.

             

            Ping didn't work...so i added the entry to /etc/hosts and now Ping and JBoss are working

             

            Thanks!

            • 3. Re: JBoss 7.1.1 Final: Unresolvable host name aborts server startup
              marioja76

              Please can you help me with the same error, I modified localhost file adding "127.0.0.1 stove-management-test01.test.local" and the second line in standalone.xml file is <server name="standalone" xmlns="urn:jboss:domain:1.2">, I don't found any solution.

               

              Thanks.

               

               

              ===============================================================================

               

                JBoss Bootstrap Environment

               

                JBOSS_HOME: C:\jboss-as-7.1.1.Final

               

                JAVA: C:\Program Files\Java\jdk1.6.0_29\bin\java

               

                JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml

               

              ===============================================================================

               

              18:32:18,812 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

              18:32:18,997 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

              18:32:19,052 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

              18:32:19,930 INFO  [org.xnio] XNIO Version 3.0.3.GA

              18:32:19,931 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

              18:32:19,939 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

              18:32:19,947 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA

              18:32:19,966 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

              18:32:19,976 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem

              18:32:19,987 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem

              18:32:20,009 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.

              18:32:20,016 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service

              18:32:20,071 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension

              18:32:20,079 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem

              18:32:20,091 INFO  [org.jboss.as.security] (MSC service thread 1-6) JBAS013100: Current PicketBox version=4.0.7.Final

              18:32:20,122 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem

              18:32:20,140 INFO  [org.jboss.as.connector] (MSC service thread 1-4) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

              18:32:20,161 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

              18:32:20,162 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-8) JBAS015400: Bound mail session [java:jboss/mail/Default]

              18:32:20,366 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 48) JBAS014612: Operation ("add") failed - address: ([("subsystem" => "webservices")]): java.lang.NoSuchMethodError: org.jboss.as.server.DeploymentProcessorTarget.addDeploymentProcessor(Ljava/lang/String;Lorg/jboss/as/server/deployment/Phase;ILorg/jboss/as/server/deployment/DeploymentUnitProcessor;)V

                      at org.jboss.as.webservices.dmr.WSDeploymentActivator.activate(WSDeploymentActivator.java:56)

                      at org.jboss.as.webservices.dmr.WSSubsystemAdd$1.execute(WSSubsystemAdd.java:118)

                      at org.jboss.as.server.AbstractDeploymentChainStep.execute(AbstractDeploymentChainStep.java:45)

                      at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                      at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                      at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                      at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:311) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]

                      at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]

                      at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]

               

              18:32:20,399 INFO  [org.jboss.ws.common.management] (MSC service thread 1-8) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.0.Final

              18:32:20,749 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-5) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080

              18:32:20,849 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

              • 4. Re: JBoss 7.1.1 Final: Unresolvable host name aborts server startup
                unwichtich

                It looks like you have a different error...anyway if you want to try the suggested solution you have to add the hostname of your machine instead of "stove-management-test01.test.local" to the /etc/hosts file.

                • 5. Re: JBoss 7.1.1 Final: Unresolvable host name aborts server startup
                  ctomc

                  Hi,

                   

                  what you have is not same problem.

                   

                  looks like you modifed AS instalation especial web subsystem probably with trying new version of WS subsystem on older version of AS.

                   

                  please create new thread and post as many details about what you have changed in your local instatation.

                   

                  --

                  tomaz