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 the agent jar fixed the problem.
Thanks! Arshan -----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, April 06, 2010 11:50 AM To: Tomcat Users List Subject: Re: Major Tomcat classloading issues with javaagent command line switch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Arshan, On 4/6/2010 11:18 AM, Christopher Schultz wrote: > The command line for my running JVM looks like this: > > /usr/bin/java -Dnop -Xmx64M > -agentpath:/home/cschultz/yjp-8.0.6/bin/linux-x86-32/libyjpagent.so= Sorry, I didn't see that you were using a Java-language agent. I haven't tried this. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAku7WDUACgkQ9CaO5/Lv0PBGTACdG2gUuUsT55SlfDKKOGgagp27 qG4An2LtLnwavrnj79jPJ6oUwQZowhhW =Mx79 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org