how to setup load-time weaving with Spring and Tomcat WITHOUT using the -javaagent on the command line
I am using Spring 3.2.9, Tomcat 6.0.44 I am trying to configure my application's Spring instrumentation provider (e.g. spring-instrumentation.jar) for load-time weaving, when it is deployed on Tomcat. I have a requirement to NOT use: "-javaagent:/path/path/spring-instrument.jar" on the command line to do the configuration. I've read that I can configure the Spring instrumentation by modifying the <Context> element of my application's Tomcat configuration (in either Tomcat's server.xml or my web app's context.xml). Adding the appropriate <Context> element to the server.xml results in my