0 Replies Latest reply on Jun 24, 2013 6:51 AM by Gerhard Visagie

    Cannot determine localhost name

    Gerhard Visagie Newbie

      Hi all;

       

      I deployed SW on our server and wound it up. However now Im getting the following:

       

      12:49:31,656 INFO  [org.apache.camel.management.DefaultManagementAgent] (MSC service thread 1-4) Cannot determine localhost name. Using default: 1099: java.net.UnknownHostException: MER-RBGPGQA: MER-RBGPGQA

              at java.net.InetAddress.getLocalHost(InetAddress.java:1466) [rt.jar:1.7.0_21]

              at org.apache.camel.management.DefaultManagementAgent.createMBeanServer(DefaultManagementAgent.java:348) [camel-core-2.10.0.jar:2.10.0]

              at org.apache.camel.management.DefaultManagementAgent.doStart(DefaultManagementAgent.java:263) [camel-core-2.10.0.jar:2.10.0]

              at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60) [camel-core-2.10.0.jar:2.10.0]

              at org.apache.camel.management.DefaultManagementStrategy.start(DefaultManagementStrategy.java:209) [camel-core-2.10.0.jar:2.10.0]

              at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62) [camel-core-2.10.0.jar:2.10.0]

              at org.apache.camel.management.ManagementStrategyFactory.create(ManagementStrategyFactory.java:40) [camel-core-2.10.0.jar:2.10.0]

              at org.apache.camel.impl.DefaultCamelContext.createManagementStrategy(DefaultCamelContext.java:2458) [camel-core-2.10.0.jar:2.10.0]

              at org.apache.camel.impl.DefaultCamelContext.getManagementStrategy(DefaultCamelContext.java:2278) [camel-core-2.10.0.jar:2.10.0]

              at org.switchyard.common.camel.SwitchYardCamelContext.<init>(SwitchYardCamelContext.java:80) [switchyard-common-camel-0.8.0.Final.jar:0.8.0.Final]

              at org.switchyard.common.camel.SwitchYardCamelContext.<init>(SwitchYardCamelContext.java:69) [switchyard-common-camel-0.8.0.Final.jar:0.8.0.Final]

              at org.switchyard.deploy.ServiceDomainManager.createDomain(ServiceDomainManager.java:106)

              at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:100) [switchyard-deploy-jboss-as7-0.8.0.Final.jar:0.8.0.Final]

              at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:78) [switchyard-deploy-jboss-as7-0.8.0.Final.jar:0.8.0.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]

              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

      Caused by: java.net.UnknownHostException: MER-RBGPGQA

              at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) [rt.jar:1.7.0_21]

              at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:894) [rt.jar:1.7.0_21]

              at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) [rt.jar:1.7.0_21]

              at java.net.InetAddress.getLocalHost(InetAddress.java:1462) [rt.jar:1.7.0_21]

              ... 18 more

       

      So I know localhost is not defined, is there a way to configure it to use an ip instead?