I wanted to see a very simple example of JVMTI. For that I included the sun provided sample mtrace.dll and mtrace.jar (with couple of sysouts and again I created a jar) in tomcat 6.0 bin directory and also from Tomcat configuration I provided -Xbootclasspath/a:"C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\mtrace.jar" -agentlib:mtrace in java options.
I was expecting that when I run any of the war project on tomcat then mtrace would instrument bytecod at entry and exit of methods. But none of the sysout that I provided in the mtrace came out in log. If mtrace.jar gets called then sysout should get printed in logs.
Just wanted to ask if the steps I followed are correct and if so then why sysouts are not coming in logs?