#6196 closed defect (fixed)
VirtualBoxSDK-3.1.4-57640 sdk java webservice jax-ws sample not working
回報者: | Ernst Gill | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox 3.1.4 |
關鍵字: | 副本: | ||
Guest type: | other | Host type: | other |
描述 (由 作最後更新)
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.
更動歷史 (2)
注意:
瀏覽 TracTickets
來幫助您使用待辦事項功能