APM Agent Configuration

I am new to Elastic APM. I have follow below tutorial to configure tomcat Agent. The problem is Agent is not sending data to APM server. Even application server is also not getting registered in APM server. Please let me know where am i making mistake.

Elastic:7.5.0

https://www.elastic.co/guide/en/apm/agent/java/current/configuration.html

file setenv.sh
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/path/to/elastic-apm-agent-1.16.0.jar"
export CATALINA_OPTS="$CATALINA_OPTS -Delastic.apm.service_name=my-cool-service"
export CATALINA_OPTS="$CATALINA_OPTS -Delastic.apm.application_packages=org.example"
export CATALINA_OPTS="$CATALINA_OPTS -Delastic.apm.server_urls=http://ip:8200"

Did you actually placed the agent jar in the file system and referenced it's actual path? Did you see in the Tomcat logs if it picked up the agent?

Use with your actual application's root package.

Did you see anything logged on the agent side?

elastic-apm-agent-1.16.0.jar is located in path mentioned. Tomact log also shows that jar is loaded.

Resolved. Upgraded Java Version and Agent Permission issue

Awesome! I hope you get a lot of value from it!