1 Reply Latest reply on Feb 14, 2019 1:41 AM by JoBiNGeOrG

    VMware SDK with Java 10

    Jeff1868 Lurker

      Has anyone tried using the VMware SDK with Java 10? The samples work fine with Java 1.7 and 1.8 but i have challenges with 10.0.2 and 11.0.13. 

      Connection to vCenter fails with the following exception:

      javax.xml.ws.soap.SOAPFaultException: javax.xml.stream.XMLStreamException: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:

      sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:1326)
      at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.demarshalFaultResponse(MethodMarshallerUtils.java:1052)
      at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalFaultResponse(DocLitWrappedMethodMarshaller.java:659)
      at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.getFaultResponse(JAXWSProxyHandler.java:578)
      at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:520)
      at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:386)
      at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:171)
      at com.sun.proxy.$Proxy11.retrieveServiceContent(Unknown Source)
      at Vm25Connection.getEsxConnection(Vm25Connection.java:81)

      Any help/tips much appreciated.