Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Load Time Weaving not working after upgrading Tomcat from 7.0.50 to 7.0.52 [SPR-11446] #16072
I have a Spring-based web application that employs load time weaving. For this I specify the javaagent on the command line when starting up Tomcat.
Now this has always worked perfectly until version 7.0.50 (included) of Tomcat. But after upgrading to 7.0.52 the load time weaving does not work anymore.
Needless to say that I still do specify the javaagent as I had done before. Also going back again to 7.0.50 (reusing the configuration of 7.0.52) the issue disappears again.
4 votes, 8 watchers
Holger Stenzhorn commented
I have tested successfully to enable load-time-weaving in Tomcat 7.0.52 by adding
Jose Enrique Garcia commented
Founded this issue in 7.0.52-1 and try to apply solution without success. If I added the previous line in my context, say
If try to add -javaagent and failed, seems the jar miss some field in the Manifest (sorry no remember which one) and tomcat no start.
So, what is the correct way to have iLoad Time Weaver working?
Upgrade the tomcat version it's no possible, by the moment.