Uploaded image for project: 'Pax Web'
  1. PAXWEB-1204

ClassNotFoundException raised starting servlet context

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 7.2.9
    • Fix versions: 7.3.4, 7.2.10
    • Components: Jetty Container
    • Labels:
      None
    • Sprint:

      Description

      After upgrade to Jetty 9.4.18, in Apache Karaf, while installing the webconsole feature, we can see in the log:

      18:40:34.253 ERROR [paxweb-config-1-thread-1] Could not start the servlet context for context path []
      java.lang.ClassNotFoundException: org.eclipse.jetty.util.thread.QueuedThreadPool$2 not found by org.eclipse.jetty.util [81]
              at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639) ~[?:?]
              at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80) ~[?:?]
              at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053) ~[?:?]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
              at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:359) ~[?:?]
              at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:252) ~[?:?]
              at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerResources(HttpServiceStarted.java:307) ~[?:?]
              at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerResources(HttpServiceProxy.java:76) ~[?:?]
              at org.apache.felix.webconsole.internal.servlet.OsgiManager.bindHttpService(OsgiManager.java:951) ~[?:?]
              at org.apache.felix.webconsole.internal.servlet.OsgiManager$HttpServiceTracker.addingService(OsgiManager.java:876) ~[?:?]
              at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941) ~[?:?]
              at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870) ~[?:?]
              at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) ~[?:?]
              at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) ~[?:?]
              at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:901) ~[?:?]
              at org.apache.felix.framework.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:990) ~[?:?]
              at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:838) ~[?:?]
              at org.apache.felix.framework.EventDispatcher.fireServiceEvent(EventDispatcher.java:545) ~[?:?]
              at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4595) ~[?:?]
              at org.apache.felix.framework.Felix.registerService(Felix.java:3587) ~[?:?]
              at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:348) ~[?:?]
              at org.ops4j.pax.web.service.internal.Activator.updateController(Activator.java:426) ~[?:?]
              at org.ops4j.pax.web.service.internal.Activator.lambda$scheduleUpdateFactory$1(Activator.java:344) ~[?:?]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
              at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
              at java.lang.Thread.run(Thread.java:748) [?:?]
      

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofre
              Reporter:
              jbonofre Jean-Baptiste Onofre
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: