Cactus
  1. Cactus
  2. CACTUS-237

Jetty integration doesn't work with Jetty 5

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Component/s: None
    • Labels:
      None

      Description

      When trying to run a servlet test using the jetty integration and Jetty 5.1.4, the test exiteted with a NoSuchMethodError:java.lang.NoSuchMethodException: org.mortbay.jetty.servlet.FilterHolder.addAppliesTo(java.lang.String)
      at java.lang.Class.getMethod(Class.java:1581)
      at org.apache.cactus.extension.jetty.JettyTestSetup.addFilterRedirector(JettyTestSetup.java:488)
      at org.apache.cactus.extension.jetty.JettyTestSetup.setUp(JettyTestSetup.java:221)
      at org.apache.cactus.extension.jetty.JettyTestSetup$1.protect(JettyTestSetup.java:165)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at org.apache.cactus.extension.jetty.JettyTestSetup.run_aroundBody0(JettyTestSetup.java:174)
      at org.apache.cactus.extension.jetty.JettyTestSetup.run_aroundBody1$advice(JettyTestSetup.java:224)
      at org.apache.cactus.extension.jetty.JettyTestSetup.run(JettyTestSetup.java)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

      It works nicely with Jetty 4.2.24.

        Activity

        Hide
        Petar Tahchiev added a comment -

        This issue is fixed in the HEAD SVN. so I am closing this issue now. There is a problem with Jetty 6 so I am opening another issue.

        Show
        Petar Tahchiev added a comment - This issue is fixed in the HEAD SVN. so I am closing this issue now. There is a problem with Jetty 6 so I am opening another issue.

          People

          • Assignee:
            Petar Tahchiev
            Reporter:
            Lars G. Svensson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development