I have the following errornous behaviour:
I installed a new CMR from scratch
I imported an instrumentation configuration (environment + profiles) that in this case did not include HTTP profile
However, in the first try I forgot to change the agent<->environment mapping
I started the target JBoss server
Then I realized that I forgot to change the mapping (Because servlets where instrumented, though they where not selected in the imported environment)
So, I stopped the JBoss, changed the agent mapping to the imported environment, and started the JBoss again
NOW COMES THE BUG: Servlets are still instrumented
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!