当页导航

Jenkins无法自动部署到WAS,及完整的报错信息

公司有两套was环境,一套可以完成自动部署,一套就不行,两套的配置信息贴在最下面仅供参考。以下是报错信息,所有日志(SystemOut.log、SystemErr.log)均无输出:Deploying 'HPE_CONNECTION' to IBM WebSphere Application Server Error deploying to IBM WebSphere Application Serv...显示全部

公司有两套was环境,一套可以完成自动部署,一套就不行,两套的配置信息贴在最下面仅供参考。

以下是报错信息,所有日志(SystemOut.log、SystemErr.log)均无输出:

Deploying 'HPE_CONNECTION' to IBM WebSphere Application Server
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:779)
        at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
        at hudson.model.Build$BuildExecution.post2(Build.java:185)
        at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
        at hudson.model.Run.execute(Run.java:1745)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:98)
        at hudson.model.Executor.run(Executor.java:404)

Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE
Finished: FAILURE

仅供参考:

可以直接部署的was相关信息是:

WebSphere [IBMJAVA8 8.0.2.10 cf091608.04][IBMJAVA7 7.0.4.1 gm1318.03]Platform 8.5.5.9 [BASE 8.5.5.9 cf091608.05] ru
nning with process name op40243Node07Cellop40243Node07server1 and process id 10635
Host Operating System is Linux, version 3.0.76-0.11-default
Java version = 1.6.0, Java Runtime Version = pxa6460_26sr8fp20-20160111_01 (SR8 FP20), Java Compiler = j9jit26, Jav
a VM name = IBM J9 VM
was.install.root = /opt/IBM/WebSphere/AppServer
user.install.root = /opt/IBM/WebSphere/AppServer/profiles/AppSrv07
Java Home = /opt/IBM/WebSphere/AppServer/java/jre
ws.ext.dirs = /opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/profiles/AppSrv07/classes:/opt/IBM
/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/I
BM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/pl
ugins/com.ibm.etools.ejbdeploy/runtime
Classpath = /opt/IBM/WebSphere/AppServer/profiles/AppSrv07/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/
IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer
/lib/jsf-nls.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/op
t/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/opt/
IBM/WebSphere/AppServer/java/lib/tools.jar

无法正常发版的was相关信息是:

WebSphere [IBMJAVA8 8.0.2.10 cf091608.04]Platform 8.5.5.9 [ND 8.5.5.9 cf091608.05] running with process name sleswa
sNode07CellsleswasNode07server1 and process id 26434
Host Operating System is Linux, version 3.0.76-0.11-default
Java version = 1.8.0, Java Runtime Version = pxz6480sr2fp10ifx-20160222_02 (SR2 FP10+IV81645+IV81741+IV81716), Java
 Compiler = j9jit28, Java VM name = IBM J9 VM
was.install.root = /opt/IBM/WebSphere/AppServer
user.install.root = /opt/IBM/WebSphere/AppServer/profiles/AppSrv07
Java Home = /opt/IBM/WebSphere/AppServer/java_1.8_64/jre
ws.ext.dirs = /opt/IBM/WebSphere/AppServer/java_1.8_64/lib:/opt/IBM/WebSphere/AppServer/profiles/AppSrv07/classes:/
opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels
:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool
/itp/plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = /opt/IBM/WebSphere/AppServer/profiles/AppSrv07/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/
IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer
/lib/jsf-nls.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/op
t/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/opt/
IBM/WebSphere/AppServer/java_1.8_64/lib/tools.jar
收起
希望获得:具体解决, 注意事项, 实例参考

查看其它 1 个回答韩尛哲的回答

韩尛哲韩尛哲其它 , 量子技术研究院
lyuedoudou123赞同了此回答

好吧竟然是hosts的问题,请大家注意hosts解析

答案包含:具体解决, 通用方法 2016-12-26

提问者

韩尛哲其它, 量子技术研究院
发布7
回答6

请稍候...