[libvirt] Libvirt-Java Binding

Daniel Veillard veillard at redhat.com
Thu May 7 14:44:12 UTC 2009


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 at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list