# No traces for Tomcat with coyote framework

**URL:** <https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180>\
**Category:** APM\
**Tags:** java\
**Created:** [May 5, 2021, 12:37pm UTC](https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180 "2021-05-05T12:37:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henk\_Stobbe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/henk_stobbe/32/88015_2.png) [@Henk\_Stobbe](https://discuss.elastic.co/u/Henk_Stobbe)\
**Post date:** [May 5, 2021, 12:37pm UTC](https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180/1 "2021-05-05T12:37:47Z")

</div>

Hello,

I have instrumented a tomcat server with the -javaagent, but the outgoing http requests are not getting the trace header. Looking in the classes loaded it seems that the coyote framework is used.

I assume this is not supported?

KR Henk

---

<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:** [May 5, 2021, 1:18pm UTC](https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180/2 "2021-05-05T13:18:18Z")

</div>

> [@Henk\_Stobbe](#):
>
> Looking in the classes loaded it seems that the coyote framework is used.  
> I assume this is not supported?

Coyote is Tomcat's component that supports the HTTP protocol for incoming requests, so it shouldn't be related to outgoing requests.  
If you are not getting transactions at all, make sure your Tomcat version and Servlet API versions are [supported](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html) and if they are, take a look at the agent logs, maybe it will tell you something. You may set `log_level` to `debug` to get extended info.  
If you are getting transactions, but no distributed traced for outgoing requests, most likely you are not using one of the [supported HTTP clients](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html#supported-networking-frameworks).

---

<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:** [May 5, 2021, 2:21pm UTC](https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180/3 "2021-05-05T14:21:48Z")

</div>

If you are using a supported HTTP client, you may be using an asynchronous framework that is not [supported](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html#supported-async-frameworks), and then the trace context cannot be propagated properly from the request-handling thread to the thread that does the eventual HTTP call.

---

<div class="post-metadata">

**Author:** ![stobbe99](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@stobbe99](https://discuss.elastic.co/u/stobbe99)\
**Post date:** [May 5, 2021, 2:22pm UTC](https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180/4 "2021-05-05T14:22:09Z")

</div>

Hello Eyal,

Supported Apache HttpClient 4.3+

Used commons-httpclient-3.1

So that explains, thanks for your help!

KR Henk

---

<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:** [May 5, 2021, 2:24pm UTC](https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180/5 "2021-05-05T14:24:03Z")

</div>

You are most welcome. I hope you can upgrade to a supported version and get our agent capabilities in full.

---

<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:** [May 26, 2021, 10:24am UTC](https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180/6 "2021-05-26T10:24:58Z")

</div>

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