Elastic APM with Java agent : No data has been received from agents yet

Kibana version: 7.16.2

Elasticsearch version:7.16.2

APM Server version:1.40.0

Fresh install or upgraded from other version? Fresh

Steps to reproduce:
Ran the following
java -javaagent:elastic-apm-agent-1.40.0.jar -Delastic.apm.service_name=fvf-agent -Delastic.apm.server_urls=localhost:8200 -Delastic.apm.application_packages=com.abc -jar F-V-F-API-0.0.1-SNAPSHOT.jar

Error in Kibana: No data has been received from agents yet
FYI: localhost:8200 is reachable
Logs:
2023-07-26 00:01:59,387 [main] INFO co.elastic.apm.agent.util.JmxUtils - Found JVM-specific OperatingSystemMXBean interface: com.sun.management.OperatingSystemMXBean
2023-07-26 00:01:59,428 [main] INFO co.elastic.apm.agent.util.JmxUtils - Found JVM-specific ThreadMXBean interface: com.sun.management.ThreadMXBean
2023-07-26 00:01:59,461 [main] INFO co.elastic.apm.agent.configuration.StartupInfo - Starting Elastic APM 1.40.0 as fvf-agent (0.0.1-SNAPSHOT) on Java 17.0.7 Runtime version: 17.0.7+8-LTS-224 VM version: 17.0.7+8-LTS-224 (Oracle Corporation) Windows 10 10.0
2023-07-26 00:01:59,463 [main] INFO co.elastic.apm.agent.configuration.StartupInfo - service_name: 'fvf-agent' (source: Java System Properties)
2023-07-26 00:01:59,470 [main] INFO co.elastic.apm.agent.configuration.StartupInfo - server_urls: 'localhost:8200' (source: Java System Properties)
2023-07-26 00:01:59,471 [main] INFO co.elastic.apm.agent.configuration.StartupInfo - application_packages: 'com.abc' (source: Java System Properties)
2023-07-26 00:02:01,522 [elastic-apm-server-healthcheck] INFO co.elastic.apm.agent.report.ApmServerHealthChecker - Elastic APM server is available: { "build_date": "2021-12-18T19:50:46Z", "build_sha": "24fe620eeff5a19e2133c940c7e5ce1ceddb1445", "publish_ready": true, "version": "7.16.2"}
2023-07-26 00:02:01,993 [main] INFO co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to RUNNING state

In order to assist you here, we would need the debug-level logs. Please capture them and provide them to us, e.g via GitHub Gist.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.