Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17959

OpenTelemetry is complaining about "java.lang.NoClassDefFoundError: sun/misc/Unsafe"

XMLWordPrintable

      When Otel is enabled in a WildFly, it complains – if only once – with this:

      WARNING [io.opentelemetry.sdk.trace.internal.JcTools] (default task-1) Cannot create high-performance queue, reverting to ArrayBlockingQueue (java.lang.NoClassDefFoundError: sun/misc/Unsafe)

      We need to add <module name="jdk.unsupported"/> to the appropriate module.xml

              jaslee@redhat.com Jason Lee
              jaslee@redhat.com Jason Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: