# Tomcat application server -- agent status show --No data has been received from agents yet

**URL:** <https://discuss.elastic.co/t/tomcat-application-server-agent-status-show-no-data-has-been-received-from-agents-yet/198999>\
**Category:** APM\
**Tags:** java\
**Created:** [September 11, 2019, 4:10am UTC](https://discuss.elastic.co/t/tomcat-application-server-agent-status-show-no-data-has-been-received-from-agents-yet/198999 "2019-09-11T04:10:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [September 11, 2019, 4:10am UTC](https://discuss.elastic.co/t/tomcat-application-server-agent-status-show-no-data-has-been-received-from-agents-yet/198999/1 "2019-09-11T04:10:47Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text 🙂

**Kibana version** :  
7.3.1

**Elasticsearch version** :  
7.3.1  
**APM Server version** :  
7.3.1  
**APM Agent language and version** :  
elastic-apm-agent-1.9.0.jar  
**Browser version** :  
Firefox version 69  
**Original install method (e.g. download page, yum, deb, from source, etc.) and version**:  
deb  
**Fresh install or upgraded from other version?**  
Fresh install  
**Is there anything special in your setup?**  
Simple setup, I need to see how I can monitor tomcat application server using APM  
My elasticsearch server, kibana, apm server works fine, did the necessary changes in catalina.sh  
CATALINA\_OPTS="$JPDA\_OPTS $CATALINA\_OPTS"  
export CATALINA\_OPTS="$CATALINA\_OPTS -javaagent:/home/itsupport/elastic-apm-agent-1.9.0.jar"  
export CATALINA\_OPTS="$CATALINA\_OPTS -Delastic.apm.service\_name=my-tomcat"  
export CATALINA\_OPTS="$CATALINA\_OPTS -Delastic.apm.application\_packages=org.example,org.another.example"  
export CATALINA\_OPTS="$CATALINA\_OPTS -Delastic.apm.server\_urls=http://localhost:8200"

I have kept the "elastic-apm-agent-1.9.0.jar" , in the correct location as specified  
**My Issue**  
my APM client not connecting to the APM server, or I am not aware on which logs to check for APM client .  
On the kibana server I am getting message  
No data has been received from agents yet, while checking for agent status

Request guidance on trouble shooting the apm client part for tomcat,  
Thanks  
Joseph John

---

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [September 11, 2019, 5:31am UTC](https://discuss.elastic.co/t/tomcat-application-server-agent-status-show-no-data-has-been-received-from-agents-yet/198999/2 "2019-09-11T05:31:40Z")

</div>

Hi Joseph,

If you are not seeing anything in your application logs, your script configurations are probably not applied. Validate your startup routine.

BTW, using `-Delastic.apm.application_packages=org.example,org.another.example` is wrong, unless your application packages are indeed `org.example` and `org.another.example`...

Good luck,  
Eyal.

---

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [September 11, 2019, 6:41am UTC](https://discuss.elastic.co/t/tomcat-application-server-agent-status-show-no-data-has-been-received-from-agents-yet/198999/3 "2019-09-11T06:41:50Z")

</div>

Thanks Eyal  
You are right, my script configuration are not applied, I tried the same with JBoss in another instance and I am getting status back at Kibana.  
So I have not done the correct settings for tomcat  
About

> `-Delastic.apm.application_packages=`

I will get rectify it and update in the forum  
Thanks  
Joseph John

---

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [September 11, 2019, 12:02pm UTC](https://discuss.elastic.co/t/tomcat-application-server-agent-status-show-no-data-has-been-received-from-agents-yet/198999/4 "2019-09-11T12:02:20Z")

</div>

Thanks a lot Eyal

> JAVA\_OPTS="$JAVA\_OPTS -Delastic.apm.application\_packages=org.compiere,org.adempiere"

this worked, I am getting data to the APM  
thanks a lot.

---

<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:** [October 2, 2019, 8:02am UTC](https://discuss.elastic.co/t/tomcat-application-server-agent-status-show-no-data-has-been-received-from-agents-yet/198999/5 "2019-10-02T08:02:27Z")

</div>

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