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"