Folks,

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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a0801d89-b487-4c8d-8c66-bffcd3094b78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to