Getting started with TPTP, Eclipse Ganymede and Java 6

View: New views
4 Messages — Rating Filter:   Alert me  

Getting started with TPTP, Eclipse Ganymede and Java 6

by Frank314 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm sorry if this isn't the correct forum - I couldn't find a -user subforum where I could post this question.

I'm trying to do very simple profiling with TPTP on Eclipse Ganymede (latest version) and Java 6 ("1.6.0_13"). I started to follow the instructions in http://www.eclipse.org/tptp/home/downloads/4.5.0/documents/installguide/InstallGuide45.html , although they are outdated (they talk about Eclipse Europe so some dialogues are in different places etc). All fine; restarted Eclipse.

Then I wanted to profile a project and I got this screen:



(http://www.abload.de/img/eclipsetptpxkuz.png).

I don't know what to choose here, as nothing pertains to Java 6. Choosing one of the Pre 1.5 or pre 1.6 options gives me the infamous

ERROR: JVMPI, an experimental interface, is no longer supported.
Please use the supported interface: the JVM Tool Interface (JVM TI).
Error occurred during initialization of VM
-Xrun library failed to init: piAgent
  Could not resolve to JVMPI interface

errors.

I really love TPTP and the few second I had it working in the past were amazing, but why does it always have to be so difficult to get it up and running, especially from a completely clean install? I'm not doing anything fancy, no remote agents or servlets or whatever, just a plain, simple stand alone Java application. I apologize for this rant, but I think it's a shame that such a beautiful program is so hard to get started with.

Re: Getting started with TPTP, Eclipse Ganymede and Java 6

by Eugene Chan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Frank,

Thanks for your continue interest in TPTP. I am sorry to hear that you are having problem setting up the driver to profile.

Could you verify that the Integrated Agent Controller is setup with the Java 6? You can check the setup under Window > Preferences > Agent Controller > Integrated Agent Controller.
If you are profiling with a standalone Agent Controller, please make sure if it configured with the right Java package (ie. under AC/bin/SetConfig.bat, or look under AC/config/serviceconfig.xml file)

Let me know if you have any further question.

Regards,
___________________________________________

Eugene Chan
IBM Toronto Lab, Canada



From: Frank314 <kresjer@...>
To: tptp-testing-tools-dev@...
Date: 06/02/2009 10:08 AM
Subject: [tptp-testing-tools-dev] Getting started with TPTP, Eclipse        Ganymede and Java 6
Sent by: tptp-testing-tools-dev-bounces@...






Hi,

I'm sorry if this isn't the correct forum - I couldn't find a -user subforum
where I could post this question.

I'm trying to do very simple profiling with TPTP on Eclipse Ganymede (latest
version) and Java 6 ("1.6.0_13"). I started to follow the instructions in
http://www.eclipse.org/tptp/home/downloads/4.5.0/documents/installguide/InstallGuide45.html
, although they are outdated (they talk about Eclipse Europe so some
dialogues are in different places etc). All fine; restarted Eclipse.

Then I wanted to profile a project and I got this screen:

http://www.nabble.com/file/p23833215/eclipsetptpxkuz.png

(
http://www.abload.de/img/eclipsetptpxkuz.png).

I don't know what to choose here, as nothing pertains to Java 6. Choosing
one of the Pre 1.5 or pre 1.6 options gives me the infamous

ERROR: JVMPI, an experimental interface, is no longer supported.
Please use the supported interface: the JVM Tool Interface (JVM TI).
Error occurred during initialization of VM
-Xrun library failed to init: piAgent
 Could not resolve to JVMPI interface

errors.

I really love TPTP and the few second I had it working in the past were
amazing, but why does it always have to be so difficult to get it up and
running, especially from a completely clean install? I'm not doing anything
fancy, no remote agents or servlets or whatever, just a plain, simple stand
alone Java application. I apologize for this rant, but I think it's a shame
that such a beautiful program is so hard to get started with.

--
View this message in context:
http://www.nabble.com/Getting-started-with-TPTP%2C-Eclipse-Ganymede-and-Java-6-tp23833215p23833215.html
Sent from the Eclipse TPTP - Testing Tools - Dev mailing list archive at Nabble.com.

_______________________________________________
tptp-testing-tools-dev mailing list
tptp-testing-tools-dev@...
https://dev.eclipse.org/mailman/listinfo/tptp-testing-tools-dev



_______________________________________________
tptp-testing-tools-dev mailing list
tptp-testing-tools-dev@...
https://dev.eclipse.org/mailman/listinfo/tptp-testing-tools-dev

Re: Getting started with TPTP, Eclipse Ganymede and Java 6

by Frank314 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eugene Chan wrote:
Hi Frank,

Thanks for your continue interest in TPTP. I am sorry to hear that you are
having problem setting up the driver to profile.

Could you verify that the Integrated Agent Controller is setup with the
Java 6? You can check the setup under Window > Preferences > Agent
Controller > Integrated Agent Controller.
If you are profiling with a standalone Agent Controller, please make sure
if it configured with the right Java package (ie. under
AC/bin/SetConfig.bat, or look under AC/config/serviceconfig.xml file)
Hi Eugene, thanks for your quick response.

When I go to Window > Preferences > Agent Controller > Integrated Agent Controller, I get the following error:



(http://img3.abload.de/img/tptp-errorvfl5.png)

This is completely reproducable (I removed my Eclipse installation, downloaded a fresh Eclipse install, installed tptp from the eclipse update, restarted eclipse and got the same error). It's a Windows XP installation.


I don't really care whether I'm using the Integrated Agent Controller or a stand-alone; I just want something that works. I couldn't find any recent information (ie java 6 or Eclipse Ganymede) about setting up Agent Controllers.

Looking back at my first post, I forgot to mention that I'm trying to do an analysis like the  "Execution time analysis" of the PRE 1.5 options.


Re: Getting started with TPTP, Eclipse Ganymede and Java 6

by Frank314 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Eugene Chan wrote:
If you are profiling with a standalone Agent Controller, please make sure
if it configured with the right Java package (ie. under
AC/bin/SetConfig.bat, or look under AC/config/serviceconfig.xml file)
I now also tried the standalone AG; the sampleclient test worked flawlessly. I still, however, do not have a clue what I should enter under Profile Configuration -> Monitor (ie in the screenshot in my first post).