APM integration to SOI is not working and APM Connector log shows error "APM Connector Initialize failed: (500)Internal Server Error."

Document ID : KB000005381
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

APM integration to SOI is not working and APM Connector log shows this error:

ERROR [CA:00001_xxxxxx@yyyyyy] 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:00001_xxxxxx@yyyyyy] 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. 

Environment:
APM 9.6, 9.7, 10.xSOI 4.0APM Connector 3.2
Cause:

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).

Resolution:

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.

 

Additional Information: