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

Karaf and servlet 2.5/3.0 due recent jetty upgrade causes karaf problems!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.13.0
    • 2.13.0
    • karaf
    • None
    • Unknown

    Description

      Running tests in tests/camel-itest-karaf fails with features that uses servlet 2.5 api with Karaf 2.3.3.

      test:org.apache.camel.itest.karaf.CamelJettyTest.test:KarafTestContainer{mvn:org.apache.karaf/apache-karaf/2.3.3/tar.gz}(org.apache.camel.itest.karaf.CamelJettyTest)  Time elapsed: 10.706 sec  <<< FAILURE!
      java.lang.AssertionError: Cannot get component with name: jetty
      	at org.junit.Assert.fail(Assert.java:93)
      	at org.junit.Assert.assertTrue(Assert.java:43)
      	at org.junit.Assert.assertNotNull(Assert.java:526)
      	at org.apache.camel.itest.karaf.AbstractFeatureTest.testComponent(AbstractFeatureTest.java:64)
      	at org.apache.camel.itest.karaf.CamelJettyTest.test(CamelJettyTest.java:32)
      

      I suspect its the recent jetty 8.x and servlet 3 upgrade that is causing problems.

      Attachments

        Activity

          People

            bvahdat Babak Vahdat
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: