Youkit integration with Apache Tomcat Ver 6.0.39 not working

Questions about YourKit Java Profiler
Post Reply
sharmagaurav
Posts: 1
Joined: Fri Jun 20, 2014 1:51 pm

Youkit integration with Apache Tomcat Ver 6.0.39 not working

Post by sharmagaurav »

Hello All,

I am trying to start my tomcat version 6.0.39 with yourkit. I followed up all the set-up guidelines. The yourkit startup bat is getting created but when I am starting it up through that, yourkit is not getting integrated with tomcat. It just start the tomcat. However, When I try the same with tomcat 8, it is getting starting up. Any idea on that? Also I am beginner with application profiling and Yourkit and going through the yourkit documentation. Any clue on some good documents on Profiling and yourkit shall be of much help.

Thanks and Regards
Gaurav
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Youkit integration with Apache Tomcat Ver 6.0.39 not wor

Post by Anton Katilin »

Hello Gaurav

The wizard adds -agentpath JVM startup option by setting corresponding environment variable.
Perhaps your Tomcat 6.0.39 startup script was manually modified in the past, and the changes made by the wizard are later overwritten by other lines. Please find the line inserted by the wizard, and see what happens with the modified variable. Alternatively, you can manually insert the -agentpath parameter to the line in the .sh which starts the JVM.

Best regards,
Anton
Post Reply