Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10713

WS-Man datacollection fail with OpenJDK11

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 24.1.0
    • Fix Version/s: 24.1.1
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Ubuntu 18.04
      openjdk version "11.0.3" 2019-04-16
      OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
      OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)
    • Sprint:
      Horizon 2019 - June 12th 2020, Horizon 2019 - June 19th 2019

      Description

      switched to OpenJDK11

      2019-05-24 12:01:07,213 ERROR [Collectd-Thread-106-of-150] o.o.n.c.CollectableService: Collection failed : java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: javax/jws/WebService
      org.opennms.netmgt.collection.api.CollectionException: Collection failed : java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: javax/jws/WebService
              at org.opennms.netmgt.collection.core.CollectionSpecification$1.onUnknown(CollectionSpecification.java:313) ~[org.opennms.features.collection.core-24.1.0.jar:?]
              at org.opennms.netmgt.collection.core.CollectionSpecification$1.onUnknown(CollectionSpecification.java:289) ~[org.opennms.features.collection.core-24.1.0.jar:?]
              at org.opennms.core.rpc.api.RpcExceptionUtils.handleException(RpcExceptionUtils.java:56) ~[org.opennms.core.ipc.rpc.api-24.1.0.jar:?]
              at org.opennms.netmgt.collection.core.CollectionSpecification.collect(CollectionSpecification.java:289) ~[org.opennms.features.collection.core-24.1.0.jar:?]
              at org.opennms.netmgt.collectd.CollectableService.doCollection(CollectableService.java:438) ~[opennms-services-24.1.0.jar:?]
              at org.opennms.netmgt.collectd.CollectableService.doRun(CollectableService.java:370) ~[opennms-services-24.1.0.jar:?]
              at org.opennms.netmgt.collectd.CollectableService.lambda$run$0(CollectableService.java:344) ~[opennms-services-24.1.0.jar:?]
              at org.opennms.core.logging.Logging.withPrefix(Logging.java:71) [org.opennms.core.logging-24.1.0.jar:?]
              at org.opennms.netmgt.collectd.CollectableService.run(CollectableService.java:337) [opennms-services-24.1.0.jar:?]
              at org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:179) [org.opennms.core.daemon-24.1.0.jar:?]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
              at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124) [opennms-util-24.1.0.jar:?]
              at java.lang.Thread.run(Thread.java:834) [?:?]
      Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: javax/jws/WebService
              at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) ~[?:?]
              at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999) ~[?:?]
              at org.opennms.netmgt.collection.core.CollectionSpecification.collect(CollectionSpecification.java:281) ~[org.opennms.features.collection.core-24.1.0.jar:?]
              ... 10 more
      

      switch back to OpenJDK8 and datacollection works again

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              mlaercher Martin Laercher
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: