# Where to configure APM agent in application side

**URL:** <https://discuss.elastic.co/t/where-to-configure-apm-agent-in-application-side/149222>\
**Category:** APM\
**Created:** [September 20, 2018, 5:51am UTC](https://discuss.elastic.co/t/where-to-configure-apm-agent-in-application-side/149222 "2018-09-20T05:51:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![J.Teekaram\_prasath](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/j.teekaram_prasath/32/40948_2.png) [@J.Teekaram\_prasath](https://discuss.elastic.co/u/J.Teekaram_prasath)\
**Post date:** [September 20, 2018, 5:51am UTC](https://discuss.elastic.co/t/where-to-configure-apm-agent-in-application-side/149222/1 "2018-09-20T05:51:18Z")

</div>

Hi,

```
  I am new to APM. we are using Redhat JBoss to run the applications in separate node. Now where I need to configure agent and how? Any suggestions ......
```

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [September 20, 2018, 7:26am UTC](https://discuss.elastic.co/t/where-to-configure-apm-agent-in-application-side/149222/2 "2018-09-20T07:26:31Z")

</div>

Hi and thanks for checking out the Java agent!

Have you seen the [getting started docs](https://www.elastic.co/guide/en/apm/agent/java/current/intro.html)? You can configure the agent with environment variables, system properties, and a property file. To attach the agent, you need to specify the `-javaagent` flag. Which version of JBoss are you using? I assume you are using JBoss EAP?

Cheers,  
Felix

---

<div class="post-metadata">

**Author:** ![J.Teekaram\_prasath](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/j.teekaram_prasath/32/40948_2.png) [@J.Teekaram\_prasath](https://discuss.elastic.co/u/J.Teekaram_prasath)\
**Post date:** [September 20, 2018, 1:55pm UTC](https://discuss.elastic.co/t/where-to-configure-apm-agent-in-application-side/149222/3 "2018-09-20T13:55:36Z")

</div>

Thanks for your response @felixbarny. I think it will be helpful to me. For your question, Yes we are using JBoss EAP 6.4

---

<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 11, 2018, 9:55am UTC](https://discuss.elastic.co/t/where-to-configure-apm-agent-in-application-side/149222/4 "2018-10-11T09:55:37Z")

</div>

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