# Java methods not tracing in weblogic

**URL:** <https://discuss.elastic.co/t/java-methods-not-tracing-in-weblogic/229394>\
**Category:** APM\
**Tags:** java\
**Created:** [April 23, 2020, 7:05am UTC](https://discuss.elastic.co/t/java-methods-not-tracing-in-weblogic/229394 "2020-04-23T07:05:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chakravarthi](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@chakravarthi](https://discuss.elastic.co/u/chakravarthi)\
**Post date:** [April 23, 2020, 7:05am UTC](https://discuss.elastic.co/t/java-methods-not-tracing-in-weblogic/229394/1 "2020-04-23T07:05:45Z")

</div>

**Kibana version** : 7.6.2

**Elasticsearch version** : 7.6.2

**APM Server version** : 7.6.2

**APM Agent language and version** : Java and elastic-apm-agent-1.15.0.jar

**Browser version** : Chrome 80.0.3987.163 (Official Build) (64-bit)

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

**Fresh install or upgraded from other version?** : Fresh install

**Is there anything special in your setup?** Application is weblogic. Added below Java args to the JVM list "-javaagent:/elastic-apm-agent-1.15.0.jar -Delastic.apm.service\_name=admin1aa -Delastic.apm.server\_url=http://\<APM\_HOST\>:8200 -Delastic.apm.secret\_token="

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

- Issue: Not able to see time spent on java classes.
- Able to see transactions got captured in APM Server. Please see the attachement as reference to the issue
- Time Spent by span type: App-92.8%, Oracle(DB)- 7.2%
- Under Trace Sample:  
only able to see DB calls time spent. but not Application server time spent breakup  
Also, just seeing 2 sections (Timeline, Metadata). However, in the training videos, have seen few other sections like request, response, etc..[D:\cloud\Loadbalancer\ElasticSearch\ELK-7.6.2] ![APM_tracing](https://us1.discourse-cdn.com/elastic/original/3X/6/8/68f79646909337d0ba0bcd17078a0835a9338dc6.png)

**Steps to reproduce** :  
1.  
2.  
3.

**Errors in browser console (if relevant)**:

**Provide logs and/or server output (if relevant)**:

---

<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:** [April 23, 2020, 7:19am UTC](https://discuss.elastic.co/t/java-methods-not-tracing-in-weblogic/229394/2 "2020-04-23T07:19:07Z")

</div>

Hi and welcome to the forum 👋

By default, the Java agent has built-in tracing points for incoming HTTP requests, JDBC, HTTP clients and some more: [Supported technologies | APM Java Agent Reference [master] | Elastic](https://www.elastic.co/guide/en/apm/agent/java/master/supported-technologies-details.html)

There are several ways how you can get more method level insight: [How to find slow methods | APM Java Agent Reference [master] | Elastic](https://www.elastic.co/guide/en/apm/agent/java/master/java-method-monitoring.html)

> [@chakravarthi](#):
>
> only able to see DB calls time spent. but not Application server time spent breakup  
> Also, just seeing 2 sections (Timeline, Metadata). However, in the training videos, have seen few other sections like request, response,

Click on the `OAuthAdminEndpoints` span to see those details.

---

<div class="post-metadata">

**Author:** ![chakravarthi](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@chakravarthi](https://discuss.elastic.co/u/chakravarthi)\
**Post date:** [April 24, 2020, 6:14am UTC](https://discuss.elastic.co/t/java-methods-not-tracing-in-weblogic/229394/3 "2020-04-24T06:14:07Z")

</div>

Thanks! it worked. By adding properties to elasticapm.properties, able to trace java classes

---

<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 15, 2020, 2:14am UTC](https://discuss.elastic.co/t/java-methods-not-tracing-in-weblogic/229394/4 "2020-05-15T02:14:11Z")

</div>

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