APM Java Agent 10.8 unable to connecting to APM Enterprise Manager SAP 10.8
search cancel

APM Java Agent 10.8 unable to connecting to APM Enterprise Manager SAP 10.8

book

Article ID: 369164

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

We are trying to deploy Agent.jar from Java agent 10.8 [2023.5.1.13 (Build 990013)] and we have noticed that the agent is unable to connect to the APM EM 10.8.

We can see the below error in the EM log. We don't have any issue when using Agent.jar from previous versions (10.7, 10.5)

... 
 [DEBUG] [IntroscopeAgent.IncomingMessageDeliveryTask] Unrecoverable exception while reading from Socket Transport connected with Socket[addr=...
  java.lang.ClassCastException: com.wily.isengard.postoffice.Address (loaded by com.wily.introscope.agent.util.AgentResourceClassLoader@74905) cannot be cast to com.wily.isengard.postoffice.Address (loaded by com.sap.smd.agent.loader.FileClassLoader@8872)
        at com.wily.isengard.postofficehub.link.v1.IncomingMessageDeliveryTask.deliverNextMessage(IncomingMessageDeliveryTask.java:76)
        at com.wily.isengard.postofficehub.link.v1.IncomingRouteConnector.receiveIncomingMessages(IncomingRouteConnector.java:170)
        at com.wily.isengard.postofficehub.link.v1.IncomingRouteConnector.doTask(IncomingRouteConnector.java:89)
        at com.wily.isengard.util.thread.AThreadedExecutable.run(AThreadedExecutable.java:192)
        at java.lang.Thread.run(Thread.java:836)

Environment

**This issue is specific for APM SAP environments only**

  • APM EM SAP 10.8.x
  • APM Agents 10.8 (23.3) , APM Agents SaaS

Cause

The problem is related to defect DE602872, a defect during ClassLoaders

Resolution

The fix for this issue will be in next 24.7 post java agent releases.

Additional Information