Opened 15 years ago
Closed 10 years ago
#6196 closed defect (fixed)
VirtualBoxSDK-3.1.4-57640 sdk java webservice jax-ws sample not working
Reported by: | Ernst Gill | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 3.1.4 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description (last modified by )
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(IVirtualBox.java:60) at clienttest.<init>(clienttest.java:47) at clienttest.main(clienttest.java:290) Caused by: org.virtualbox_3_1.InvalidObjectFaultMsg: VirtualBox error: Invalid managed object reference "" at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.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(IVirtualBox.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 socket = 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: VirtualBox 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 (2)
comment:1 by , 15 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.