Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Problems with installation of TPTP 4.3 on Windows
Problems with installation of TPTP 4.3 on Windows [message #89979] Tue, 12 December 2006 07:12 Go to next message
Sebastian Bauer is currently offline Sebastian Bauer
Messages: 25
Registered: July 2009
Junior Member
Hello,

I ran into problems while I was installing TPTP 4.3 on Windows using
Java6. I downloaded the TPTP Platform archive as well as the new
technology controller together with the proper eclipse and controller
plugin.

The sample client of the agent controller seems to work properly.

Now, when trying to profile an application I get following error message
from eclipse: "The JVMTI agent org.eclipse.tptp.jvmti is not available.
Make sure that agent's libraries are available and that it is configured
properly. Reason: " Then, clicking on "Details" doesn't bring up
anything at all.

Honestly, this doesn't help me much in locating the source of the
problem. The port is set to 10006 as written in the docs and I don't
know which kind of configuration can still be done. Is there anyone
here, which can offer some help to solve the problem? It is highly
appreciated! Of course I can give you more details.

Thanks in advance.

Ciao,
Sebastian
Re: Problems with installation of TPTP 4.3 on Windows [message #90010 is a reply to message #89979] Tue, 12 December 2006 11:21 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. Smith
Messages: 394
Registered: July 2009
Senior Member
Sebastian Bauer wrote:
> Hello,
>
> I ran into problems while I was installing TPTP 4.3 on Windows using
> Java6. I downloaded the TPTP Platform archive as well as the new
> technology controller together with the proper eclipse and controller
> plugin.
>
> The sample client of the agent controller seems to work properly.
>
> Now, when trying to profile an application I get following error message
> from eclipse: "The JVMTI agent org.eclipse.tptp.jvmti is not available.
> Make sure that agent's libraries are available and that it is configured
> properly. Reason: " Then, clicking on "Details" doesn't bring up
> anything at all.
>
> Honestly, this doesn't help me much in locating the source of the
> problem. The port is set to 10006 as written in the docs and I don't
> know which kind of configuration can still be done. Is there anyone
> here, which can offer some help to solve the problem? It is highly
> appreciated! Of course I can give you more details.
>
> Thanks in advance.
>
> Ciao,
> Sebastian

TPTP is not supported on Java SE 6 yet.

The problem is that the profiling interface supported by Java 1.5 and
earlier is the JVMPI interface, while the profiling interface supported
by Java 1.5 and later is the JVMTI interface. When you downloaded TPTP
you got the default JVMPI support... but your Java 6 only understand JVMTI.

There is a JVMTI tech preview available on the TPTP download page... but
from messages here it appears it isn't fully supporting Java 6 yet either.

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: Problems with installation of TPTP 4.3 on Windows [message #90069 is a reply to message #89979] Wed, 13 December 2006 03:02 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf Yaffe
Messages: 333
Registered: July 2009
Senior Member
Sebastian,

What OS/Architecture/Eclipse/TPTP versions are you using?

Generally speaking, the JVMTI Profiler does not officially support Java
6. This enhancement is tracked under Bugzilla
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=148936), feel free to add
yourself to the CC list to track our progress.

Now, let's try to understand what's really going on:
1. Verify that the JVMTI Profiler runtime files are installed in the <AC
Install Dir>\plugins\org.eclipse.tptp.javaprofiler directory. If not,
download and install them from the TPTP 4.3 download page.

2. Edit the pluginconfig.xml file in <AC Install
Dir>\plugins\org.eclipse.tptp.javaprofiler\config directory, and add the
following XML elements directly below the
<Variable name="JAVA_PROFILER_HOME".../> element:

<Variable name="MARTINI_LOGGER_DIRECTORY" position="replace"
value="%JAVA_PROFILER_HOME%\log" />
<Variable name="MARTINI_LOGGER_LOG_LEVEL" position="replace" value="5" />

3. Create a directory named 'log' under
<AC Install Dir>\plugins\org.eclipse.tptp.javaprofiler

4. Restart the Agent Controller, and try to launch the profiler again
from the Eclipse workbench. Then, check the new 'log' directory. It
should contain a log file. Please post the log file here.

5. Optionally, try using different JVMTI collectors (Memory Analysis or
Thread Analysis) and check if they also fail.

Waiting for your response,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, Platform Project (JVMTI Profiler)
Re: Problems with installation of TPTP 4.3 on Windows [message #90420 is a reply to message #90069] Sun, 17 December 2006 06:04 Go to previous messageGo to next message
Sebastian Bauer is currently offline Sebastian Bauer
Messages: 25
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.
--------------070604010900010400030905
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Asaf Yaffe schrieb:
> Sebastian,
>
> What OS/Architecture/Eclipse/TPTP versions are you using?

I'm using Eclipse 3.2 on Windows. TPTP is 4.3.0.

> Generally speaking, the JVMTI Profiler does not officially support Java
> 6. This enhancement is tracked under Bugzilla
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=148936), feel free to add
> yourself to the CC list to track our progress.
>
> Now, let's try to understand what's really going on:
> 1. Verify that the JVMTI Profiler runtime files are installed in the <AC
> Install Dir>\plugins\org.eclipse.tptp.javaprofiler directory. If not,
> download and install them from the TPTP 4.3 download page.
>
> 2. Edit the pluginconfig.xml file in <AC Install
> Dir>\plugins\org.eclipse.tptp.javaprofiler\config directory, and add the
> following XML elements directly below the
> <Variable name="JAVA_PROFILER_HOME".../> element:
>
> <Variable name="MARTINI_LOGGER_DIRECTORY" position="replace"
> value="%JAVA_PROFILER_HOME%\log" />
> <Variable name="MARTINI_LOGGER_LOG_LEVEL" position="replace" value="5" />
>
> 3. Create a directory named 'log' under
> <AC Install Dir>\plugins\org.eclipse.tptp.javaprofiler
>
> 4. Restart the Agent Controller, and try to launch the profiler again
> from the Eclipse workbench. Then, check the new 'log' directory. It
> should contain a log file. Please post the log file here.

I attched the contents, unfortunately it seems to be rather small.

Anything more I could do?

Ciao,
Sebastian

--------------070604010900010400030905
Content-Type: text/plain;
name="MLog01760.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="MLog01760.log"

=============================================
Process ID: 1760
Process command line: "C:\Programme\Java\jre1.6.0\bin\java.exe" -agentlib:JPIBootLoader=JPIAgent:server=controlled;CGProf bayesnet.BN
Machine name: THINKY
=============================================
Type Date Time TID Level Client Message
Informative 12/17/06 11:00:47 3292 0 CJVMTIInterface Using JVMTI

--------------070604010900010400030905--
Re: Problems with installation of TPTP 4.3 on Windows [message #90448 is a reply to message #90420] Mon, 18 December 2006 03:02 Go to previous message
Asaf Yaffe is currently offline Asaf Yaffe
Messages: 333
Registered: July 2009
Senior Member
Sebastian,

This seems to be a communication problem between the Agent Controller and
the Eclipse Workbench. There are some known "timeout" issues with the New
Agent Controller that are still under investigation. My experience shows
that if you restart the New Agent Controller and the Eclipse workbench and
try again, it may start working. If you don't have the patience for doing
so, here are some alternatives:

1. Use the profiler's standalone mode to profile your application. Refer
to the Readme file of the JVMTI Profiler runtime package for configuration
and command line examples. The resulting file can be imported to the
Eclipse workbench for visual analysis.

2. Switch to Java 5 or 1.4.2, turn-off the Agent Controller, and use the
"old" Java profiler (the one labeled "Java Profiling (double-click...)"
collectors with the Integrated Agent Controller.

HTH,
Asaf
Previous Topic:Is memory profile supported by new java profiler?
Next Topic:HTTP recording doesn't work
Goto Forum:
  


Current Time: Sat Jul 26 15:33:39 EDT 2014

Powered by FUDForum. Page generated in 0.01658 seconds