RE: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Arshan Dabirsiaghi
issues with javaagent command line switch From: Arshan Dabirsiaghi [mailto:arshan.dabirsia...@aspectsecurity.com] Subject: Major Tomcat classloading issues with javaagent command line switch The bottom line appears to be this: across Tomcat and JDK versions, you can't use the javaagent switch

RE: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Arshan Dabirsiaghi
Just to close the loop here, the problem was that the class was being loaded twice - once from inside the *agent* jar, and another duplicate later from WEB-INF/classes. I guess Tomcat or Java was confused as to which version they wanted to use. Not 100% sure what happened, but removing it from