Adobe AEM instrumented with JavaAgent keeps disconnecting from the Introscope EM
search cancel

Adobe AEM instrumented with JavaAgent keeps disconnecting from the Introscope EM

book

Article ID: 142904

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

Adobe AEM instrumented with JavaAgent keeps disconnecting from the Introscope EM 

Symptoms:

From Webview, agent keeps connecting and disconnecting.


The Agent log shows Agent is connecting/disconnecting every 30s, the connection always broke shortly after connection due to below Exception:

[DEBUG] [IntroscopeAgent.IncomingMessageDeliveryTask] Unrecoverable exception while reading from Socket Transport connected with Socket[addr=/<ip_address>,port=5001,localport=<port>]
java.lang.UnsupportedOperationException: Deserialization not allowed for class com.wily.introscope.spec.agent.beans.autotracing.AgentMetricThresholdTrigger (on <date>)
    at org.kantega.notsoserial.DefaultNotSoSerial.preventDeserialization(DefaultNotSoSerial.java:256)
    at org.kantega.notsoserial.DefaultNotSoSerial.onBeforeResolveClass(DefaultNotSoSerial.java:248)
    at org.kantega.notsoserial.ObjectInputStreamClassVisitor.onBeforeResolveClass(ObjectInputStreamClassVisitor.java:48)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1868)
...

Environment

APM Java Agent

Cause

The problem is is related to a Deserialization Firewall from Adobe AEM.  Firewall is blocking the deserialization of wily agent classes. 


https://helpx.adobe.com/experience-manager/kb/deserialization-not-allowed-error.html

Resolution