# APM Server unable to get data

**URL:** <https://discuss.elastic.co/t/apm-server-unable-to-get-data/212950>\
**Category:** Elasticsearch\
**Created:** [December 24, 2019, 11:53am UTC](https://discuss.elastic.co/t/apm-server-unable-to-get-data/212950 "2019-12-24T11:53:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maheswari](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Maheswari](https://discuss.elastic.co/u/Maheswari)\
**Post date:** [December 24, 2019, 11:53am UTC](https://discuss.elastic.co/t/apm-server-unable-to-get-data/212950/1 "2019-12-24T11:53:58Z")

</div>

Hello,  
I have installed elasticsearch and kibana of version 7.0.0 and then attached apm server of version 7.5.0. I have a servlet based application running on tomcat server on windows(This is a third party application so I don't the service name and application packages). According to this document [https://www.elastic.co/guide/en/apm/agent/java/1.x/setup-javaagent.html#setup-tomcat-windows](https://www.elastic.co/guide/en/apm/agent/java/1.x/setup-javaagent.html#setup-tomcat-windows)  
I have created a file setenv.bat file in bin tomcat folder. The application is running fine but I can't able to get data from apm agent to my apm server.  
Here I wanted to know what is service name and application packages need to be given and where can I find these values from my application and where I need to put file, setenv.bat.

Please kindly help me in this issue.

---

<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:** [January 21, 2020, 11:54am UTC](https://discuss.elastic.co/t/apm-server-unable-to-get-data/212950/2 "2020-01-21T11:54:10Z")

</div>

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