Errors with Horizon 24, VMware ESXi 6.5, OpenJDK 11

Anyone seeing this with Horizon 24.1.0, ESXi 6.5, OpenJDK 11?

2019-06-10 12:54:48,538 ERROR [pool-10-thread-685] c.v.v.w.WSClient: Exception caught while invoking method: QueryPerfProviderSummary
com.vmware.vim25.InvalidArgument: A specified parameter was not correct: entity
        at jdk.internal.reflect.GeneratedConstructorAccessor407.newInstance(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
        at java.lang.Class.newInstance(Class.java:584) ~[?:?]
        at com.vmware.vim25.ws.XmlGenDom.fromXml(XmlGenDom.java:253) ~[yavijava-6.0.05.jar:?]
        at com.vmware.vim25.ws.XmlGenDom.parseSoapFault(XmlGenDom.java:151) ~[yavijava-6.0.05.jar:?]
        at com.vmware.vim25.ws.XmlGenDom.fromXML(XmlGenDom.java:109) ~[yavijava-6.0.05.jar:?]
        at com.vmware.vim25.ws.SoapClient.unMarshall(SoapClient.java:253) ~[yavijava-6.0.05.jar:?]
        at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:96) [yavijava-6.0.05.jar:?]
        at com.vmware.vim25.ws.VimStub.queryPerfProviderSummary(VimStub.java:1420) [yavijava-6.0.05.jar:?]
        at com.vmware.vim25.mo.PerformanceManager.queryPerfProviderSummary(PerformanceManager.java:98) [yavijava-6.0.05.jar:?]
        at org.opennms.protocols.vmware.VmwareViJavaAccess.queryPerformanceValues(VmwareViJavaAccess.java:375) [opennms-vmware-24.1.0.jar:?]
        at org.opennms.netmgt.collectd.VmwareCollector.collect(VmwareCollector.java:233) [opennms-vmware-24.1.0.jar:?]
        at org.opennms.netmgt.collection.client.rpc.CollectorClientRpcModule$1.get(CollectorClientRpcModule.java:83) [org.opennms.features.collection.client-rpc-24.1.0.jar:?]
        at org.opennms.netmgt.collection.client.rpc.CollectorClientRpcModule$1.get(CollectorClientRpcModule.java:77) [org.opennms.features.collection.client-rpc-24.1.0.jar:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]

All my VMware-* services are showing down / failing datacollection in a similar way.

Different-ish errors in poller.log:

2019-06-10 11:34:02,094 WARN  [pool-9-thread-1484] o.o.n.p.m.VmwareMonitor: Error connecting VMware management server 'example.vmware.host': 'An error occurred getting a response from the connection at url https://example.vmware.host/sdk; nested exception is: 
        java.io.IOException: Server returned HTTP response code: 503 for URL: https://example.vmware.host/sdk' exception: java.rmi.RemoteException cause: 'java.io.IOException: Server returned HTTP response code: 503 for URL: https://example.vmware.host/sdk'
2019-06-10 11:34:07,035 ERROR [pool-9-thread-1486] c.v.v.w.WSClient: Exception caught while invoking method: RetrieveServiceContent
java.rmi.RemoteException: An error occurred getting a response from the connection at url https://example.vmware.host/sdk; nested exception is: 
        java.io.IOException: Server returned HTTP response code: 503 for URL: https://example.vmware.host/sdk
        at com.vmware.vim25.ws.WSClient.getInputStreamFromConnection(WSClient.java:200) ~[yavijava-6.0.05.jar:?]
        at com.vmware.vim25.ws.WSClient.post(WSClient.java:174) ~[yavijava-6.0.05.jar:?]
        at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:94) [yavijava-6.0.05.jar:?]
        at com.vmware.vim25.ws.VimStub.retrieveServiceContent(VimStub.java:1675) [yavijava-6.0.05.jar:?]
        at com.vmware.vim25.mo.ServiceInstance.retrieveServiceContent(ServiceInstance.java:246) [yavijava-6.0.05.jar:?]
        at com.vmware.vim25.mo.ServiceInstance.constructServiceInstance(ServiceInstance.java:126) [yavijava-6.0.05.jar:?]
        at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:79) [yavijava-6.0.05.jar:?]
        at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:69) [yavijava-6.0.05.jar:?]
        at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:64) [yavijava-6.0.05.jar:?]
        at org.opennms.protocols.vmware.ServiceInstancePool.create(ServiceInstancePool.java:83) [opennms-vmware-24.1.0.jar:?]
        at org.opennms.protocols.vmware.ServiceInstancePoolEntry.retain(ServiceInstancePoolEntry.java:73) [opennms-vmware-24.1.0.jar:?]
        at org.opennms.protocols.vmware.ServiceInstancePool.retain(ServiceInstancePool.java:93) [opennms-vmware-24.1.0.jar:?]
        at org.opennms.protocols.vmware.VmwareViJavaAccess.connect(VmwareViJavaAccess.java:213) [opennms-vmware-24.1.0.jar:?]
        at org.opennms.netmgt.poller.monitors.VmwareMonitor.poll(VmwareMonitor.java:125) [opennms-vmware-24.1.0.jar:?]
        at org.opennms.netmgt.poller.client.rpc.PollerClientRpcModule$1.get(PollerClientRpcModule.java:77) [org.opennms.features.poller.client-rpc-24.1.0.jar:?]
        at org.opennms.netmgt.poller.client.rpc.PollerClientRpcModule$1.get(PollerClientRpcModule.java:71) [org.opennms.features.poller.client-rpc-24.1.0.jar:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: https://example.vmware.host/sdk
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1913) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509) ~[?:?]
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245) ~[?:?]
        at com.vmware.vim25.ws.WSClient.getInputStreamFromConnection(WSClient.java:187) ~[yavijava-6.0.05.jar:?]
        ... 19 more

I’m not sure if it’s one, or a combo of a few changes I made around the same time:

  • I did something weird when I reinstalled VMware (free, standalone ESXi)
  • Something broken by OpenJDK 11 (the vmwarecimquery command is at least partially broken by the removal of JAXB stuff from the JDK)
  • Something broken by OpenNMS 24.x

(Originally asked in Mattermost)