Application experiences a bad performance and even crashed when agent was enabled with Spring monitoring extension
search cancel

Application experiences a bad performance and even crashed when agent was enabled with Spring monitoring extension

book

Article ID: 91950

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction



We have noticed that the performance of the application is much worse as soon as Java Agent 10.5.x is enabled, however the 10.0 agent is working fine. For example, any database calls is much slower (almost 10 times) with the 10.5 agent.

What is the root cause?

Environment

Java Agent 10.5.x only

Resolution

Problem was diagnosed to Spring monitoring Agent extension that is enabled by default in 10.5.x



To resolve the issue disable AspectTracing:


Change "TurnOn: AspectTracing" to "TurnOff: AspectTracing" in the AGENT_HOME/wily_10.5.x.x/extensions/SpringWS-f85e8b22-1.0.0/directives/toggles.pbd


Note: This trace is already disabled in 10.7.x Spring Extension.


Additional Information

Note this can result in errors in the application. These disappear when AspectTracing is disabled.