简体   繁体   English

Jenkins-将EAR部署到IBM WebSphere Application Server时出错

[英]Jenkins - Error when deploying EAR to IBM WebSphere Application Server

(Updated as of 8 May 2018) (于2018年5月8日更新)

This is about an issue experienced during the connection phase when deploying EAR to WebSphere Application Server in Jenkins using the "WebSphere Deployer Plugin". 这是关于在使用“ WebSphere Deployer插件”将EAR部署到Jenkins中的WebSphere Application Server的连接阶段中遇到的一个问题。

System information: 系统信息:

[Jenkins] [詹金斯]
Jenkins version: 2.107.2 詹金斯版本:2.107.2
java.runtime.version (as seen from Jenkins Admin UI): 1.8.0_144-b01 java.runtime.version(从Jenkins Admin UI中看到):1.8.0_144-b01

[Jenkins - WebSphere Deployer Plugin] [Jenkins-WebSphere Deployer插件]
Version: 1.6.1 版本:1.6.1
Copied the relevant JAR files (from C:\\IBM\\WebSphere\\AppServer\\runtimes and C:\\IBM\\WebSphere\\AppServer\\plugins) to C:\\Program Files (x86)\\Jenkins\\plugins\\websphere-deployer\\WEB-INF\\lib. 将相关的JAR文件(从C:\\ IBM \\ WebSphere \\ AppServer \\ runtimes和C:\\ IBM \\ WebSphere \\ AppServer \\ plugins复制到C:\\ Program Files(x86)\\ Jenkins \\ plugins \\ websphere-deployer \\ WEB-INF \\ lib。
Cell/Node/Server info is specified in the plugin configuration (same as what is shown in "Show Available Targets"). 在插件配置中指定了单元/节点/服务器信息(与“显示可用目标”中显示的信息相同)。

[IBM WebSphere Application Server] [IBM WebSphere Application Server]
WAS version: 9.0.0.7 WAS版本:9.0.0.7
Java version: 1.8.0_151 Java版本:1.8.0_151
Administrative security: Enabled 管理安全性:已启用
Application security: Disabled 应用程序安全性:禁用
SOAP connection port: 8880 (checked to be not being blocked by firewall) SOAP连接端口:8880(检查是否未被防火墙阻止)
Telnet to port 8880 is successful Telnet到端口8880成功
Command line login to wsadmin via port 8880 is successful 通过端口8880命令行登录到wsadmin成功

The "Test Connection" is successful. “测试连接”成功。 Unfortunately, in the actual job run the deploy phase still fails at connection. 不幸的是,在实际的作业运行中,部署阶段仍在连接时失败。

The relevant log information is as follows 相关日志信息如下

[ Jenkins console log / job log (displayed in the Jenkins Admin UI "Console Output") ] [ Jenkins控制台日志/作业日志(显示在Jenkins Admin UI“控制台输出”中) ]

12:48:31 Connecting to IBM WebSphere Application Server... 12:48:31连接到IBM WebSphere Application Server ...
12:48:31 The following artifacts will be deployed in this order... 12:48:31以下工件将按此顺序部署...
12:48:31 ------------------------------------------- 12:48:31 -------------------------------------------
12:48:36 [EAR file path] Last modified on May 08, 2018 12:47:56 12:48:36 [EAR文件路径]最后修改于2018年5月8日12:47:56
12:48:36 ------------------------------------------- 12:48:36 -------------------------------------------
12:48:59 Artifact is being deployed to virtual host: default_host 12:48:59工件已部署到虚拟主机:default_host
12:49:08 Error deploying to IBM WebSphere Application Server: Could not determine if artifact ' [App name] ' is installed: AdminException: 12:49:08部署到IBM WebSphere Application Server时出错:无法确定是否安装了工件' [App name] ':AdminException:
12:49:08 Performing rollback of ' [App name] ' 12:49:08执行“ [应用名称] ”的回滚
12:49:08 WARNING: Artifact doesn't exist rollback repository 12:49:08警告:工件不存在回滚存储库
12:49:08 Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE 12:49:08构建步骤“ Deploy to IBM WebSphere Application Server”将构建结果更改为FAILURE
12:49:12 Finished: FAILURE 12:49:12完成:失败

[ Jenkins error log (C:\\Program Files (x86)\\Jenkins\\jenkins.err.log) ] [ Jenkins错误日志(C:\\ Program Files(x86)\\ Jenkins \\ jenkins.err.log) ]

May 08, 2018 12:43:47 PM hudson.WebAppMain$3 run 2018年5月8日下午12:43:47 hudson.WebAppMain $ 3运行
INFO: Jenkins is fully up and running INFO:Jenkins已完全启动并运行
May 08, 2018 12:43:53 PM javax.jmdns.impl.DNSStatefulObject$DefaultImplementation waitForAnnounced WARNING: Wait for announced timed out: DNS: [Host name] . 2018年5月8日12:43:53 PM javax.jmdns.impl.DNSStatefulObject $ DefaultImplementation waitForAnnounced警告:等待宣布超时:DNS: [主机名] state: announcing 2 task: Announcer( [Host name] ) state: announcing 状态:宣布2任务:播音员( [主机名] )状态:宣布
2 May 08, 2018 12:45:52 PM com.ibm.websphere.management.AdminClientFactory 2018年5月2日下午12:45:52 com.ibm.websphere.management.AdminClientFactory
WARNING: ADMC0046W: The system failed to load properties from com.ibm.SOAP.configURL: file:null/properties/soap.client.props 警告:ADMC0046W:系统无法从com.ibm.SOAP.configURL加载属性:file:null / properties / soap.client.props
May 08, 2018 12:45:54 PM com.ibm.ws.ssl.config.SSLConfigManager 2018年5月8日12:45:54 com.ibm.ws.ssl.config.SSLConfigManager
INFO: CWPKI0051I: The process has the java security property jdk.certpath.disabledAlgorithms set to [MD2, MD5, SHA1 jdkCA & usage TLSServer, RSA keySize < 1024, DSA keySize < 1024, EC keySize < 224]. 信息:CWPKI0051I:该进程的Java安全属性jdk.certpath.disabledAlgorithms设置为[MD2,MD5,SHA1 jdkCA和使用情况TLSServer,RSA keySize <1024,DSA keySize <1024,EC keySize <224]。 The WebSphere Application server is setting the java security property jdk.certpath.disabledAlgorithms to [MD2, RSA keySize < 1024, MD5]. WebSphere Application Server正在将Java安全属性jdk.certpath.disabledAlgorithms设置为[MD2,RSA keySize <1024,MD5]。
May 08, 2018 12:45:54 PM com.ibm.ws.ssl.config.SSLConfigManager 2018年5月8日12:45:54 com.ibm.ws.ssl.config.SSLConfigManager
INFO: CWPKI0051I: The process has the java security property jdk.tls.disabledAlgorithms set to [SSLv3, RC4, MD5withRSA, DH keySize < 768, EC keySize < 224]. 信息:CWPKI0051I:该进程的Java安全属性jdk.tls.disabledAlgorithms设置为[SSLv3,RC4,MD5withRSA,DH keySize <768,EC keySize <224]。 The WebSphere Application server is setting the java security property jdk.tls.disabledAlgorithms to [SSLv3, RC4, DH keySize < 768, MD5withRSA]. WebSphere Application Server正在将Java安全属性jdk.tls.disabledAlgorithms设置为[SSLv3,RC4,DH keySize <768,MD5withRSA]。
May 08, 2018 12:45:54 PM com.ibm.ws.ssl.config.SSLConfigManager 2018年5月8日12:45:54 com.ibm.ws.ssl.config.SSLConfigManager
INFO: CWPKI0027I: Disabling default hostname verification for HTTPS URL connections. INFO:CWPKI0027I:禁用HTTPS URL连接的默认主机名验证。
May 08, 2018 12:45:54 PM com.ibm.ws.security.config.SecurityObjectLocator 2018年5月8日12:45:54 com.ibm.ws.security.config.SecurityObjectLocator
INFO: CWSCF0002I: The client code is attempting to load the security configuration the server and this operation is not allowed. 信息:CWSCF0002I:客户端代码正在尝试加载服务器的安全配置,并且不允许此操作。
May 08, 2018 12:45:56 PM com.ibm.ws.security.config.SecurityObjectLocator 2018年5月8日12:45:56 com.ibm.ws.security.config.SecurityObjectLocator
INFO: CWSCF0002I: The client code is attempting to load the security configuration the server and this operation is not allowed. 信息:CWSCF0002I:客户端代码正在尝试加载服务器的安全配置,并且不允许此操作。
May 08, 2018 12:46:06 PM com.ibm.websphere.management.AdminClientFactory 2018年5月8日12:46:06 com.ibm.websphere.management.AdminClientFactory
WARNING: ADMC0046W: The system failed to load properties from com.ibm.SOAP.configURL: file:null/properties/soap.client.props 警告:ADMC0046W:系统无法从com.ibm.SOAP.configURL加载属性:file:null / properties / soap.client.props
May 08, 2018 12:46:32 PM org.jenkinsci.plugins.github.webhook.WebhookManager$1 run 2018年5月8日12:46:32 org.jenkinsci.plugins.github.webhook.WebhookManager $ 1运行
INFO: GitHub webhooks activated for job [Jenkins Job name] with [GitHubRepositoryName[host=github.com,username= [GitHub user name] ,repository= [GitHub repository] ]] (events: [PUSH]) 信息:使用[GitHubRepositoryName [host = github.com,username = [GitHub用户名] ,repository = [GitHub存储库] ]]的工作[Jenkins工作名称]激活了GitHub webhooks(事件:[PUSH])
May 08, 2018 12:46:37 PM com.squareup.okhttp.internal.Platform$JdkWithJettyBootPlatform getSelectedProtocol 2018年5月8日12:46:37 PM com.squareup.okhttp.internal.Platform $ JdkWithJettyBootPlatform getSelectedProtocol
INFO: ALPN callback dropped: SPDY and HTTP/2 are disabled. 信息:ALPN回调已删除:SPDY和HTTP / 2被禁用。 Is alpn-boot on the boot class path? alpn-boot是否在引导类路径上?
May 08, 2018 12:48:31 PM hudson.model.Run execute INFO: [Jenkins Job name] #38 main build action completed: SUCCESS 2018年5月8日下午12:48:31 hudson.model.Run执行信息: [Jenkins职位名称] #38主要构建动作完成:成功
May 08, 2018 12:48:31 PM com.ibm.websphere.management.AdminClientFactory 2018年5月8日12:48:31 com.ibm.websphere.management.AdminClientFactory
WARNING: ADMC0046W: The system failed to load properties from com.ibm.SOAP.configURL: file:null/properties/soap.client.props 警告:ADMC0046W:系统无法从com.ibm.SOAP.configURL加载属性:file:null / properties / soap.client.props
May 08, 2018 12:48:50 PM com.squareup.okhttp.internal.Platform$JdkWithJettyBootPlatform getSelectedProtocol 2018年5月8日12:48:50 com.squareup.okhttp.internal.Platform $ JdkWithJettyBootPlatform getSelectedProtocol
INFO: ALPN callback dropped: SPDY and HTTP/2 are disabled. 信息:ALPN回调已删除:SPDY和HTTP / 2被禁用。 Is alpn-boot on the boot class path? alpn-boot是否在引导类路径上?
com.ibm.websphere.management.exception.AdminException: com.ibm.websphere.management.exception.AdminException:
at com.ibm.websphere.management.application.AppManagementProxy.proxyInvoke(AppManagementProxy.java:192) 在com.ibm.websphere.management.application.AppManagementProxy.proxyInvoke(AppManagementProxy.java:192)
at com.ibm.websphere.management.application.AppManagementProxy.checkIfAppExists(AppManagementProxy.java:269) 在com.ibm.websphere.management.application.AppManagementProxy.checkIfAppExists(AppManagementProxy.java:269)
at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:468) 在org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:468)处
at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.stopArtifact(WebSphereDeployerPlugin.java:409) 在org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.stopArtifact(WebSphereDeployerPlugin.java:409)
at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:245) 在org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:245)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) 在hudson.tasks.BuildStepMonitor $ 3.perform(BuildStepMonitor.java:45)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) 在hudson.model.AbstractBuild $ AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) 在hudson.model.AbstractBuild $ AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1073) 在hudson.maven.MavenModuleSetBuild $ MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1073)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1752) 在hudson.model.Run.execute(Run.java:1752)在hudson.model.AbstractBuild $ AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) 在hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) 在hudson.model.Executor.run(Executor.java:429)处hudson.model.ResourceController.execute(ResourceController.java:97)
Caused by: java.lang.reflect.UndeclaredThrowableException 造成原因:java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy67.invoke(Unknown Source) 在com.sun.proxy。$ Proxy67.invoke(未知来源)
at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:224) 在com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:224)
at com.ibm.websphere.management.application.AppManagementProxy.proxyInvoke(AppManagementProxy.java:186) ... 13 more 位于com.ibm.websphere.management.application.AppManagementProxy.proxyInvoke(AppManagementProxy.java:186)...还有13个
Caused by: [SOAPException: faultCode=SOAP-ENV:ServerException; 由以下原因引起:[SOAPException:faultCode = SOAP-ENV:ServerException; msg=The Soap RPC call can't be unmarshalled.] msg =无法解封Soap RPC调用。]
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminFault(SOAPConnectorClient.java:959) 在com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminFault(SOAPConnectorClient.java:959)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplateOnce(SOAPConnectorClient.java:924) 在com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplateOnce(SOAPConnectorClient.java:924)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:689) 在com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:689)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:679) 在com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:679)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:665) 在com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:665)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:487) ... 16 more 位于com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:487)...还有16个

[ WAS console log (SystemOut.log) (C:\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv01\\logs\\server1\\SystemOut.log) ] [ WAS控制台日志(SystemOut.log)(C:\\ IBM \\ WebSphere \\ AppServer \\ profiles \\ AppSrv01 \\ logs \\ server1 \\ SystemOut.log) ]

[5/8/18 12:49:00:183 CST] 000000f7 LTPAServerObj E SECJ0369E: Authentication failed when using LTPA. [5/8/18 12:49:00:183 CST] 000000f7 LTPAServerObj E SECJ0369E:使用LTPA时身份验证失败。 The exception is com.ibm.websphere.wim.exception.PasswordCheckFailedException: CWWIM4513E The password match failed for the 'WASadmin' principal name.. 异常是com.ibm.websphere.wim.exception.PasswordCheckFailedException:CWWIM4513E'WASadmin'主体名称的密码匹配失败。
[5/8/18 12:49:00:332 CST] 000000f6 LTPAServerObj E SECJ0369E: Authentication failed when using LTPA. [5/8/18 12:49:00:332 CST] 000000f6 LTPAServerObj E SECJ0369E:使用LTPA时身份验证失败。 The exception is com.ibm.websphere.wim.exception.PasswordCheckFailedException: CWWIM4513E The password match failed for the 'WASadmin' principal name.. 异常是com.ibm.websphere.wim.exception.PasswordCheckFailedException:CWWIM4513E'WASadmin'主体名称的密码匹配失败。
[5/8/18 12:49:04:291 CST] 000000f7 LTPAServerObj E SECJ0369E: Authentication failed when using LTPA. [5/8/18 12:49:04:291 CST] 000000f7 LTPAServerObj E SECJ0369E:使用LTPA时身份验证失败。 The exception is com.ibm.websphere.wim.exception.PasswordCheckFailedException: CWWIM4513E The password match failed for the 'WASadmin' principal name.. 异常是com.ibm.websphere.wim.exception.PasswordCheckFailedException:CWWIM4513E'WASadmin'主体名称的密码匹配失败。
[5/8/18 12:49:07:221 CST] 000000f7 FFDCJanitor I com.ibm.ws.ffdc.impl.FFDCJanitor doCleanupIfNeeded FFDC0004I: FFDC log file management removed 20 of 20 files that have reached their configured maximum age [5/8/18 12:49:07:221 CST] 000000f7 FFDCJanitor I com.ibm.ws.ffdc.impl.FFDCJanitor doCleanupIfNeeded FFDC0004I:FFDC日志文件管理已删除已达到配置的最大使用期限的20个文件中的20个
[5/8/18 12:49:07:486 CST] 000000f7 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv01\\logs\\ffdc\\server1_f7987cd2_18.05.08_12.49.07.2212966399582449208005.txt Unable to authenticate incoming request 534 [5/8/18 12:49:07:486 CST] 000000f7 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I:在C:\\ IBM \\ WebSphere \\ AppServer \\ profiles \\ AppSrv01 \\ logs上发出FFDC事件\\ ffdc \\ server1_f7987cd2_18.05.08_12.49.07.2212966399582449208005.txt无法验证传入请求534
[5/8/18 12:49:07:489 CST] 000000f7 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv01\\logs\\ffdc\\server1_f7987cd2_18.05.08_12.49.07.4884954440341702141044.txt com.ibm.ws.management.connector.soap.SOAPUtils.extractSoapCall 157 [5/8/18 12:49:07:489 CST] 000000f7 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I:FFDC事件在C:\\ IBM \\ WebSphere \\ AppServer \\ profiles \\ AppSrv01 \\ logs上发出\\ ffdc \\ server1_f7987cd2_18.05.08_12.49.07.4884954440341702141044.txt com.ibm.ws.management.connector.soap.SOAPUtils.extractSoapCall 157
[5/8/18 12:49:07:716 CST] 000000f7 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv01\\logs\\ffdc\\server1_f7987cd2_18.05.08_12.49.07.4909017290418303421157.txt com.ibm.ws.management.connector.soap.SOAPConnector.service 212 [5/8/18 12:49:07:716 CST] 000000f7 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I:FFDC事件在C:\\ IBM \\ WebSphere \\ AppServer \\ profiles \\ AppSrv01 \\ logs上发出\\ ffdc \\ server1_f7987cd2_18.05.08_12.49.07.4909017290418303421157.txt com.ibm.ws.management.connector.soap.SOAPConnector.service 212

