[Java] New Relic APM integration with WSO2 Carbon

Hello everybody,

We have started the journey to configure the APM Agent for our WSO2 Carbon test infrastructure, in order to test the functionality and eventually move it to production.
We have followed the configuration steps provided here
http://lasanthatechlog.blogspot.com/2015/06/integrating-wso2-products-with-new-relic.html

All went smooth but unfortunatelly we are unable to communicate with the APM Platform, since we keep getting these errors in newrelic-java log

INFO: Remote preconnect call failed : 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.
2020-10-27T10:49:49,173+0200 [9300 31] com.newrelic.agent.rpm.RPMConnectionServiceImpl INFO: Failed to connect to collector.eu01.nr-data.net:443 for test-wso2: 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
2020-10-27T10:50:31,819+0200 [3648 1] com.newrelic INFO: Writing to New Relic log file: C:\Program Files\WSO2\API Manager\2.5.0\newrelic-java\logs\newrelic_agent.log
2020-10-27T10:50:31,819+0200 [3648 1] com.newrelic INFO: JRE vendor Oracle Corporation version 1.8.0_181

Could any1 share his thoughts about this or better did any1 got this kind of error and managed to fix it ?

Thank you in advance,
Best regards.
Andrei Diaconu

Hi @andrei.diaconu,

What version of the Java agent are you installing? I ask because we had some issues with SSL in 6.0.0 that are fixed in the latest version. Please try installing the latest version then refer to setting up SSL certs here:

2 posts were split to a new topic: [Java] New Relic APM error with WSO2 Carbon