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

WebSphere Deployer Plugin - java.io.IOException: HTTPS hostname wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • Jenkins - 1.621
      WebSphere 8.5.5 Network Deployment
      WebSphere Deployer Plugin - 1.2
      OS : Redhat Linux 6.x

      I am trying to setup Jenkins Continous integration and deployment to WebSphere. WebSphere Version is 8.5.5. I have deployed WebSpehre Deployer Plugin and and test connection to Websphere is successful. How ever, when the build is completed in Jenkins, upload of archive is failing. Here are things I did so far to trouble shoot.

      1. Telnet connectivity from Jenkins to WebSphere Admin Console on HTTP/HTTPS/SOAP ports works fine.
      2. Added WAS Self Signed certs for JRE/lib/cacerts file.
      3. Test Connection from Jenkins successful.
      4. Validated /etc/hosts file and entries are valid. No Mismatch.

      When Jenkins is trying to upload archive, I see the below error in jenkins.log. Host Name is indeed correct. I have searched all through the forums and read FAQ and Wik and did all the steps suggested. Still getting the below error. Any help here is appreciated.

      SEVERE: ADFS0112E: File transfer has failed with the following message: Upload retry limit exceeded for file /export/local/opt/jenkins/jobs/PROPERTYCENTR-GPW-PORTAL/app_build_property/deployment-packages/pc.ear. Exception: java.io.IOException: HTTPS hostname wrong: should be <dlccasdmart01.r1-core.r1.aig
      com.ibm.websphere.management.exception.AdminException: Failure uploading archive to server
      at com.ibm.websphere.management.application.AppManagementProxy.uploadArchive(AppManagementProxy.java:732)
      at com.ibm.websphere.management.application.AppManagementProxy.installApplication(AppManagementProxy.java:528)
      at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.installArtifact(WebSphereDeploymentService.java:163)
      at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.deployArtifact(WebSphereDeployerPlugin.java:193)
      at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:171)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      at hudson.model.Run.execute(Run.java:1766)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:381)
      Caused by: com.ibm.websphere.management.filetransfer.client.TransferFailedException: Upload retry limit exceeded for file /export/local/opt/jenkins/jobs//workspace/UW-GPW-PORTAL/app_build_property/deployment-packages/pc.ear. Exception: java.io.IOException: HTTPS hostname wrong: should be <dlccasdmart01.r
      at com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.uploadFileInternal(FileTransferClientImpl.java:595)
      at com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.uploadFile(FileTransferClientImpl.java:462)
      at com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.uploadFile(FileTransferClientImpl.java:369)
      at com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.uploadFile(FileTransferClientImpl.java:293)
      at com.ibm.ws.management.application.client.AppInstallHelper.copyToServer(AppInstallHelper.java:1245)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.ibm.websphere.management.application.AppManagementProxy.uploadArchive(AppManagementProxy.java:718)
      ... 13 more

        1. cacerts.txt
          126 kB
        2. Capture.PNG
          Capture.PNG
          21 kB
        3. DMConsole.png
          DMConsole.png
          147 kB
        4. Jenkins_installed_Plugins.png
          Jenkins_installed_Plugins.png
          154 kB
        5. jenkins_plugin_config_2.png
          jenkins_plugin_config_2.png
          36 kB
        6. Jenkins_Pluginconfig.png
          Jenkins_Pluginconfig.png
          39 kB
        7. Pluginconfig -3.png
          Pluginconfig -3.png
          36 kB
        8. screenshot-1.png
          screenshot-1.png
          21 kB
        9. screenshot-2.png
          screenshot-2.png
          73 kB

            gpeters Greg Peters
            cskalyan Siva Chittamuru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: