Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: s3-plugin
    • Labels:
    • Environment:
      Jenkins 1.598, S3 plugin 0.7, oracle jdk 7. Ubuntu 14.04 fresh install.
    • Similar Issues:

      Description

      updated Jenkins server but kept Jenkins $HOME from old server. Updated installed plugins including S3 plugin, S3 plugin started throwing errors:

      java.lang.NoClassDefFoundError: org/apache/http/conn/scheme/SchemeSocketFactory
      java.lang.NoClassDefFoundError: org/apache/http/protocol/HttpContext

      I had to drop the httpclient-4.4 and httpcore-4.4 jars from another plugin into the S3 plugin to make it work

        Attachments

          Activity

          Hide
          rossigee Ross Golder added a comment -

          Sorry, just seen your link to 'give it a try' above, but can't seem to figure out how.

          FWIW, the patch looks fine.

          Show
          rossigee Ross Golder added a comment - Sorry, just seen your link to 'give it a try' above, but can't seem to figure out how. FWIW, the patch looks fine.
          Hide
          charleswhchan Charles Chan added a comment -

          Hello Ross,

          You can install a plugin manually this way:
          1. From the above link, download the .hpi file
          2. Manage Jenkins > Manage Plugins > Advanced > Upload

          See:
          http://antagonisticpleiotropy.blogspot.ca/2014/02/installing-jenkins-plugins-in-servers.html

          (Note: If you have the official S3 plugin installed, you should uninstall it first.)

          If everything checks out, I can send a message to Jenkins developers group to see if someone can publish a new official release.

          Show
          charleswhchan Charles Chan added a comment - Hello Ross, You can install a plugin manually this way: 1. From the above link, download the .hpi file 2. Manage Jenkins > Manage Plugins > Advanced > Upload See: http://antagonisticpleiotropy.blogspot.ca/2014/02/installing-jenkins-plugins-in-servers.html (Note: If you have the official S3 plugin installed, you should uninstall it first.) If everything checks out, I can send a message to Jenkins developers group to see if someone can publish a new official release.
          Hide
          rossigee Ross Golder added a comment -

          Yep, installed and working fine. Thanks.

          Show
          rossigee Ross Golder added a comment - Yep, installed and working fine. Thanks.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Charles Chan
          Path:
          pom.xml
          http://jenkins-ci.org/commit/s3-plugin/a30a4c0ca15f149ee71a83a120ad92bdca7ea216
          Log:
          JENKINS-26903 - Add missing httpclient-4.4 and httpcore-4.4 dependencies to resolve java.lang.NoClassDefFoundError

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Charles Chan Path: pom.xml http://jenkins-ci.org/commit/s3-plugin/a30a4c0ca15f149ee71a83a120ad92bdca7ea216 Log: JENKINS-26903 - Add missing httpclient-4.4 and httpcore-4.4 dependencies to resolve java.lang.NoClassDefFoundError
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nicolas De loof
          Path:
          pom.xml
          http://jenkins-ci.org/commit/s3-plugin/845f1bc7765a759956817027c820fc958dd7a08c
          Log:
          Merge pull request #54 from charleswhchan/JENKINS-26903

          JENKINS-26903 - Add missing httpclient-4.4 and httpcore-4.4 dependencies to resolve java.lang.NoClassDefFoundError

          Compare: https://github.com/jenkinsci/s3-plugin/compare/ab3afa1be121...845f1bc7765a

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De loof Path: pom.xml http://jenkins-ci.org/commit/s3-plugin/845f1bc7765a759956817027c820fc958dd7a08c Log: Merge pull request #54 from charleswhchan/ JENKINS-26903 JENKINS-26903 - Add missing httpclient-4.4 and httpcore-4.4 dependencies to resolve java.lang.NoClassDefFoundError Compare: https://github.com/jenkinsci/s3-plugin/compare/ab3afa1be121...845f1bc7765a

            People

            • Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              korishev Morgan Nelson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: