Jenkins WebSphere Deployer插件错误

时间:2016-04-27 09:07:20

标签: jenkins websphere

我尝试从我的jenkins部署.war文件到web sphere应用服务器 我按照

中提到的步骤进行了跟踪

[https://wiki.jenkins-ci.org/display/JENKINS/IBM+WebSphere+Configuration][1]

我的测试连接已成功

But I got following exception 
Error deploying to IBM WebSphere Application Server:        org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException:   Failed to install artifact: Failure uploading archive to server
    at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.installArtifact(WebSphereDeploymentService.java:251)
    at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.deployArtifact(WebSphereDeployerPlugin.java:227)
    at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:201)
    at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
    at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1047)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
    at hudson.model.Run.execute(Run.java:1763)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:410)

Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
Finished: FAILURE


  [1]: https://wiki.jenkins-ci.org/display/JENKINS/IBM+WebSphere+Configuration

1 个答案:

答案 0 :(得分:0)

如果您通过WebSphere Deployer插件使用SOAP连接器,则可能会遇到此问题,即您要上载需要超过3分钟才能部署的大型EAR文件。请尝试以下方法。

对于要部署到的WebSphere实例,将每个文件中的以下设置更改为更高的超时设置。

[WAS安装] / profiles / [profile] /properties/soap.client.properties

com.ibm.SOAP.requestTimeout = 180(将此设置更改为600或更高)

此设置更改可能需要重新启动WAS。希望这能帮到你!

-WDP Architect