Leak in Instrumentation Config

Description

I have the following errornous behaviour:

  1. I installed a new CMR from scratch

  2. I imported an instrumentation configuration (environment + profiles) that in this case did not include HTTP profile

  3. However, in the first try I forgot to change the agent<->environment mapping

  4. I started the target JBoss server

  5. Then I realized that I forgot to change the mapping (Because servlets where instrumented, though they where not selected in the imported environment)

  6. So, I stopped the JBoss, changed the agent mapping to the imported environment, and started the JBoss again

  7. NOW COMES THE BUG: Servlets are still instrumented

  8. I stopped JBoss again, I even changed one of the selected profiles (just for checking), started JBoss again --> Still Servlets are instrumented though not selected in the used environment!

There seems to be a Leak somewhere so that profiles are not removed from the agent instrumentation once they have been active!

Environment

None

Assignee

Unassigned

Reporter

Alexander Wert

Labels

None

Integrator

None

Affects versions

Priority

High
Configure