Connection using Java

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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
-- lipe.82@xxxxxxxxx
-- https://sites.google.com/site/lipe82/Home/diaadia

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]