Open magx2 opened 9 years ago
I found that jvmArgs are not pushed to Grettys Tomcat.
Any update on the issue? I'm experiencing the same problem. jvmArgs are picked up by jetty but not by tomcat.
Does anybody know a work-around?
Apparently jvmArgs are passed in to tomcat but weaving does not happen which may have something to do with the order in which the classes are loaded.
I'm trying to run Tomcat 7 with
-javaagent:/full/path/aspectjweaver-${aspectVersion}.jar
. I'm doing this in gretty.jvmArgs. My code frombuild.gradle
:When running
gradlew runB24
I get this error:What is the solution for this problem?
You can see more on my StackOverflow question: http://stackoverflow.com/questions/28701098/aspectjweaver-not-working-with-gretty-in-gradle