Cargo
  1. Cargo
  2. CARGO-877

Remote deployment on Jetty 7.1.6 using cargo-jetty-7-and-onwards-deployer fails

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.5
    • Fix Version/s: 1.0.6
    • Component/s: Jetty
    • Labels:
      None
    • Complexity:
      Intermediate
    • Tested on JDKs:
      Sun JDK 6
    • Number of attachments :
      0

      Description

      Refer this: http://old.nabble.com/Remote-deployment-on-Jetty-7-using-cargo-jetty-7-and-onwards-deployer-fails.-ts30349858.html

      Steps to reproduce:

      java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Handler
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
      at java.lang.Class.getConstructor0(Class.java:2699)
      at java.lang.Class.newInstance0(Class.java:326)
      at java.lang.Class.newInstance(Class.java:308)
      at org.eclipse.jetty.servlet.Holder.newInstance(Holder.java:157)
      at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:407)

      Now, I try the same with jetty-distribution-7.2.1.v20101111 and I also try deployments and it all works perfectly. My only suggestion would therefore be to upgrade to Jetty 7.2.1.

        Activity

        Hide
        Savas Ali Tokmen added a comment -

        Just committed revision 2591, that might help.

        Can you please download the latest WAR from http://ci.repository.codehaus.org/org/codehaus/cargo/cargo-jetty-7-and-onwards-deployer/1.0.6-SNAPSHOT/ and try again?

        Cheers

        Show
        Savas Ali Tokmen added a comment - Just committed revision 2591, that might help. Can you please download the latest WAR from http://ci.repository.codehaus.org/org/codehaus/cargo/cargo-jetty-7-and-onwards-deployer/1.0.6-SNAPSHOT/ and try again? Cheers
        Show
        Nishant Neeraj added a comment - great. Thanks. I will check with http://ci.repository.codehaus.org/org/codehaus/cargo/cargo-jetty-7-and-onwards-deployer/1.0.6-SNAPSHOT/cargo-jetty-7-and-onwards-deployer-1.0.6-20101204.130902-20.war (that seem to be the lastest) in report asap
        Hide
        Nishant Neeraj added a comment -

        but the build is dated December 4th. Is that a correct war?

        Show
        Nishant Neeraj added a comment - but the build is dated December 4th. Is that a correct war?
        Hide
        Savas Ali Tokmen added a comment -

        Well, http://bamboo.ci.codehaus.org/browse/CARGO shows that build is still in progress... You can either wait a bit more or compile it for yourself

        Show
        Savas Ali Tokmen added a comment - Well, http://bamboo.ci.codehaus.org/browse/CARGO shows that build is still in progress... You can either wait a bit more or compile it for yourself
        Hide
        Savas Ali Tokmen added a comment -

        Hello, did you retry with the latest snapshot?

        Show
        Savas Ali Tokmen added a comment - Hello, did you retry with the latest snapshot?
        Hide
        Savas Ali Tokmen added a comment -
        Show
        Savas Ali Tokmen added a comment - Revision 2606 of CARGO (Jetty container + Jetty 7 remote deployer) works both with http://download.eclipse.org/jetty/7.1.6.v20100715/dist/jetty-distribution-7.1.6.v20100715.tar.gz and http://download.eclipse.org/jetty/7.2.2.v20101205/dist/jetty-distribution-7.2.2.v20101205.tar.gz This issue is now resolved.

          People

          • Assignee:
            Savas Ali Tokmen
            Reporter:
            Nishant Neeraj
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: