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

ClassNotFoundException for org.apache.logging.log4j.core.util.ExecutorServices in output.log

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 21.0.0, 21.0.1, 21.0.2, 21.0.3
    • Fix Version/s: 21.0.4
    • Component/s: Logging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - Jan 24th 2018

      Description

      After updating from Horizon 20.1.0 to 21.0.0 there is an ClassNotFoundException in the output.log file:

      ERROR StatusLogger Failed to preload ExecutorServices class.
       java.lang.ClassNotFoundException: org.apache.logging.log4j.core.util.ExecutorServices not found by org.ops4j.pax.logging.pax-logging-api [5]
      	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1550)
      	at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:79)
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1958)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:264)
      	at org.apache.logging.log4j.util.LoaderUtil.loadClass(LoaderUtil.java:136)
      	at org.apache.logging.log4j.core.LoggerContext.<clinit>(LoggerContext.java:66)
      	at org.ops4j.pax.logging.log4j2.internal.PaxLoggingServiceImpl.configureDefaults(PaxLoggingServiceImpl.java:280)
      	at org.ops4j.pax.logging.log4j2.internal.PaxLoggingServiceImpl.<init>(PaxLoggingServiceImpl.java:114)
      	at org.ops4j.pax.logging.log4j2.internal.Activator.start(Activator.java:128)
      	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
      	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2239)
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2145)
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
      	at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seth Seth Leger
                Reporter:
                indigo Ronny Trommer
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: