# Elastic Observaility - Lab 3.2 - No data received from java APM agent

**URL:** https://discuss.elastic.co/t/elastic-observaility-lab-3-2-no-data-received-from-java-apm-agent/376019
**Category:** Elastic Training
**Tags:** docker
**Created:** [March 17, 2025, 2:52pm UTC](https://discuss.elastic.co/t/elastic-observaility-lab-3-2-no-data-received-from-java-apm-agent/376019 "2025-03-17T14:52:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cesco](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@cesco](https://discuss.elastic.co/u/cesco)
#### Post date: [March 17, 2025, 2:52pm UTC](https://discuss.elastic.co/t/elastic-observaility-lab-3-2-no-data-received-from-java-apm-agent/376019/1 "2025-03-17T14:52:46Z")

</div>

Course: Elastic Observability Engineer On-Demand  
Version: 8.8.2  
Question:

Hello there!

I'm currently doing the Elastic Observability Engineer On-Demand course and I'm having some issues in Lab 3.2.

After setting up the Java agent for the Petclinic application core I do see the petclinic-java service in the list of APM services but no data is received.

 ![Screenshot 2025-03-14 at 15.14.31](https://us1.discourse-cdn.com/elastic/original/3X/0/7/077e970f3db9f9aed06b25c6f53201873aee160c.png)

This is what I added to the `/root/start-scripts/50-petclinic-server.sh` file of the docker image.

 ![Screenshot 2025-03-17 at 15.51.42](https://us1.discourse-cdn.com/elastic/original/3X/3/4/34bf6604239f50347f8c4d4356d5a00cfeb48d80.png)

The PetClinic application is working fine and the docker image containing the server is running correctly.

After a while the petclinic-java service disappears.

Another thing I noticed is that the Service map is not what I was expecting it to be.

 ![Screenshot 2025-03-17 at 14.55.59](https://us1.discourse-cdn.com/elastic/original/3X/5/e/5ea18aa022d540dc5fc17799df2c36a96c9dab73.png)

Am I missing something?

Best regards,

Francesco

---

<div class="post-metadata">

### Author: ![Andre\_Murbach\_Maidl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andre_murbach_maidl/32/83508_2.png) [@Andre\_Murbach\_Maidl](https://discuss.elastic.co/u/Andre_Murbach_Maidl)
#### Post date: [March 17, 2025, 3:28pm UTC](https://discuss.elastic.co/t/elastic-observaility-lab-3-2-no-data-received-from-java-apm-agent/376019/2 "2025-03-17T15:28:56Z")

</div>

Hi @cesco ,

have you restarted `petclinic-server` after adding the configurations?

You can restart it running: `docker restart petclinic-server`.

Best,  
Andre

---

<div class="post-metadata">

### Author: ![cesco](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@cesco](https://discuss.elastic.co/u/cesco)
#### Post date: [March 17, 2025, 3:40pm UTC](https://discuss.elastic.co/t/elastic-observaility-lab-3-2-no-data-received-from-java-apm-agent/376019/3 "2025-03-17T15:40:55Z")

</div>

Hi @Andre_Murbach_Maidl, thanks for the reply!

Yes, I did restart it after adding the configuration, and that's when the service appeared in the list, but no data was being received from it.

Best,  
Francesco
