# APM data not coming in KIbana for Jboss EAP running on Wildfly using EJB instead of HTTP

**URL:** <https://discuss.elastic.co/t/apm-data-not-coming-in-kibana-for-jboss-eap-running-on-wildfly-using-ejb-instead-of-http/250467>\
**Category:** APM\
**Tags:** java\
**Created:** [September 30, 2020, 8:22am UTC](https://discuss.elastic.co/t/apm-data-not-coming-in-kibana-for-jboss-eap-running-on-wildfly-using-ejb-instead-of-http/250467 "2020-09-30T08:22:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![khgupta3](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@khgupta3](https://discuss.elastic.co/u/khgupta3)\
**Post date:** [September 30, 2020, 8:22am UTC](https://discuss.elastic.co/t/apm-data-not-coming-in-kibana-for-jboss-eap-running-on-wildfly-using-ejb-instead-of-http/250467/1 "2020-09-30T08:22:50Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text 🙂

TIP 1: select at least one tag that further categorizes your topic. For example `server` for APM Server related questions, `java` for questions regarding the Elastic APM Java agent, or `ui` for questions about the APM App within Kibana.

TIP 2: Check out the [troubleshooting guide](https://www.elastic.co/guide/en/apm/get-started/current/troubleshooting.html) first. Not only will it help you to resolve common problems faster but it also explains in more detail which information we need before we can properly help you.

**Kibana version** : 7.9.2

**Elasticsearch version** : 7.9.2

**APM Server version** : 7.9.2

**APM Agent language and version** :1.18.0

**Browser version** : Chrome

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

**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. None

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

We have deployed APM Agent on our Jboss EAP 7.1.0 running on Wildfly and using EJB on backend. We checked supported technologies and I guess Jboss EAP is supported in APM to get transactional data. However I am not sure of internal mechanism, how APM works. Does APM only works for REST services or it also support EJB ?

Below is the configuration we are using and JVM data is being displayed in Kibana. Regarding Error logs.. Nothing in APM server logs nor anything in Application Logs. Please suggest why Transactional data is not getting generated.

**Java Version**  
java version "1.8.0\_121"  
Java(TM) SE Runtime Environment (build 1.8.0\_121-b13)  
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

**Configuration Done**  
-javaagent:/home/arbor/apm/elastic-apm-agent-1.18.0.jar  
-Delastic.apm.server\_urls=http://10.230.27.78:8200  
-Delastic.apm.service\_name=JMW  
-Delastic.apm.hostname=fxjmw01  
-Delastic.apm.log\_level=DEBUG  
-Delastic.apm.log\_file=/home/arbor/apm/apm.log  
-Delastic.apm.enable\_log\_correlation=true

---

<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 30, 2020, 9:04am UTC](https://discuss.elastic.co/t/apm-data-not-coming-in-kibana-for-jboss-eap-running-on-wildfly-using-ejb-instead-of-http/250467/2 "2020-09-30T09:04:54Z")

</div>

There is no dedicated support for EJB. Historically, remote invocations of EJBs would rely on RMI (or CORBA, or proprietary protocol in some maybe), which wouldn't be supported OOTB. The exception may be message beans, which implement the JMS `MessageListener` IIRC, or if there is some way of making remote EJB invocations through SOAP (I am not aware of such).

So, normally, EJB invocations are not expected to be automatically traced. You can use our [public API](https://www.elastic.co/guide/en/apm/agent/java/current/public-api.html) to achieve that.

Other than that, as long as you are using a supported JBoss version (which is the case)- Servlet-based transactions should be captured and reported. If that doesn't work, check agent logs for hints.

---

<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 21, 2020, 5:04am UTC](https://discuss.elastic.co/t/apm-data-not-coming-in-kibana-for-jboss-eap-running-on-wildfly-using-ejb-instead-of-http/250467/3 "2020-10-21T05:04:54Z")

</div>

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