2 Replies Latest reply on Sep 9, 2015 5:43 AM by jagadish1221

    Getting java.net.UnknownHostException exception while starting server in Linux

    jagadish1221

      Hi All,

       

      Am getting the below exception while starting Wildfly8.1.0 in Linux environment.

       

      I have used the  ./standalone.sh -b 0.0.0.0 to start the server.

       

      Please guide me.

       

       

       

      04:06:51,302 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 48) JBAS014612: Operation ("add") failed - address: ([("subsystem" => "webservices")]): java.lang.RuntimeException: java.net.UnknownHostException: Dev.ca.XX.com: Dev.ca.XX.com         at org.jboss.as.webservices.dmr.WSSubsystemAdd.createServerConfig(WSSubsystemAdd.java:102)         at org.jboss.as.webservices.dmr.WSSubsystemAdd.performBoottime(WSSubsystemAdd.java:91)         at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performRuntime(AbstractBoottimeAddStepHandler.java:69) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]         at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:75) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]         at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:606) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]         at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:484) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]         at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:281) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]         at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:276) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]         at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:354) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_72]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_72]         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_72]         at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final] Caused by: java.net.UnknownHostException: Dev.ca.XX.com: Dev.ca.XX.com         at java.net.InetAddress.getLocalHost(InetAddress.java:1473) [rt.jar:1.7.0_72]         at org.jboss.ws.common.management.AbstractServerConfig.setWebServiceHost(AbstractServerConfig.java:111)         at org.jboss.as.webservices.dmr.WSSubsystemAdd.createServerConfig(WSSubsystemAdd.java:100)         ... 12 more Caused by: java.net.UnknownHostException: Dev.ca.XX.com         at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) [rt.jar:1.7.0_72]         at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901) [rt.jar:1.7.0_72]         at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293) [rt.jar:1.7.0_72]         at java.net.InetAddress.getLocalHost(InetAddress.java:1469) [rt.jar:1.7.0_72]         ... 14 more