# Is APM perfromance like this because of Java version 1.7 at the Application side

**URL:** <https://discuss.elastic.co/t/is-apm-perfromance-like-this-because-of-java-version-1-7-at-the-application-side/199175>\
**Category:** APM\
**Tags:** java\
**Created:** [September 12, 2019, 5:42am UTC](https://discuss.elastic.co/t/is-apm-perfromance-like-this-because-of-java-version-1-7-at-the-application-side/199175 "2019-09-12T05:42:18Z")\
**Posts on this page:** 7\
**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 12, 2019, 5:42am UTC](https://discuss.elastic.co/t/is-apm-perfromance-like-this-because-of-java-version-1-7-at-the-application-side/199175/1 "2019-09-12T05:42:18Z")

</div>

Hi All,  
After successfully testing APM for the latest freshly newly installed Adempiere (java 1.8) , I was getting the full details of the application perfromance

Later I tried out with our existing live instance of Adempiee (Java 1.7), then APM server shows agent status of the Adempiere( Java 1.7) status, but when it shows nill for average response time, transaction per minute and Error per minutes. I waited for hours to see any changes recorded but no updation happening . This time I had another APM server fresly installed and opened port for 22,5601,8200,9200

What could be the possible reason that it is not displaying the details. Is it because of Java 1.7

I have opened only port 22, 8200, 5601,9200 on my server

Guidance requested

**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 69  
**Original install method (e.g. download page, yum, deb, from source, etc.) and version**:  
deb  
**Fresh install or upgraded from other version?**  
Fresh  
**Is there anything special in your setup?** For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.  
No

---

<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 12, 2019, 6:04am UTC](https://discuss.elastic.co/t/is-apm-perfromance-like-this-because-of-java-version-1-7-at-the-application-side/199175/2 "2019-09-12T06:04:02Z")

</div>

Can you see anything interesting in the agent log or application/server logs?

---

<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 12, 2019, 6:29am UTC](https://discuss.elastic.co/t/is-apm-perfromance-like-this-because-of-java-version-1-7-at-the-application-side/199175/3 "2019-09-12T06:29:12Z")

</div>

Thanks Eyal,  
Not able to see the logs, one interesting thing is that when I added the Java 1.8 erp version, it also not showing any result. Let me see if I can add the screen shot

 ![APM-Java7-8](https://us1.discourse-cdn.com/elastic/original/3X/b/d/bdd163eae65d93c775021a0b71033b33b7dba4e7.png)

So we can conclude it has not to do the Application Java version , but it is because of other parameter  
May be because of some ports blocked, I have only enables

> 22  
> 8200  
> 5601  
> 9200

Do I need to enable any other parameter  
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 12, 2019, 7:06am UTC](https://discuss.elastic.co/t/is-apm-perfromance-like-this-because-of-java-version-1-7-at-the-application-side/199175/4 "2019-09-12T07:06:53Z")

</div>

**Apologize please**

I could have been bit patience, now I see my Application which is on Java-1.8 pushing data to the APM server, but the ERP server with Java 1.7 not pushing data to the APM server screen shot attached for reference

 ![8](https://us1.discourse-cdn.com/elastic/original/3X/5/a/5aff2e6aedeac9439a8374b433638cf91b87d738.png)

I could have waited for some time, before posting  
Now Applications with 1.8 java is working and APplication with 1.7 not giving data to the APM

---

<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 12, 2019, 7:25am UTC](https://discuss.elastic.co/t/is-apm-perfromance-like-this-because-of-java-version-1-7-at-the-application-side/199175/5 "2019-09-12T07:25:44Z")

</div>

We need more info:

- Agent logs, preferable in DEBUG level
- Server/application logs
- Agent installation method and used configurations
- What is the underlying servlet container?
- What are the differences between the envs? Only the Java version or more?

---

<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 16, 2019, 10:15am UTC](https://discuss.elastic.co/t/is-apm-perfromance-like-this-because-of-java-version-1-7-at-the-application-side/199175/6 "2019-09-16T10:15:47Z")

</div>

Hi Eyal,  
thanks in future I will include all the above points.  
thanks

---

<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 7, 2019, 6:15am UTC](https://discuss.elastic.co/t/is-apm-perfromance-like-this-because-of-java-version-1-7-at-the-application-side/199175/7 "2019-10-07T06:15:51Z")

</div>

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