Mercurial > hg > Database > Alice
diff src/alice/topology/node/StartTopologyNode.java @ 173:23d6a775a643 working
fix getResource fail
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Jan 2013 19:21:13 +0900 |
parents | 7982324d4329 |
children | d7816b9b72e9 |
line wrap: on
line diff
--- a/src/alice/topology/node/StartTopologyNode.java Thu Dec 27 14:38:42 2012 +0900 +++ b/src/alice/topology/node/StartTopologyNode.java Mon Jan 14 19:21:13 2013 +0900 @@ -21,11 +21,8 @@ public void run() { DataSegment.connect("manager", "", conf.managerHostName, conf.managerPort); String localHostName = null; - try { - localHostName = InetAddress.getLocalHost().getHostName(); - } catch (UnknownHostException e) { - e.printStackTrace(); - } + // nocalHostName = InetAddress.getLocalHost().getHostName(); + localHostName = "192.168.128.41"; HostMessage host = new HostMessage(localHostName, conf.localPort); ods.put("manager", "host", host);