# Investigate SAP extension monitoring interruption

**URL:** <https://community.dynatrace.com/t/investigate-sap-extension-monitoring-interruption/36021>\
**Category:** Extensions\
**Tags:** technologies, data-explorer, sap, processes, extensions\
**Created:** [July 27, 2022, 8:46pm UTC](https://community.dynatrace.com/t/investigate-sap-extension-monitoring-interruption/36021 "2022-07-27T20:46:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GP\_Stanley](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@GP\_Stanley](https://community.dynatrace.com/u/GP_Stanley)\
**Post date:** [July 27, 2022, 8:46pm UTC](https://community.dynatrace.com/t/investigate-sap-extension-monitoring-interruption/36021/1 "2022-07-27T20:46:32Z")

</div>

Our SAP Extension is going blank on the live data feed and even showing the wrong custom device name.

Went into settings, monitored technologies, the SAP Application server, and looked at the endpoint with the wrong endpoint it is disabled. We updated it in case there is a sync issue, however, in Technologes & Processes, it is that endpoint that is shown for Remote extension endpoints.

The correct endpoint is shown OK status and we refreshed but it is not even showing in Technologies & Processes. When I go to Data Explorer and pull up Dialog Response time by custom device, this correct endpoint custom device is not generating any data.

For monitoring interruptions what should be done for SAP ABAP extension? How can we check if there is a Dynatrace configuration issue somewhere or if its SAP system issue?

What I looked at

> **[Develop your own Extensions](https://docs.dynatrace.com/docs/ingest-from/extensions/develop-your-extensions)**
>
> Develop your own Extensions in Dynatrace.

> **[Troubleshooting monitoring interruptions](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/oneagent-troubleshooting/troubleshoot-monitoring-interruptions)**
>
> Learn how to deal with different types of monitoring interruptions based on the type of Dynatrace deployment you're running.

1) Checked Operational status of ActiveGate

Deployment status → ActiveGates

2) Restarted oneagent too

Other than check ActiveGate operational status, checking logs, removing ABAP endpoint and readding it (which is next because we disabled and updated it and still no data coming through), what else am i missing?

---

<div class="post-metadata">

**Author:** ![DavidMass](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/davidmass/32/9065_2.png) [@DavidMass](https://community.dynatrace.com/u/DavidMass)\
**Post date:** [July 27, 2022, 9:21pm UTC](https://community.dynatrace.com/t/investigate-sap-extension-monitoring-interruption/36021/2 "2022-07-27T21:21:32Z")

</div>

Hi&nbsp;[@GP\_Stanley](https://community.dynatrace.com/user/52376)&nbsp;,&nbsp;  
The extension creates log files which can be found on the ActiveGate server :&nbsp;  
C:\ProgramData\dynatrace\remotepluginmodule\log\remoteplugin\custom.remote.python.sap

or

/var/lib/dynatrace/remotepluginmodule/log/remoteplugin/custom.remote.python.sap

The logs in that directory should help pinpoint what is going on with the endpoints such as a timeout or another error.

---

<div class="post-metadata">

**Author:** ![rsaliou](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@rsaliou](https://community.dynatrace.com/u/rsaliou)\
**Post date:** [October 3, 2023, 1:06pm UTC](https://community.dynatrace.com/t/investigate-sap-extension-monitoring-interruption/36021/3 "2023-10-03T13:06:39Z")

</div>

Hello,

I have got same problem with “SAP Application Server (version 1.158)” extension. I configure endpoint, it’s seems ok but not data collected.

I look into log file on ActiveGate host in C:\ProgramData\dynatrace\remotepluginmodule\log\remoteplugin\custom.remote.python.sap\SAPPluginRemote.log

Below is extract

2023-10-03 12:26:58.966 UTC DEBUG [Python][6239264261536217212][SAP\_BS7][28772][ThreadPoolExecutor-0\_0] - [query] Monitoring WS-HTTP  
2023-10-03 12:26:58.966 UTC DEBUG [Python][6239264261536217212][SAP\_BS7][28772][ThreadPoolExecutor-0\_0] - [query] Monitoring ESI  
2023-10-03 12:26:58.966 UTC DEBUG [Python][6239264261536217212][SAP\_BS7][28772][ThreadPoolExecutor-0\_0] - [query] Monitoring ALE  
2023-10-03 12:26:58.966 UTC DEBUG [Python][6239264261536217212][SAP\_BS7][28772][ThreadPoolExecutor-0\_0] - [query] Monitoring RFC  
2023-10-03 12:26:58.966 UTC DEBUG [Python][6239264261536217212][SAP\_BS7][28772][ThreadPoolExecutor-0\_0] - [query] Monitoring CPIC  
2023-10-03 12:26:58.966 UTC INFO [Python][6239264261536217212][SAP\_BS7][28772][ThreadPoolExecutor-0\_0] - [query] Skipping execution 1, executing every 5 minutes  
2023-10-03 12:26:58.966 UTC WARNING [Python][6239264261536217212][SAP\_BS7][28772][ThreadPoolExecutor-0\_0] - [query] No file found, start process  
2023-10-03 12:26:58.966 UTC INFO [Python][6239264261536217212][SAP\_BS7][28772][ThreadPoolExecutor-0\_0] - [runJava] Using java path: ../../../gateway/jre/bin/java.exe  
2023-10-03 12:26:58.966 UTC INFO [Python][6239264261536217212][SAP\_BS7][28772][ThreadPoolExecutor-0\_0] - [runJava] [‘../../../gateway/jre/bin/java.exe’, ‘-Xmx1536m’, ‘-cp’, ‘D:\\dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.sap/SAPRFC.jar;D:/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.sap/Jars/sapjco3.jar’, ‘com.dynatrace.saprfc.Main’, ‘C:\\Windows\\SERVIC~2\\LOCALS~1\\AppData\\Local\\Temp/10.156.38.2700200/’]  
2023-10-03 12:26:59.454 UTC INFO [Python][6239264261536217212][SAP\_BS7][28772][ThreadPoolExecutor-0\_0] - [query] [WinError 2] The system cannot find the file specified: ‘C:\\Windows\\SERVIC~2\\LOCALS~1\\AppData\\Local\\Temp/10.156.38.2700200/javaRunning.dt.sap.lock’  
2023-10-03 12:26:59.454 UTC INFO [Python][6239264261536217212][SAP\_BS7][28772][ThreadPoolExecutor-0\_0] - [query] No previous data found, awaiting next execution

I didn’t see where is the problem.

Could you help me on this, please ?

Thanks by advance.

 ![dynatrace-60.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/cd00260c5abbb36dc99e600d5c1feb35b7fd76d7.png)

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [October 3, 2023, 2:01pm UTC](https://community.dynatrace.com/t/investigate-sap-extension-monitoring-interruption/36021/4 "2023-10-03T14:01:43Z")

</div>

Please create a support ticket for it.

In 99% of the cases a log such as that means that something went wrong with the “SAP Java Connector configuration” section of the help page:&nbsp;[Extensions — Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/technology-support/dynatrace-extensions/dynatrace-extension-required/sap)  
Either the redistributable isn’t installed, or you downloaded a 32 bit version of the sapjco3.jar, or you don’t have access to read the sapjco3 file.

---

<div class="post-metadata">

**Author:** ![rsaliou](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@rsaliou](https://community.dynatrace.com/u/rsaliou)\
**Post date:** [October 3, 2023, 2:06pm UTC](https://community.dynatrace.com/t/investigate-sap-extension-monitoring-interruption/36021/5 "2023-10-03T14:06:50Z")

</div>

😧 && cd D:/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.sap && D:\dynatrace\gateway\jre\bin\java.exe -Xmx1536m -cp SAPRFC.jar;Jars/sapjco3.jar com.dynatrace.saprfc.Main C:\Temp

# Exception in thread “main” java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: D:\dynatrace\remotepluginmodule\plugin\_deployment\custom.remote.python.sap\Jars\sapjco3.dll: Can’t load IA 32-bit .dll on a AMD 64-bit platform

And i figure out what it is. I installed SAPJco version 32 bits because current default jvm on this server is 32 bits

But ActiveGate Dynatrace is in 64 bits and you can test loading of SAPJco.jar with it.

D:\dynatrace\gateway\jre\bin\java.exe -jar D:\dynatrace\remotepluginmodule\plugin\_deployment\custom.remote.python.sap\Jars\sapjco3.jar
