Displaying 1 result from an estimated 1 matches for "virtapitest".
Did you mean:
vircapstest
2012 Apr 09
0
virsh works but libvirt-java throws a 'No route to host'
...can also start and stop VMs via virsh.
So the next move for me was to get this working with the java bindings,
libvirt-java. I grabbed libvirt-0.4.7.jar and built it. Eclipse is set up
and I can see everything correctly. I built a small runnable test jar and
ran it.
[jdrews at flynx ~]$ java -jar VirtAPITesting.jar
connecting on: xenapi://root at 192.168.1.23?no_verify=1
Enter root's password for 192.168.1.23
WARNING: THE ENTERED PASSWORD WILL NOT BE MASKED!
mytestpass
exception caught:org.libvirt.LibvirtException: unable to connect to server
at '192.168.1.23:16514': No route to host
level:...