# APM Agent Tomcat

**URL:** <https://discuss.elastic.co/t/apm-agent-tomcat/233747>\
**Category:** Elasticsearch\
**Created:** [May 21, 2020, 1:53pm UTC](https://discuss.elastic.co/t/apm-agent-tomcat/233747 "2020-05-21T13:53:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mhr/32/119834_2.png) [@mhr](https://discuss.elastic.co/u/mhr)\
**Post date:** [May 21, 2020, 1:53pm UTC](https://discuss.elastic.co/t/apm-agent-tomcat/233747/1 "2020-05-21T13:53:58Z")

</div>

HI,

I have install APM agent for Tomcat. Below is the setenv config. I am not getting any error in catalina.out file. Tomcat version: 8.0.39, java version:1.8.0\_20.

I am not able to find my server in APM service.

export CATALINA\_OPTS="$CATALINA\_OPTS -javaagent:/opt/APM/elastic-apm-agent-1.16.0.jar"  
export CATALINA\_OPTS="$CATALINA\_OPTS -Delastic.apm.service\_name=EL-APP"  
#export CATALINA\_OPTS="$CATALINA\_OPTS -Delastic.apm.application\_packages=org.example,org.another.example"  
export CATALINA\_OPTS="$CATALINA\_OPTS -Delastic.apm.server\_urls=http://ip:8200"

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 18, 2020, 1:54pm UTC](https://discuss.elastic.co/t/apm-agent-tomcat/233747/2 "2020-06-18T13:54:01Z")

</div>

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