WebService problems
Posted: 12. Jan 2013, 23:08
I'm having a problem with the vboxwebsrv app on windows. 'm on windows 7 and all my VMs are stored in c:\users\Richard\VirtualBox Vms but when I launch the web service, and try to get the guest property of a vm, the web service tries to load information in c:\users\Richard\.VirtualBox\VMNAME anything I can do to change that ?
There is no such options for vboxwebsrv to specify the folder for vms, at least not displayed with "vboxwebsrv --help"
I'm using vbox 4.2.4 if that can help
Here's the output of the web service execution :
00:00:17.628000 SQW01 New SOAP thread started
00:00:17.628000 SQW01 Processing connection from IP=127.0.0.1 socket=784 (0 out of 1 threads idle)
00:00:17.675000 SQW01 API return code: 0x80004005 (E_FAIL)
00:00:17.675000 SQW01 COM error info result code: 0x80004005
00:00:17.675000 SQW01 COM error info text: Runtime error opening 'C:\Users\richard\.VirtualBox\test2' for reading: -102 (File not found.).
00:00:17.675000 SQW01 D:\tinderbox\win-4.2\src\VBox\Main\src-server\MachineImpl.cpp[469] (long __cdecl Machine::initFromSettings(class VirtualBox *,const class com::Utf8Str &,const class com::Guid *))
Anything I can do to fix/change that folder ?
My ultimate goal in fact is to be able to clone a VM, start it, and get it's ip once it is finished starting, all that through the web service of my other machine that will hosts all the vms (so not local to the executing code, because I could get the ip from the ARP table directly...)
There is no such options for vboxwebsrv to specify the folder for vms, at least not displayed with "vboxwebsrv --help"
I'm using vbox 4.2.4 if that can help
Here's the output of the web service execution :
00:00:17.628000 SQW01 New SOAP thread started
00:00:17.628000 SQW01 Processing connection from IP=127.0.0.1 socket=784 (0 out of 1 threads idle)
00:00:17.675000 SQW01 API return code: 0x80004005 (E_FAIL)
00:00:17.675000 SQW01 COM error info result code: 0x80004005
00:00:17.675000 SQW01 COM error info text: Runtime error opening 'C:\Users\richard\.VirtualBox\test2' for reading: -102 (File not found.).
00:00:17.675000 SQW01 D:\tinderbox\win-4.2\src\VBox\Main\src-server\MachineImpl.cpp[469] (long __cdecl Machine::initFromSettings(class VirtualBox *,const class com::Utf8Str &,const class com::Guid *))
Anything I can do to fix/change that folder ?
My ultimate goal in fact is to be able to clone a VM, start it, and get it's ip once it is finished starting, all that through the web service of my other machine that will hosts all the vms (so not local to the executing code, because I could get the ip from the ARP table directly...)