https://issues.apache.org/bugzilla/show_bug.cgi?id=56756

mart.bakh...@zeroturnaround.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |---

--- Comment #11 from mart.bakh...@zeroturnaround.com ---
Hi Mark, 

Thanks for looking into this issue. I have some additional information that you
can use to reproduce the issue. 

It seems that tomcat changed its classloaders somewhere between 7.0.50-7.0.53.
In the new version, if org.springframework:spring-instrument is maven
dependencies then there will be two copies of InstrumentationSavingAgent loaded
into the application - one in the WebappClassLoader and one in the system
classloader. Spring uses the webapp classloader which makes it unable to find
the instrumentation. See the sample application - mvn package, deploy the war
and open http://localhost:8080/instrumentation-demo/ 

Thanks
Märt B

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to