|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] UnknownHostException on Xen Guest OS
Hi, I have successfully installed Xen on a desktop, and now running two Ubuntu as guest os on Xen. However, it has some problems on hostNames. I have written a test java file, as follows
A.java
import java.net.InetAddress;
class A { public static void main(String[] args) { try { String hostName = InetAddress.getLocalHost().getHostName(); System.out.println(hostName); } catch(Exception e) { e.printStackTrace();
} } }
And java.net.UnknownHostException is thrown. I would like to know how I can configure the guest os to avoid this error? Does anyone have same experiences here? I appreciate it if s/he could share w me. thanks
Richard
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-users] UnknownHostException on Xen Guest OS,
Yuzhe Tang <=
|
|
|
|
|