@@ -0,0 +1,454 @@
+package edu.usc.glidein.util;%0A%0Aimport java.net.InetAddress;%0A%0Aimport org.apache.log4j.Logger;%0A%0Apublic class ServiceUtil %7B%0A%09private static Logger logger = Logger.getLogger(ServiceUtil.class);%0A%09%0A%09public static String getServiceHost() %7B%0A%09%09// Set the default condor host%0A%09%09try %7B%0A%09%09%09InetAddress addr = InetAddress.getLocalHost();%0A%09%09%09return addr.getHostName();%0A%09%09%7D  catch (Exception e) %7B%0A%09%09%09logger.warn(%22Unable to get service host%22,e);%0A%09%09%09return null;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Add util class to return the local host name