# APM Java agent read elasticapm.properties, resulting in application startup failure

**URL:** <https://discuss.elastic.co/t/apm-java-agent-read-elasticapm-properties-resulting-in-application-startup-failure/374538>\
**Category:** APM\
**Tags:** java\
**Created:** [February 14, 2025, 7:04am UTC](https://discuss.elastic.co/t/apm-java-agent-read-elasticapm-properties-resulting-in-application-startup-failure/374538 "2025-02-14T07:04:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![arT1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/art1/32/137703_2.png) [@arT1](https://discuss.elastic.co/u/arT1)\
**Post date:** [February 14, 2025, 8:13am UTC](https://discuss.elastic.co/t/apm-java-agent-read-elasticapm-properties-resulting-in-application-startup-failure/374538/2 "2025-02-14T08:13:41Z")

</div>

I have referenced this discussion: [JVM corrupted with java agent 1.19.0 - CentOS - #5 by Eyal\_Koren](https://discuss.elastic.co/t/jvm-corrupted-with-java-agent-1-19-0-centos/257599/5)  
and deleted the profile\_inferred\_spans\_enabled: true  
The application starts normally, the apm is normal  
Can anyone tell me why?

---

_[View the full topic](https://discuss.elastic.co/t/apm-java-agent-read-elasticapm-properties-resulting-in-application-startup-failure/374538)._