Just released v1.5.6, please try upgrading to this version. 刚刚发布的v1.5.6,请尝试升级到此版本。 You won't have to deal with certificates anymore if you select the following option. 如果选择以下选项,则不再需要处理证书。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 WebSphere Application Server 上部署时,OperatingSystemMXBean 不是有效的 MXBean 接口错误 - OperatingSystemMXBean is not a valid MXBean interface error when deploying on WebSphere Application Server 在 intellij 中在本地 websphere 上部署 ear 时出错 - An error while deploying ear on local websphere in intellij 在Websphere中部署EAR文件 - Deploying EAR file in websphere 部署ear web应用程序时Glassfish错误 - Glassfish error while deploying ear web application 有没有办法在IBM WebSphere Application Server上使用WebSockets? - Is there a way to use WebSockets on IBM WebSphere Application Server? 使用Hibernate JPA 2.1将应用程序部署到IBM WebSphere会产生NullPointerException - Deploying application using Hibernate JPA 2.1 to IBM WebSphere gives NullPointerException 如何使用hudson或jenkins Websphere部署插件在Websphere Cluster环境中部署EAR应用程序 - How to deploy the EAR application in Websphere Cluster environment using hudson or jenkins Websphere deploy plugin 在Websphere应用程序服务器6.1中部署.war文件? - Deploying .war file in Websphere application server 6.1? 在应用程序服务器(weblogic / websphere)上部署多个应用程序 - Deploying multiple applications on an application server(weblogic/websphere) 如何通过Eclipse为Websphere Application Server构建EAR / WAR? - How to build EAR/WAR for Websphere Application Server by Eclipse?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM