Issue
ERP SOA Service attempts to reply and gets the error and unable to access the endpoint(s):
Issue Summary
Following error is found in SOA Server logs.
javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Resolution
Issue is resolved after adding the “trustAnchors” parameter in setDomainEnv.sh file.
Resolution Details
Issue is resolved after adding the following “trustAnchors” parameter.
“-Djavax.net.ssl.trustAnchors=java_home /jre/lib/security/cacerts” to setDomainEnv.sh. This was not required with older version of the JAVA. And after upgrade, it is not able to read TrustAnchors definition from server definitions (Home >Summary of Servers >managed_server> Keystores)