IT Process Automation

 View Only
  • 1.  Soap-Operator 'Message Send Failed'

    Posted Jun 14, 2022 03:17 AM
    Edited by Peter Schmidt Jun 14, 2022 06:00 AM
    Hi all,
    in following environment Soap-Call returns 
    SOAP invocation failed: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed

    Using dynamic parameters with SoapUI - call works

    CA Process Automation Service Pack 04.3.05
            
    openjdk version "1.8.0_222"
    OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_222-b10)
    OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)

    As call works with SoapUI there must be something wrong with PAM-Operator or PAM-Configuration.

    PAM is not configured for HTTPS
    ServiceUrl is something like:  https://h....g.de/...Integration.asmx

    h....g.de is a loadbalancer.

    c2o.log shows:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
    at java.security.AccessController.doPrivileged(Native Method)
    at com.optinuity.c2o.service.soap.connection.factory.ITPAMHTTPSOAPConnection.call(ITPAMHTTPSOAPConnection.java:220)
    at com.optinuity.c2o.service.serviceoperation.soapserviceoperation.SoapClient.doCall(SoapClient.java:1058)
    at com.optinuity.c2o.service.serviceoperation.soapserviceoperation.SoapXmlServiceOperation.doConnection(SoapXmlServiceOperation.java:1553)
    at com.optinuity.c2o.service.serviceoperation.soapserviceoperation.SoapXmlServiceOperation.executeSvcOpTasks(SoapXmlServiceOperation.java:1117)
    at com.optinuity.c2o.service.serviceoperation.soapserviceoperation.SoapClientCallServiceOperationRunner.runSoapCallSvcOp(SoapClientCallServiceOperationRunner.java:567)
    at com.optinuity.c2o.service.serviceoperation.soapserviceoperation.SoapClientCallServiceOperationRunner.run(SoapClientCallServiceOperationRunner.java:107)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
    at com.optinuity.c2o.service.soap.connection.factory.ITPAMHTTPSOAPConnection.post(ITPAMHTTPSOAPConnection.java:471)
    at com.optinuity.c2o.service.soap.connection.factory.ITPAMHTTPSOAPConnection$PriviledgedPost.run(ITPAMHTTPSOAPConnection.java:248)
    ... 8 more
    Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
    at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2020)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1127)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1340)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1315)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:264)
    at com.optinuity.c2o.service.soap.connection.factory.ITPAMHTTPSOAPConnection.post(ITPAMHTTPSOAPConnection.java:395)
    ... 9 more
    2022-06-14 08:04:25,574 ERROR [com.optinuity.c2o.service.serviceoperation.soapserviceoperation.SoapClientCallServiceOperationRunner] [81-30feddb3efcf] SoapClientCallServiceOperation failed to execute:
    com.optinuity.c2o.util.C2OException: SOAP invocation failed: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
    at com.optinuity.c2o.service.serviceoperation.soapserviceoperation.SoapXmlServiceOperation.executeSvcOpTasks(SoapXmlServiceOperation.java:1204)
    at com.optinuity.c2o.service.serviceoperation.soapserviceoperation.SoapClientCallServiceOperationRunner.runSoapCallSvcOp(SoapClientCallServiceOperationRunner.java:567)
    at com.optinuity.c2o.service.serviceoperation.soapserviceoperation.SoapClientCallServiceOperationRunner.run(SoapClientCallServiceOperationRunner.java:107)
    at java.lang.Thread.run(Thread.java:748)
    2022-06-14 08:04:43,207 ERROR [com.optinuity.c2o.util.JMSMessagePublisher] [7f-3e28a60434b9] Looking up QueueConnection Factory

    Does anybody have any idea?
    It's a little bit urgent :-(

    Trying wsdl-Wizzard I get:
    2022-06-14 10:49:40,822 ERROR [com.ca.pam.server.OasisGwtServlet] [5.32.25-8090-41] ERROR_LOADING_WSDL
    javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'https://he...Integration.asmx?wsdl'.: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
     
    Is it possible to use  SNI-Headr with PAM and how could it be configured?
    Many thanks,
    Peter


  • 2.  RE: Soap-Operator 'Message Send Failed'

    Broadcom Employee
    Posted Jun 14, 2022 03:13 PM
    Hi Peter,

    I did a quick look for "Received fatal alert: handshake_failed" and this was the only KB article that I found: 
    Error: "class javax.net.ssl.SSLHandshakeException. Received fatal alert: handshake_failure" Wen using HTTP POST Operator in Process Automation Manager (PAM)

    If this doesn't help then I would recommend opening an issue with technical support. 

    Best regards,
    Gregg


  • 3.  RE: Soap-Operator 'Message Send Failed'

    Posted Jun 15, 2022 02:43 AM
    Edited by Peter Schmidt Jun 15, 2022 03:07 AM
    Hi Gregg,
    many thanks for this KB article.
    In one of the referenced documents (Process Automation - How to verify, upgrade or change the Java JDK used (broadcom.com)) they say:
    For 4.3 Sp5 we have confirmed up to AdoptOpenJDK version 1.8.0_265 allows the software to function without issue
    I hope that this is the correct site for download: Archiv | AdoptOpenJDK - Open Source, vorkonfigurierte OpenJDK Binärdateien
    Did you already try it?

    Many thanks,
    Peter

    PS.: Next step will be to create a CASE for it, hoping to get fast answer.


  • 4.  RE: Soap-Operator 'Message Send Failed'

    Broadcom Employee
    Posted Jun 15, 2022 10:44 AM

    Hi Peter,

    It looks like 1.8.0_265 is still available here: https://adoptopenjdk.net/archive.html?variant=openjdk8&jvmVariant=hotspot

    But, I think they periodically update their pages and remove older versions as newer versions come out, so it's not clear how long it will be there. I have not personally tried it. I just noticed something in your message that I thought might be something we've seen before and did a quick check based on that message. 

    Best regards,
    Gregg




  • 5.  RE: Soap-Operator 'Message Send Failed'

    Posted Jun 17, 2022 12:47 AM
    Hi Gregg,
    many thanks for all.
    Meanwhile I tried it with 1.8.0_265 and it also didn't work.
    From the CASE, that I also created meanwhile, a Defect has been created.

    I'll keep you informed.

    Regards,
    Peter


  • 6.  RE: Soap-Operator 'Message Send Failed'

    Posted Aug 03, 2022 01:15 AM
    Hi all,
    still the problem is there.
    Defect is still pending.
    I'll keep you informed as soon as I get some information.

    Regards,
    Peter