1 Reply Latest reply on Jul 25, 2016 4:08 PM by alucarrd

    VSphere Connection Exception

    billblue

      I am trying to register a VMWare server for the first time in DPA.  Any thoughts on this error ?

       

       

      An error occurred connecting to the vSphere server on [VCenter01] for user [DPA]: java.rmi.RemoteException: VI SDK invoke exception [soapMessage=<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body></soapenv:Envelope>]: org.dom4j.DocumentException: Error on line 31 of document http://www.w3.org/TR/html4/loose.dtd : The declaration for the entity "HTML.Version" must end with '>'. Nested exception: The declaration for the entity "HTML.Version" must end with '>'.; nested exception is:

        org.dom4j.DocumentException: Error on line 31 of document http://www.w3.org/TR/html4/loose.dtd : The declaration for the entity "HTML.Version" must end with '>'. Nested exception: The declaration for the entity "HTML.Version" must end with '>'.

       

       

      com.confio.idc.vsphere.exceptions.VSphereConnectionException: An error occurred connecting to the vSphere server on [VCenter01] for user [DPA]: java.rmi.RemoteException: VI SDK invoke exception [soapMessage=<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body></soapenv:Envelope>]: org.dom4j.DocumentException: Error on line 31 of document http://www.w3.org/TR/html4/loose.dtd : The declaration for the entity "HTML.Version" must end with '>'. Nested exception: The declaration for the entity "HTML.Version" must end with '>'.; nested exception is:

        org.dom4j.DocumentException: Error on line 31 of document http://www.w3.org/TR/html4/loose.dtd : The declaration for the entity "HTML.Version" must end with '>'. Nested exception: The declaration for the entity "HTML.Version" must end with '>'.

        at com.confio.idc.vsphere.datasource.VSphereConnectionUtils.translateConnectionException(SourceFile:119)

        at com.confio.idc.vsphere.datasource.VSphereConnectionUtils.getServerConnection(SourceFile:36)

        at com.confio.idc.vsphere.datasource.VSphereConnectionUtils.getServerConnection(SourceFile:42)

        at com.confio.idc.vsphere.registration.VSphereRegistrationServiceImpl.registerService(SourceFile:235)

        at com.confio.iwc.web.controller.vsphere.VSphereRegistrationController$1.executeMethod(SourceFile:230)

        at com.confio.iwc.web.controller.vsphere.VSphereRegistrationController$1.executeMethod(SourceFile:227)

        at com.confio.iwc.web.controller.vsphere.RegistrationServiceThread.run(SourceFile:25)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

      Caused by: java.rmi.RemoteException: VI SDK invoke exception [soapMessage=<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body></soapenv:Envelope>]: org.dom4j.DocumentException: Error on line 31 of document http://www.w3.org/TR/html4/loose.dtd : The declaration for the entity "HTML.Version" must end with '>'. Nested exception: The declaration for the entity "HTML.Version" must end with '>'.; nested exception is:

        org.dom4j.DocumentException: Error on line 31 of document http://www.w3.org/TR/html4/loose.dtd : The declaration for the entity "HTML.Version" must end with '>'. Nested exception: The declaration for the entity "HTML.Version" must end with '>'.

        at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:213)

        at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:139)

        at com.vmware.vim25.ws.VimStub.retrieveServiceContent(VimStub.java:1341)

        at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:118)

        at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:77)

        at com.confio.idc.vsphere.datasource.VSphereConnectionUtils.getServerConnection(SourceFile:28)

        ... 8 more

      Caused by: org.dom4j.DocumentException: Error on line 31 of document http://www.w3.org/TR/html4/loose.dtd : The declaration for the entity "HTML.Version" must end with '>'. Nested exception: The declaration for the entity "HTML.Version" must end with '>'.

        at org.dom4j.io.SAXReader.read(SAXReader.java:482)

        at org.dom4j.io.SAXReader.read(SAXReader.java:343)

        at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:207)

        ... 13 more