# Unable to see any details of basic spring batch app

**URL:** <https://discuss.elastic.co/t/unable-to-see-any-details-of-basic-spring-batch-app/317002>\
**Category:** APM\
**Tags:** java\
**Created:** [October 19, 2022, 1:05pm UTC](https://discuss.elastic.co/t/unable-to-see-any-details-of-basic-spring-batch-app/317002 "2022-10-19T13:05:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maw2be](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@maw2be](https://discuss.elastic.co/u/maw2be)\
**Post date:** [October 19, 2022, 1:05pm UTC](https://discuss.elastic.co/t/unable-to-see-any-details-of-basic-spring-batch-app/317002/1 "2022-10-19T13:05:50Z")

</div>

Java Agent not supporting basic spring batch applications. I have two spring batch applications. One is using the scheduled option in it, java agent sends all information without issue. Second is basic, one off spring batch application (for initial import large data) and no trace information on Kibana.

**Kibana version** : 8.3.4

**Elasticsearch version** : 8.3.4

**APM Server version** : 8.3.4

**APM Agent language and version** : Java 1.34.1

**Browser version** :

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**:

**Fresh install or upgraded from other version?**

**Is there anything special in your setup?** F

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

**Steps to reproduce** :

1. basic spring batch application
2. run with java agent
3. view in Kibana

**Errors in browser console (if relevant)**:

**Provide logs and/or server output (if relevant)**:

---

<div class="post-metadata">

**Author:** ![Sylvain\_Juge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvain_juge/32/55521_2.png) [@Sylvain\_Juge](https://discuss.elastic.co/u/Sylvain_Juge)\
**Post date:** [October 20, 2022, 9:27am UTC](https://discuss.elastic.co/t/unable-to-see-any-details-of-basic-spring-batch-app/317002/2 "2022-10-20T09:27:56Z")

</div>

Hi @maw2be , welcome to our forum !

From what I understand you have:

- two applications that rely on Spring batch
- one of them works as expected with APM agent, but not the other

In order to rule-out any communication or agent setup issue, could you check if both applications have some metrics visible in Kibana in the Service \> JVM tab ? Metrics are sent by default so we can use their presence to validate agent setup and communication.

Is there any difference in architecture or code between the two applications ? For example is one of them relying on annotations and the other on interface implementation to achieve similar tasks ? Providing a short code sample (or better a sample app if you can) could help a lot here.

---

<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:** [November 10, 2022, 5:28am UTC](https://discuss.elastic.co/t/unable-to-see-any-details-of-basic-spring-batch-app/317002/3 "2022-11-10T05:28:43Z")

</div>

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