Hi Shiri,
Here's what you need to profile a tomcat server app:
- Under 'TPTP Runtime and SDK' section, download TPTP runtime (All) [Looks like you already downloaded this]
- Under 'Agent Controller' or 'New technology Agent Controller' section, download the Agent Controller for Windows IA32 [Looks like you already downloaded this]
- Under 'Requirements' section, you'll need both Eclipse SDK 3.2.0 and EMF and XSD packages. [You probably already have Eclipse SDK 3.2.0, I'm not sure about EMF and XSD though]
> Possible reasons include the duplicity of the agent controller files – as I mentioned, a close look at the downloads page shows that both old and new agent controllers point to the same zip file.
Yes, the new Agent Controller replaced the old one for Windows IA32. This is why their links are the same.
Here's a screencast that gives an introductory overview of how you can profile a tomcat server application.
Regards,
Navid Mehregani
Problem Determination Tools
(905) 413-3664 | [EMAIL PROTECTED]
PWA: D2-152
"Shiri Dori"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 28/09/2006 04:49 AM
|
|
Hi,
I’m trying to run the Java Profiler in my Eclipse environment (v3.2) to profile a tomcat server app. I have a WinXP machine.
I’ve followed the instructions on these pages:
http://www.eclipse.org/tptp/platform/documents/tutorials/jvmti/Java_Application_Profiling_using_TPTP-v2.0.html
http://www.eclipse.org/tptp/home/downloads/installguide/agentcontroller_42/win_ia32/getting_started.html
Starting from the TPTP 4.2.0.2 installation page (http://www.eclipse.org/tptp/home/downloads/drops/TPTP-4.2.0.2.html), I installed the following components:
-TPTP runtime (“All”)
-New technology Agent Controller (which, for an unexplained reason, points to the same file as the “old” agent controller). Also ran the batch file as specified.
-JVMTI client
-JVMTI runtime – in the agent controller folder, as specified.
I also manage to run the agent controller from the command line.
However, when it came to configuring the profiler inside eclipse, I got in trouble – my preferences do not show a “Profiling and Logging” option as described on the Profiling page (http://www.eclipse.org/tptp/platform/documents/tutorials/jvmti/Java_Application_Profiling_using_TPTP-v2.0.html).
Possible reasons include the duplicity of the agent controller files – as I mentioned, a close look at the downloads page shows that both old and new agent controllers point to the same zip file.
Also, I got a slightly odd log message (included below) in AC, though I’m not sure if it related.
Any clue on how to get this running would be greatly appreciated.
Thanks,
-Shiri
<CommonBaseEvent creationTime="2006-09-28T08:01:40.199000Z" globalInstanceId="A41CDD878BEC4714873E08DB1132CF74" msg="Received command for unrecognized interface: iid=org.eclipse.tptp.eventProvider, cmd=listenerAccepted" severity="50" version="1.0.1">
<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.2.0\TPTP-4.2.0-200606190100\agntctrl\src\transport\TPTPClientCompTL\Connect2AC.c, line 2161" instanceId="1004" location="shirid-nb.atomant.net" locationType="IPV4" processId="4432" subComponent="Client Compatibility TL" threadId="4916" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2006-09-28T08:01:40.994000Z" globalInstanceId="A67E28C42B694DDF9059FABB0D1AA0E4" msg="File server started listening on port 10005" severity="10" version="1.0.1">
<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.2.0\TPTP-4.2.0-200606190100\agntctrl\src\transport\TPTPClientCompTL\fileServer.c, line 177" instanceId="1004" location="shirid-nb.atomant.net" locationType="IPV4" processId="4432" subComponent="Client Compatibility TL" threadId="5760" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________ tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev