Page 1 of 1

Spring instrumentation on Tomcat 8

Posted: Thu Feb 11, 2016 3:01 am
by rporazil
Hello,

I want to run BroadLeaf on Tomcat 8 and I would like to know your opinion on load time weaving with Spring and Tomcat 8.

According to Spring Javadoc (http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/instrument/classloading/tomcat/TomcatInstrumentableClassLoader.html), the TomcatInstrumentableClassLoader is no longer required on Tomcat 8+.
I would like to know if Spring instrumentation recommended on http://www.broadleafcommerce.com/docs/core/current/appendix/load-time-weaving can be excluded as well.

Thanks for any opinion or recommendation
Radek

Re: Spring instrumentation on Tomcat 8

Posted: Tue Jul 25, 2017 4:21 pm
by phillipuniverse
You are correct, there is no need to specify the spring-instrument.jar as a -javaagent parameter on Tomcat 8. This is actually true for Tomcat versions later than 7.0.57.

The Broadleaf forums are being retired as a readonly archive of questions. For active discussions and questions, check out the broadleaf-commerce tag on Stack Overflow which is actively monitored by the Broadleaf team.