22 Mar 2025 03:03 PM - edited 22 Mar 2025 03:05 PM
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)
24 Mar 2025 10:42 PM
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.
27 Mar 2025 04:34 PM - edited 27 Mar 2025 05:02 PM
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.
27 Mar 2025 04:52 PM
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.
27 Mar 2025 04:53 PM
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.
27 Mar 2025 05:02 PM
I have updated my comment.
27 Mar 2025 09:30 PM
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.
28 Mar 2025 06:55 AM
Hi, please create a support ticket then.