Hi,<br><br>I am using java to connect to the xen, but my class is throwing a exception. Does anyone know what is happening?<br><br>public class TestConnection {<br>    public static void main(String[] args) {<br>        Connect conn = null;<br>

        try {<br>            conn = new Connect("xen+ssh://root@192.XXX.XXX.XX/", true);<br><br>libvir: RPC error : End of file while reading data: nc: invalid option -- 'U'<br>nc -h for help: Input/output error<br>

exception caught:org.libvirt.LibvirtException: End of file while reading data: nc: invalid option -- 'U'<br>nc -h for help: Input/output error<br>level:VIR_ERR_ERROR<br>code:VIR_ERR_SYSTEM_ERROR<br>domain:VIR_FROM_RPC<br>

hasConn:false<br>hasDom:false<br>hasNet:false<br>message:End of file while reading data: nc: invalid option -- 'U'<br>nc -h for help: Input/output error<br>str1:%s<br>str2:End of file while reading data: nc: invalid option -- 'U'<br>

nc -h for help: Input/output error<br>str3:null<br>int1:-1<br>int2:-1<br><br>Thanks,<br>Felipe<br clear="all"><br>-- <br><div><b><font color="#000099">-- Felipe Oliveira Gutierrez</font></b></div>
<div><b><font color="#000099">-- </font></b><a href="mailto:lipe.82@gmail.com" target="_blank"><b><font color="#000099">lipe.82@gmail.com</font></b></a></div>
<div><b><font color="#000099">-- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></font></b></div><br>