I am using java to connect to the xen, but my class is throwing a exception. Does anyone know what is happening?
public class TestConnection {
public static void main(String[] args) {
Connect conn = null;
try {
conn = new Connect("xen+ssh://root@xxxxxxxxxxxxxx/", true);
libvir: RPC error : End of file while reading data: nc: invalid option -- 'U'
nc -h for help: Input/output error
exception caught:org.libvirt.LibvirtException: End of file while reading data: nc: invalid option -- 'U'
nc -h for help: Input/output error
level:VIR_ERR_ERROR
code:VIR_ERR_SYSTEM_ERROR
domain:VIR_FROM_RPC
hasConn:false
hasDom:false
hasNet:false
message:End of file while reading data: nc: invalid option -- 'U'
nc -h for help: Input/output error
str1:%s
str2:End of file while reading data: nc: invalid option -- 'U'
nc -h for help: Input/output error
str3:null
int1:-1
int2:-1
Thanks,
Felipe
--
-- Felipe Oliveira Gutierrez
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list