title: Jenkins - Error when deploying EAR to IBM WebSphere Application Server
body: <p>(Updated as of 8 May 2018)</p>
  
  <p>This is about an issue experienced during the connection phase when deploying EAR to WebSphere Application Server in Jenkins using the "WebSphere Deployer Plugin".</p>
  
  <p>System information:<br></p>
  
  <p>[Jenkins]<br>
  Jenkins version: 2.107.2<br>
  java.runtime.version (as seen from Jenkins Admin UI): 1.8.0_144-b01<br></p>
  
  <p>[Jenkins - WebSphere Deployer Plugin]<br>
  <strong>Version: 1.6.1<br>
  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.<br>
  Cell/Node/Server info is specified in the plugin configuration (same as what is shown in "Show Available Targets").</strong></p>
  
  <p>[IBM WebSphere Application Server]<br/>
  WAS version: 9.0.0.7<br/>
  Java version: 1.8.0_151<br/>
  Administrative security: Enabled<br/>
  Application security: Disabled<br/>
  SOAP connection port: 8880 (checked to be not being blocked by firewall)<br/>
  Telnet to port 8880 is successful<br/>
  Command line login to wsadmin via port 8880 is successful<br/></p>
  
  <p>The "Test Connection" is successful. Unfortunately, in the actual job run the deploy phase still fails at connection.</p>
  
  <p>The relevant log information is as follows</p>
  
  <p>[<strong>Jenkins console log / job log (displayed in the Jenkins Admin UI "Console Output")</strong>]</p>
  
  <blockquote>
    <p>12:48:31 Connecting to IBM WebSphere Application Server...<br/> 12:48:31
    The following artifacts will be deployed in this order...<br/> 12:48:31
    -------------------------------------------<br/> 12:48:36 <em>[EAR file path]</em>
    Last modified on May 08, 2018 12:47:56<br/> 12:48:36
    -------------------------------------------<br/> 12:48:59 Artifact is being deployed to virtual host: default_host<br/> 12:49:08 Error deploying to IBM
    WebSphere Application Server: Could not determine if artifact
    '<em>[App name]</em>' is installed: AdminException:<br/>  12:49:08 Performing
    rollback of '<em>[App name]</em>'<br/> 12:49:08 WARNING: Artifact doesn't exist
    rollback repository<br/> 12:49:08 Build step 'Deploy To IBM WebSphere
    Application Server' changed build result to FAILURE<br/> 12:49:12 Finished:
    FAILURE</p>
  </blockquote>
  
  <p>[<strong>Jenkins error log (C:\Program Files (x86)\Jenkins\jenkins.err.log)</strong>]</p>
  
  <blockquote>
    <p>May 08, 2018 12:43:47 PM hudson.WebAppMain$3 run<br/> INFO: Jenkins is
    fully up and running<br/> May 08, 2018 12:43:53 PM
    javax.jmdns.impl.DNSStatefulObject$DefaultImplementation
    waitForAnnounced WARNING: Wait for announced timed out: DNS:
    <em>[Host name]</em>. state: announcing 2 task: Announcer(<em>[Host name]</em>)
    state: announcing<br/> 2 May 08, 2018 12:45:52 PM
    com.ibm.websphere.management.AdminClientFactory<br/> WARNING: ADMC0046W:
    The system failed to load properties from com.ibm.SOAP.configURL:
    file:null/properties/soap.client.props<br/> May 08, 2018 12:45:54 PM
    com.ibm.ws.ssl.config.SSLConfigManager<br/> INFO: CWPKI0051I: The process
    has the java security property jdk.certpath.disabledAlgorithms set to
    [MD2, MD5, SHA1 jdkCA &amp; usage TLSServer, RSA keySize &lt; 1024, DSA
    keySize &lt; 1024, EC keySize &lt; 224].  The WebSphere Application server
    is setting the java security property jdk.certpath.disabledAlgorithms
    to [MD2, RSA keySize &lt; 1024, MD5].<br/>  May 08, 2018 12:45:54 PM
    com.ibm.ws.ssl.config.SSLConfigManager<br/> INFO: CWPKI0051I: The process
    has the java security property jdk.tls.disabledAlgorithms set to
    [SSLv3, RC4, MD5withRSA, DH keySize &lt; 768, EC keySize &lt; 224].  The
    WebSphere Application server is setting the java security property
    jdk.tls.disabledAlgorithms to [SSLv3, RC4, DH keySize &lt; 768,
    MD5withRSA].<br/>  May 08, 2018 12:45:54 PM
    com.ibm.ws.ssl.config.SSLConfigManager<br/> INFO: CWPKI0027I: Disabling
    default hostname verification for HTTPS URL connections.<br/> May 08, 2018
    12:45:54 PM com.ibm.ws.security.config.SecurityObjectLocator<br/> INFO:
    CWSCF0002I: The client code is attempting to load the security
    configuration the server and this operation is not allowed.<br/> May 08,
    2018 12:45:56 PM com.ibm.ws.security.config.SecurityObjectLocator<br/>
    INFO: CWSCF0002I: The client code is attempting to load the security
    configuration the server and this operation is not allowed.<br/> May 08,
    2018 12:46:06 PM com.ibm.websphere.management.AdminClientFactory<br/>
    WARNING: ADMC0046W: The system failed to load properties from
    com.ibm.SOAP.configURL: file:null/properties/soap.client.props<br/> May 08,
    2018 12:46:32 PM org.jenkinsci.plugins.github.webhook.WebhookManager$1
    run<br/> INFO: GitHub webhooks activated for job <em>[Jenkins Job name]</em> with
    [GitHubRepositoryName[host=github.com,username=<em>[GitHub user name]</em>,repository=<em>[GitHub repository]</em>]]
    (events: [PUSH])<br/> May 08, 2018 12:46:37 PM
    com.squareup.okhttp.internal.Platform$JdkWithJettyBootPlatform
    getSelectedProtocol<br/> INFO: ALPN callback dropped: SPDY and HTTP/2 are
    disabled. Is alpn-boot on the boot class path?<br/> May 08, 2018 12:48:31
    PM hudson.model.Run execute INFO: <em>[Jenkins Job name]</em> #38 main build action completed: SUCCESS<br/> May
    08, 2018 12:48:31 PM com.ibm.websphere.management.AdminClientFactory<br/>
    WARNING: ADMC0046W: The system failed to load properties from
    com.ibm.SOAP.configURL: file:null/properties/soap.client.props<br/> May 08,
    2018 12:48:50 PM
    com.squareup.okhttp.internal.Platform$JdkWithJettyBootPlatform
    getSelectedProtocol<br/> INFO: ALPN callback dropped: SPDY and HTTP/2 are
    disabled. Is alpn-boot on the boot class path?<br/>
    com.ibm.websphere.management.exception.AdminException:<br/>   at
    com.ibm.websphere.management.application.AppManagementProxy.proxyInvoke(AppManagementProxy.java:192)<br/>
      at
    com.ibm.websphere.management.application.AppManagementProxy.checkIfAppExists(AppManagementProxy.java:269)<br/>
      at
    org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:468)<br/>
      at
    org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.stopArtifact(WebSphereDeployerPlugin.java:409)<br/>
      at
    org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:245)<br/>
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)<br/>
      at
    hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)<br/>
      at
    hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)<br/>
      at
    hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1073)<br/>
      at
    hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      at hudson.model.Run.execute(Run.java:1752)<br/>     at
    hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)<br/>   at
    hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)<br/> Caused by:
    java.lang.reflect.UndeclaredThrowableException<br/>   at
    com.sun.proxy.$Proxy67.invoke(Unknown Source)<br/>    at
    com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:224)<br/>
      at
    com.ibm.websphere.management.application.AppManagementProxy.proxyInvoke(AppManagementProxy.java:186)
      ... 13 more<br/> Caused by: [SOAPException:
    faultCode=SOAP-ENV:ServerException; msg=The Soap RPC call can&apos;t
    be unmarshalled.]<br/>    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminFault(SOAPConnectorClient.java:959)<br/>
      at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplateOnce(SOAPConnectorClient.java:924)<br/>
      at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:689)<br/>
      at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:679)<br/>
      at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:665)<br/>
      at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:487)
      ... 16 more</p>
  </blockquote>
  
  <p>[<strong>WAS console log (SystemOut.log) (C:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\SystemOut.log)</strong>]</p>
  
  <blockquote>
    <p>[5/8/18 12:49:00:183 CST] 000000f7 LTPAServerObj E   SECJ0369E:
    Authentication failed when using LTPA. The exception is
    com.ibm.websphere.wim.exception.PasswordCheckFailedException:
    CWWIM4513E  The password match failed for the 'WASadmin' principal
    name..<br/> [5/8/18 12:49:00:332 CST] 000000f6 LTPAServerObj E   SECJ0369E:
    Authentication failed when using LTPA. The exception is
    com.ibm.websphere.wim.exception.PasswordCheckFailedException:
    CWWIM4513E  The password match failed for the 'WASadmin' principal
    name..<br/> [5/8/18 12:49:04:291 CST] 000000f7 LTPAServerObj E   SECJ0369E:
    Authentication failed when using LTPA. The exception is
    com.ibm.websphere.wim.exception.PasswordCheckFailedException:
    CWWIM4513E  The password match failed for the 'WASadmin' principal
    name..<br/> [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<br/> [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<br/> [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<br/>
    [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</p>
  </blockquote>