Member.. Dave Northman
Member..
477 views

An another "Couldn't connect to VIM service"

hi,

 

I have this error when i want to access to OVH Vcenter (dedicated datacenter) from hpOO 10.70:

 

{exception=java.lang.RuntimeException: Couldn't connect to VIM service: VI SDK invoke exception:org.dom4j.DocumentException: Error on line 1 of document : White spaces are required between publicId and systemId. Nested exception: White spaces are required between publicId and systemId.
at com.hp.oo.content.wrappers.vijava.VimService.newInstance(VimService.java:145)
at com.opsware.content.actions.vmware.AVimOp.newConnection(AVimOp.java:528)
at com.opsware.content.actions.vmware.AVimOp.getConnection(AVimOp.java:511)
at com.opsware.content.actions.vmware.util.AdvancedSearch.execute(AdvancedSearch.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.hp.oo.sdk.plugins.abstracts.BaseActionPlugin.execute(BaseActionPlugin.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.hp.oo.maven.PluginAdapterImpl.executePlugin(PluginAdapterImpl.java:328)
at com.hp.oo.maven.PluginAdapterImpl.execute(PluginAdapterImpl.java:248)
at com.hp.oo.execution.control.actions.contentexecution.ContentExecutionActions.executeContentAction(ContentExecutionActions.java:97)
at sun.reflect.GeneratedMethodAccessor733.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:62)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:326)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:80)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:167)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:120)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:33)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.rmi.RemoteException: VI SDK invoke exception:org.dom4j.DocumentException: Error on line 1 of document : White spaces are required between publicId and systemId. Nested exception: White spaces are required between publicId and systemId.
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:183)
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:125)
at com.vmware.vim25.ws.VimStub.retrieveServiceContent(VimStub.java:1409)
at com.hp.oo.content.wrappers.vijava.VimService.createServiceInstance(VimService.java:169)
at com.hp.oo.content.wrappers.vijava.VimService.newInstance(VimService.java:141)
... 29 more
;returnCode=-1;returnResult=Couldn't connect to VIM service: VI SDK invoke exception:org.dom4j.DocumentException: Error on line 1 of document : White spaces are required between publicId and systemId. Nested exception: White spaces are required between publicId and systemId.;sessionId=;numberOfResults=;Result=Couldn't connect to VIM service: VI SDK invoke exception:org.dom4j.DocumentException: Error on line 1 of document : White spaces are required between publicId and systemId. Nested exception: White spaces are required between publicId and systemId.;}

 

I use Vitualization CP 1.10.0 and I have no firewall or proxy between my studio and Vcenter.

OVH Vcenter is in 6.0U3 version.

Thanks in advance.

0 Likes
2 Replies
Frequent Contributor.. Mickey Frequent Contributor..
Frequent Contributor..

Re: An another "Couldn't connect to VIM service"

David,

May I know which operation you were working with and what are the parameters you were specifying ??

 

Regards.

0 Likes
Member.. Dave Northman
Member..

Re: An another "Couldn't connect to VIM service"

Hi,

the operation in error:

/Virtualization [1.10.0]/Library/Integrations/VMware/VMware Virtual Infrastructure and vSphere/Utilities/Advanced Search

and it use by the OOTB flow : /Virtualization [1.10.0]/Library/Integrations/VMware/VMware Virtual Infrastructure and vSphere/Samples/Get List Of Powered On VMs

Thanks for your help

Regards,

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.