APM integration to SOI is not working and APM Connector log shows this error:
ERROR [CA:[email protected]] connector.ApmConnector - APM Connector Initialize failed: (500)Internal Server Error.
If the connector has also been configured to trying to use SSL (EMWebserverProtocol=https) these errors may also be seen:
ERROR [CA:[email protected]] connector.ApmConnector - APM Connector Initialize failed: ; nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
The APM Connector had been configured with the incorrect target web server port 8443 which is the secure port for the APM WebView web server. The port needs to be set to the one used by the APM EM Web Server (default 8081/8444).
1. EITHER: Edit the APM Connector configuration in the SOI Administration console
OR: Edit the configuration file <Connector_Home>\resources\Configurations\APM_<servername>.xml direct
The EMWebserverPort property needs to specify the port used by the APM EM Web Server
2. Then restart the Connector i.e. "CA SAM Integration Services" service.