Displaying 5 results from an estimated 5 matches for "hasconn".
2013 Dec 05
1
Using Java bindings to event callback
...gs to event callback.
int register = conn.domainEventRegisterAny(null, 0, cb);
But always get the following error message:
libvirt: Remote Driver error : adding cb to list
exception caught:org.libvirt.LibvirtException: adding cb to list
level:VIR_ERR_ERROR
code:VIR_ERR_RPC
domain:VIR_FROM_REMOTE
hasConn:false
hasDom:false
hasNet:false
message:adding cb to list
str1:%s
str2:adding cb to list
str3:null
int1:-1
int2:-1
By the way I also trace the mail list
*[libvirt] [PATCH] Java bindings for domain events* (2008 Nov 07)
*[libvirt] [PATCH 1/2] Java bindings for domain events**[libvirt]
[PATCH 2/2]...
2011 Jun 03
0
Unable to migrate a vm
...as:
run:
Domain:hda2 id 11 running hvm
libvir: Domain error : operation virDomainMigrate forbidden for read only
access
exception FOUR caught:org.libvirt.LibvirtException: operation
virDomainMigrate forbidden for read only access
level:VIR_ERR_ERROR
code:VIR_ERR_OPERATION_DENIED
domain:VIR_FROM_DOM
hasConn:false
hasDom:false
hasNet:false
message:operation virDomainMigrate forbidden for read only access
str1:operation %s forbidden for read only access
str2:virDomainMigrate
str3:null
int1:-1
int2:-1
BUILD SUCCESSFUL (total time: 9 seconds)
PLEASE help me. I've been stuck with it for three days!...
2012 Oct 02
1
Connection using Java
...le 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
-...
2012 Oct 02
0
libvirt Java to connect at the XEN
...invoking org.freedesktop.PolicyKit1.Authority.CheckAuthorization() on
/org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1:
org.freedesktop.PolicyKit1.Error.Failed: Action org.libvirt.unix.manage is
not registered
level:VIR_ERR_ERROR
code:VIR_ERR_AUTH_FAILED
domain:VIR_FROM_RPC
hasConn:false
hasDom:false
hasNet:false
message:authentication failed: Error checking for authorization
org.libvirt.unix.manage: Remote Exception invoking
org.freedesktop.PolicyKit1.Authority.CheckAuthorization() on
/org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1:
org.freedesktop.P...
2012 Apr 09
0
virsh works but libvirt-java throws a 'No route to host'
...fy=1
Enter root's password for 192.168.1.23
WARNING: THE ENTERED PASSWORD WILL NOT BE MASKED!
mytestpass
exception caught:org.libvirt.LibvirtException: unable to connect to server
at '192.168.1.23:16514': No route to host
level:VIR_ERR_ERROR
code:VIR_ERR_SYSTEM_ERROR
domain:VIR_FROM_RPC
hasConn:false
hasDom:false
hasNet:false
message:unable to connect to server at '192.168.1.23:16514': No route to
host
str1:%s
str2:unable to connect to server at '192.168.1.23:16514': No route to host
str3:null
int1:-1
int2:-1
Exception in thread "main" java.lang.reflect.Invocati...