VirtualBox

Opened 14 years ago

Last modified 9 years ago

#6196 closed defect

VirtualBoxSDK-3.1.4-57640 sdk java webservice jax-ws sample not working — at Initial Version

Reported by: Ernst Gill Owned by:
Component: other Version: VirtualBox 3.1.4
Keywords: Cc:
Guest type: other Host type: other

Description

I try to use the examples for java/jax-ws webservice on Windows 7 with the jdk1.6.0_18 Compiling works as expected, but running the clienttest gives the following error:

From java machine I got the following error: "C:/Program Files (x86)/Java/jdk1.6.0_18"/bin/java -cp ../lib/vboxws_java16.jar: ./gen16 clienttest show vms Exception in thread "main" javax.xml.ws.WebServiceException: org.virtualbox_3_1. InvalidObjectFaultMsg: VirtualBox error: Invalid managed object reference ""

at com.sun.xml.ws.commons.virtualbox_3_1.IVirtualBox.getVersion(IVirtual

Box.java:60)

at clienttest.<init>(clienttest.java:47) at clienttest.main(clienttest.java:290)

Caused by: org.virtualbox_3_1.InvalidObjectFaultMsg: VirtualBox error: Invalid m anaged object reference ""

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

orAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC

onstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFa

ultBuilder.java:130)

at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMetho

dHandler.java:108)

at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMetho

dHandler.java:78)

at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107) at $Proxy33.iVirtualBoxGetVersion(Unknown Source) at com.sun.xml.ws.commons.virtualbox_3_1.IVirtualBox.getVersion(IVirtual

Box.java:57)

... 2 more

From the VirtualBox 3.1.4 vboxwebsrv.exe the error: Sun VirtualBox Webservice Version 3.1.4 (C) 2005-2010 Sun Microsystems, Inc. All rights reserved. Socket connection successful: host = default (localhost), port = 18083, master s ocket = 448 1: accepted connection from IP=127.0.0.1 socket=216... Request served 2: accepted connection from IP=127.0.0.1 socket=216... #### SOAP FAULT: VirtualB ox error: Invalid managed object reference "" [SOAP-ENV:Client] Request served

This was also not working in 3.1.2 and I have no idea whats wrong here.

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use