Re: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Konstantin Kolinko
2010/4/7 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

RE: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Arshan Dabirsiaghi
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

Re: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Christopher Schultz
-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

Re: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arshan, On 4/6/2010 12:04 AM, Arshan Dabirsiaghi wrote: > The bottom line appears to be this: across Tomcat and JDK versions, you > can't use the javaagent switch and have a working web app. This works for me under the following environment: $ bin/c

RE: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Arshan Dabirsiaghi
assloading 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

RE: Major Tomcat classloading issues with javaagent command line switch

2010-04-05 Thread Caldarale, Charles R
> 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 and have a working web app. Wrong