cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Exceptions in Dynatrace - java.lang.UnsatisfiedLinkError: 'void com.dynatrace.agent.AgentNative.addProcessGroupTech(java.lang.Stri

kumarsravan
Visitor

Hi Team,

I am facing this exceptions in Dynatrace and unable to find the reason for it. This is our current Dynatrace configurations for installation in the docker file - AWS ECS

# Dynatrace OneAgent for Java (Linux)
COPY --from=artifactory.dev.adskengineer.net/autodeskcloud/linux/oneagent-codemodules/java / /
ENV LD_PRELOAD /opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so
ENV DT_LOGLEVELCON INFO

Exception in thread "Timer-0" java.lang.UnsatisfiedLinkError: 'void com.dynatrace.agent.AgentNative.addProcessGroupTech(java.lang.String, java.lang.String, java.lang.String)' at com.dynatrace.agent.AgentNative.addProcessGroupTech(Native Method) at com.dynatrace.agent.Agent.addProcessGroupTech(Agent.java:473) at com.dynatrace.agent.introspection.agentcore.TechnologyDetectionIntrospectionUtils.reportDetectedVersion(TechnologyDetectionIntrospectionUtils.java:99) at com.dynatrace.agent.introspection.agentcore.TechnologyDetectionIntrospectionUtils.reportDetectedVersion(TechnologyDetectionIntrospectionUtils.java:85) at com.dynatrace.agent.introspection.agentcore.TechnologyDetectionIntrospectionUtils.reportDetectedVersion(TechnologyDetectionIntrospectionUtils.java:73) at com.dynatrace.agent.introspection.agentcore.KotlinVersionDetection$1.run(KotlinVersionDetection.java:33) at java.base/java.util.TimerThread.mainLoop(Unknown Source) at java.base/java.util.TimerThread.run(Unknown Source)

7 REPLIES 7

This inquiry may be better suited for the support team than the community. If you have not already done so, I recommend opening a support case via in-product chat or the support portal

harald_berger
Dynatrace Champion
Dynatrace Champion

Hi, this a problem with the Kotlin version detection which is available since OA 307. It might be triggered when any other third party java agent is active like the OTel agent. Please try to remove the OTel agent as workaround.

Another workaround is to turn off tech detection via debugEnableJavaProcessGroupTechDetectionNative=false, but you will miss the technology detection then.

Is already fixed with OA 311 which should ship on 8th April.

kumarsravan
Visitor

Hi @harald_berger , thanks for the response, but we are using OTEL agent as sidecar for ECS service and it is collecting traces and metrics which is used for distributed tracing. 

kumarsravan
Visitor

With this error, any dynatrace capabilities are affected? we are running both oneagent & otel sidecar in our docker file.
How can we resolve this error running both OTEL and OneAgent.

I have updated my comment.

kumarsravan
Visitor

Hello @harald_berger , it is still coming through and i see the same error even after adding the flag. i have attached the logs for reference.

Hi, please create a support ticket then.

Featured Posts