Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35242

Upgraded to new AWS-SDK plugin, jenkins would not start.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • aws-java-sdk-plugin
    • None

      I upgraded to the awe-java-sdk plugin 1.10.45.1, and jenkins would no longer start.

      The error message:

      hudson.util.HudsonFailedToLoad: java.lang.NoClassDefFoundError: org/apache/http/conn/ssl/SSLSocketFactory
      at hudson.WebAppMain$3.run(WebAppMain.java:234)
      Caused by: java.lang.NoClassDefFoundError: org/apache/http/conn/ssl/SSLSocketFactory
      at com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:136)
      at com.amazonaws.services.ec2.AmazonEC2Client.<init>(AmazonEC2Client.java:196)
      at com.amazonaws.services.ec2.AmazonEC2Client.<init>(AmazonEC2Client.java:173)
      at hudson.plugins.ec2.EC2Cloud.connect(EC2Cloud.java:640)
      at hudson.plugins.ec2.EC2Cloud.connect(EC2Cloud.java:609)
      at hudson.plugins.ec2.EC2Computer._describeInstanceOnce(EC2Computer.java:166)
      at hudson.plugins.ec2.EC2Computer._describeInstance(EC2Computer.java:149)
      at hudson.plugins.ec2.EC2Computer.describeInstance(EC2Computer.java:107)
      at hudson.plugins.ec2.EC2Computer.getUptime(EC2Computer.java:133)
      at hudson.plugins.ec2.EC2RetentionStrategy.internalCheck(EC2RetentionStrategy.java:104)
      at hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:85)
      at hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:43)
      at hudson.slaves.SlaveComputer$4.run(SlaveComputer.java:717)
      at hudson.model.Queue._withLock(Queue.java:1306)
      at hudson.model.Queue.withLock(Queue.java:1189)
      at hudson.slaves.SlaveComputer.setNode(SlaveComputer.java:714)
      at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:118)
      at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:44)
      at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:186)
      at hudson.model.Queue._withLock(Queue.java:1306)
      at hudson.model.Queue.withLock(Queue.java:1189)
      at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:169)
      at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1260)
      at jenkins.model.Jenkins.<init>(Jenkins.java:846)
      at hudson.model.Hudson.<init>(Hudson.java:83)
      at hudson.model.Hudson.<init>(Hudson.java:79)
      at hudson.WebAppMain$3.run(WebAppMain.java:225)
      Caused by: java.lang.ClassNotFoundException: org.apache.http.conn.ssl.SSLSocketFactory
      at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
      at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 27 more

            vlatombe Vincent Latombe
            jowiar Joe Arasin
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: