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

Document ID : KB000091950
Last Modified Date : 18/04/2018
Show Technical Document Details
Question:
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
Answer:
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.