Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15734

Karaf 4.2.10 jetty incompability with Camel 3.4.4 (or 3.6.0)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Information Provided
    • 3.4.4, 3.6.0
    • None
    • camel-servlet
    • None
    • Camel 3.4.4 or 3.6.0 with Karaf 4.2.10 , OpenJDK 11, Linux

    • Unknown

    Description

      Karaf just released 4.2.10 version and seems like Jetty is again upgraded and causes incompability issues. Not sure if this is Camel or Karaf project issue, but reporting here. Stack trace below when installing camel-servlet component:

      2020-10-22T12:29:23,689 | ERROR | Karaf ssh console user karaf | ShellUtil | 36 - org.apache.karaf.shell.core - 4.2.10 | Exception caught while executing command org.apache.karaf.features.internal.util.MultiException: Error restarting bundles: Activator start error in bundle org.ops4j.pax.web.pax-web-jetty [255]. at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1045) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?] 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) [?:?] Suppressed: org.osgi.framework.BundleException: Activator start error in bundle org.ops4j.pax.web.pax-web-jetty [255]. at org.apache.felix.framework.Felix.activateBundle(Felix.java:2290) ~[?:?] at org.apache.felix.framework.Felix.startBundle(Felix.java:2146) ~[?:?] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[?:?] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[?:?] at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165) ~[?:?]
      at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1153) ~[?:?] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1037) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?] 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.lang.NoClassDefFoundError: org/eclipse/jetty/server/HttpConfiguration$Customizer at org.ops4j.pax.web.service.jetty.internal.Activator.start(Activator.java:109) ~[?:?] at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) ~[?:?] at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240) ~[?:?] ... 12 more Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.HttpConfiguration$Customizer not found by org.eclipse.jetty.aggregate.jetty-all-server [253]
      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:522) ~[?:?] at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1414) ~[?:?] at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1660) ~[?:?] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1590) ~[?:?]
      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:522) ~[?:?]
      at org.ops4j.pax.web.service.jetty.internal.Activator.start(Activator.java:109) ~[?:?]
      at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) ~[?:?]
      at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240) ~[?:?]

      Attachments

        Activity

          People

            Unassigned Unassigned
            tapiiron Tapio Piironen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: