Re: [libvirt] Libvirt-Java Binding

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

 



Hello,

The versions I use are all 0.4.6.
The packages are
libvirt-0.4.6
libvirt-bin_0.4.6-10_i386.deb
libvirt0_0.4.6-10_i386.deb

Is there any workaround or something like that?
I need to close the connection because after about 1,5 minutes I have so many opened connections that my program cannot open any more and thus cannot be used anymore. For fixing that I have to restart the machine which runs XEN/libvirt.

Thanks,
Marcel

----- Original Message ----- From: "Daniel Veillard" <veillard@xxxxxxxxxx>
To: "Marcel Michelmann" <michelma@xxxxxxxxxxxxxx>
Cc: <libvir-list@xxxxxxxxxx>
Sent: Thursday, May 07, 2009 4:44 PM
Subject: Re: [libvirt] Libvirt-Java Binding


On Thu, May 07, 2009 at 04:26:36PM +0200, Marcel Michelmann wrote:
Hello,

I created a program in Java for communicating with a libvirt/XEN host over
SSH. For every update I create a new connection.
It just runs about 1 1/2 minutes. I guess it is because I do not close any
of these connections.

When I tried to close them after having used them (Connect.close()) the
program hangs. But after pressing Ctrl+C the program stops and the results
are shown.

Is that a bug in the libvirt-Java binding? Does anybody else have the same
problem with Connect.close()?

 I remember a bug being raised about closing the connection in the
java bindings, yes, but I didn't had the time to chase it out though :-\
It used to work with libvirt prior to 0.5.x IIRC, sorry it's not very
precise.

Daniel

--
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


--
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]