Hi Navid,
What screencast are you referring to? I
did not receive any attachment or link.
I feel silly for asking for more help, but
installing EMF/XSD did not end my troubles with the profiler.
Now, the profiler is willing to profile
simple programs, but fails when launching the server profile on the Tomcat app.
Going back to the installations page I
noticed the following plugins listed:
·
Eclipse Web Tools
Platform (WTP) 1.5.1
- (optional) required by profile on server feature
·
Java EMF Model
(JEM) SDK 1.2
- (optional) required by profile on server feature
However, even after installing them I get
the following error message:
“The JVMTI agent org.eclipse.tptp.jvmti
is not available. Make sure that the agent’s libraries are available and
that it is configured properly.”
However, a closer look at my plugin folder
shows that it indeed contains all the jvmti client files from the zip. But
these do not include an org.eclipse.tptp.jvmti Jar, rather, it contains two other
jars - org.eclipse.tptp.platform.jvmti.client, and org.eclipse.tptp.trace.jvmti.client
. A check on the JVMTI runtime also seems to indicate that it was installed
properly in the agent controller library, as specified.
Phew! Definitely makes me want to get the
aforementioned update manager, as Harm suggested. (Any handy links?)
Thanks once again,
-Shiri
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Navid Mehregani
Sent: Thursday, September 28, 2006
5:36 PM
To: TPTP Tracing and Profiling
Tools Project developer discussions
Subject: Re:
[tptp-tracing-profiling-tools-dev] Problems withProfiler installation
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
Please
respond to
TPTP Tracing and Profiling Tools Project developer discussions
<tptp-tracing-profiling-tools-dev@eclipse.org>
|
|
To
|
<tptp-tracing-profiling-tools-dev@eclipse.org>
|
cc
|
|
Subject
|
[tptp-tracing-profiling-tools-dev] Problems
with Profiler installation
|
|
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