Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23520

SOAP Connection Exception at 8879

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • jdk1.7.0_45

      We are trying to deploy different ear files to 2 different WAS servers using Jenkins. Successful SOAP connection at port 8879 is happening only to one server at a time from Jenkins. Following is the exception we get when we test the connection.

      Connection failed: com.ibm.websphere.management.exception.ConnectorException: ADMC0016E: The system cannot create a SOAP connector to connect to host <host> at port 8879.
      Caused by: com.ibm.websphere.management.exception.ConnectorNotAvailableException: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.io.IOException: Exception during sslSocket.startHandshake: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; targetException=java.lang.IllegalArgumentException: Error opening socket: java.io.IOException: Exception during sslSocket.startHandshake: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]
      at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:422)
      at com.ibm.ws.management.connector.soap.SOAPConnectorClient.<init>(SOAPConnectorClient.java:222)
      ... 82 more
      Caused by: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.io.IOException: Exception during sslSocket.startHandshake: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target;

      For Example: If we have two different WAS app servers A(uses WAS 7) and B(uses WAS 8). Soap connection at port 8879 happens only to one server at a time and the other one fails. Lets say, if Jenkins is restarted and we test the connection to server A first and successful. Then when we try for server B, it fails. Then when we restart Jenkins and try the connection to Server B first and successful. Then if we try for Server A, then it fails.

      We have verified the cacerts of JDK1.7 which our Jenkins uses and it has the required certificates entries of both which has been added based on InstallCert.java.

      Please advice.

            gpeters Greg Peters
            rdinesh86 Dinesh Rajendran
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: