[vbox-dev] Connecting via Java SDK

David Codrington david.codrington at smoothwall.net
Mon Jan 16 01:13:35 PST 2012


Hi,

I'm new to VirtualBox and my requirement is to remotely manage VM's.

I'm trying to use the java SDK to connect via vboxwebsrv.exe. I see a
connection at the web sevice but get the following exception from the
connect command:

reasonText argument for createFault was passed NULL

This is the basic code I am using :

VirtualBoxManager mgr = VirtualBoxManager.createInstance(null);
>
> try {
>
> mgr.connect("http://localhost:18083", "", "");
> }
> catch (VBoxException e) {
>
> return new Error("connect:" + e.getMessage());
> }
>

I appologise if there is a simple/obvious answer to this.

Thanks in advance,

dcod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120116/0fe7b470/attachment-0001.html 


More information about the vbox-dev mailing list