com.ibm.websphere.management.exception.AdminException: Failure uploading archive to server

jenkins-ci.org | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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. * i followed the instructions from this URL as well to see if that helps to resolve the problem and still no luck. * https://wiki.jenkins-ci.org/display/JENKINS/IBM+WebSphere+Configuration 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

    Jenkins JIRA | 2 years ago | Siva Chittamuru
    com.ibm.websphere.management.exception.AdminException: Failure uploading archive to server
  2. 0

    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. * i followed the instructions from this URL as well to see if that helps to resolve the problem and still no luck. * https://wiki.jenkins-ci.org/display/JENKINS/IBM+WebSphere+Configuration 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

    Jenkins JIRA | 2 years ago | Siva Chittamuru
    com.ibm.websphere.management.exception.AdminException: Failure uploading archive to server
  3. 0

    [JENKINS-29841] WebSphere Deployer Plugin - java.io.IOException: HTTPS hostname wrong - Jenkins JIRA

    jenkins-ci.org | 8 months ago
    com.ibm.websphere.management.exception.AdminException: Failure uploading archive to server
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.ibm.ws
      AppInstallHelper.copyToServer
      1. com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.uploadFileInternal(FileTransferClientImpl.java:595)
      2. com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.uploadFile(FileTransferClientImpl.java:462)
      3. com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.uploadFile(FileTransferClientImpl.java:369)
      4. com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.uploadFile(FileTransferClientImpl.java:293)
      5. com.ibm.ws.management.application.client.AppInstallHelper.copyToServer(AppInstallHelper.java:1245)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. com.ibm.websphere
      AppManagementProxy.installApplication
      1. com.ibm.websphere.management.application.AppManagementProxy.uploadArchive(AppManagementProxy.java:718)
      2. com.ibm.websphere.management.application.AppManagementProxy.installApplication(AppManagementProxy.java:528)
      2 frames
    5. org.jenkinsci.plugins
      WebSphereDeployerPlugin.perform
      1. org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.installArtifact(WebSphereDeploymentService.java:163)
      2. org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.deployArtifact(WebSphereDeployerPlugin.java:193)
      3. org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:171)
      3 frames
    6. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      4. hudson.model.Build$BuildExecution.post2(Build.java:185)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      6. hudson.model.Run.execute(Run.java:1766)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:381)
      9 frames