Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » error during launch of profiling and logging -- piAgent
error during launch of profiling and logging -- piAgent [message #86936] Mon, 13 November 2006 14:56 Go to next message
Eclipse UserFriend
Originally posted by: jonathan.alvarsson.gmail.com

Hi.

I Installed the Eclipse monitoring tools from the Callisto Discovery site
with the Eclipse update manager but when I try it out I get the following
error message:

Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: piAgent

And I quite frankly haven't got a clue about what I am supposed to do
about it...

Can someone please help me?

// Jonathan Alvarsson
Re: error during launch of profiling and logging -- piAgent [message #86952 is a reply to message #86936] Mon, 13 November 2006 15:36 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Jonathan Alvarsson wrote:
> Hi.
> I Installed the Eclipse monitoring tools from the Callisto Discovery
> site with the Eclipse update manager but when I try it out I get the
> following error message:
>
> Error occurred during initialization of VM
> Could not find agent library on the library path or in the local
> directory: piAgent
>
> And I quite frankly haven't got a clue about what I am supposed to do
> about it...
>
> Can someone please help me?
>
> // Jonathan Alvarsson

The monitoring tools only, and not the rest of TPTP? Because the piAgent
is the profiling agent that, I assume, would be in the Trace component.

So have you tried to launch something for profiling? If so, you probably
want to get the rest of TPTP.

Of course, even if you have it all you can run into that message if
you're "mixing and matching" 32- and 64-bit stuff. E.g., if you have
downloaded a 64-bit JVM but are trying to run 32-bit TPTP, the JVM won't
"see" the piAgent.

So can you launch the "statistical analysis agent"? (Perfmon on Windows
and LinuxAgent on Linux) Because that's the agent you would have
available with the monitoring component.
--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: error during launch of profiling and logging -- piAgent [message #87059 is a reply to message #86952] Tue, 14 November 2006 10:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jonathan.alvarsson.gmail.com

> The monitoring tools only, and not the rest of TPTP? Because the piAgent
> is the profiling agent that, I assume, would be in the Trace component.

Well yes I first installed the monitoring system and all required
dependencies (which didn't include the Trace component). I just now
installed the trace component but that didn't make any difference.

> So have you tried to launch something for profiling? If so, you probably
> want to get the rest of TPTP.

> Of course, even if you have it all you can run into that message if
> you're "mixing and matching" 32- and 64-bit stuff. E.g., if you have
> downloaded a 64-bit JVM but are trying to run 32-bit TPTP, the JVM won't
> "see" the piAgent.

Okey. How do I know if I have a mix and match of 32 and 64 bit stuff
installed? Perhaps a slightly bit naively I thought I automagicly would
get the right components with the automatic updater and that the
components would complain if they were mixed and matched with the wrong
components. But I guess we are not in that world yet...

> So can you launch the "statistical analysis agent"? (Perfmon on Windows
> and LinuxAgent on Linux) Because that's the agent you would have
> available with the monitoring component.

I don't know. How would I do that? To my great dissapointment googling
didn't really help me with that question. Maybee I am asking the wrong
question?

btw I run Ubuntu linux and Eclipse 3.2
Re: error during launch of profiling and logging -- piAgent [message #87123 is a reply to message #87059] Tue, 14 November 2006 15:48 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Jonathan Alvarsson wrote:
>> The monitoring tools only, and not the rest of TPTP? Because the
>> piAgent is the profiling agent that, I assume, would be in the Trace
>> component.
>
> Well yes I first installed the monitoring system and all required
> dependencies (which didn't include the Trace component). I just now
> installed the trace component but that didn't make any difference.
>
>> So have you tried to launch something for profiling? If so, you
>> probably want to get the rest of TPTP.
>
>> Of course, even if you have it all you can run into that message if
>> you're "mixing and matching" 32- and 64-bit stuff. E.g., if you have
>> downloaded a 64-bit JVM but are trying to run 32-bit TPTP, the JVM
>> won't "see" the piAgent.
>
> Okey. How do I know if I have a mix and match of 32 and 64 bit stuff
> installed? Perhaps a slightly bit naively I thought I automagicly would
> get the right components with the automatic updater and that the
> components would complain if they were mixed and matched with the wrong
> components. But I guess we are not in that world yet...
>
>> So can you launch the "statistical analysis agent"? (Perfmon on
>> Windows and LinuxAgent on Linux) Because that's the agent you would
>> have available with the monitoring component.
>
> I don't know. How would I do that? To my great dissapointment googling
> didn't really help me with that question. Maybee I am asking the wrong
> question?
>
> btw I run Ubuntu linux and Eclipse 3.2
>

What kind of hardware? If you're on a 32-bit hardware system, then we
shouldn't be seeing any of these.

If you're on a 64-bit system, did you get the 32-bit Eclipse for Linux
x86 or the 64-bit Eclipse for x86_64? If the latter, are you running
with a 64-bit JVM?

You're right that the update manager should automatically get all the
right stuff... for Eclipse... but it can't control what JVM you're getting.

Bottom line, the "Cannot find agent library...piAgent" message generally
comes from either (1) not being able to find libpiAgent.so... path
issues and the like, or (2) it finding it, but the JVM and the
libpiAgent.so being different "bit-ness".
--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: error during launch of profiling and logging -- piAgent [message #87370 is a reply to message #87123] Wed, 15 November 2006 13:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jonathan.alvarsson.gmail.com

> What kind of hardware? If you're on a 32-bit hardware system, then we
> shouldn't be seeing any of these.

It's an intel centrino Duo so I guess 64 bit?

> If you're on a 64-bit system, did you get the 32-bit Eclipse for Linux
> x86 or the 64-bit Eclipse for x86_64? If the latter, are you running
> with a 64-bit JVM?

I have no idea. It normally works well but maybe that doesn't mean
anything? How do I find out? java -help didn't really say anything
meaningful (at least not to me... :( )

Is there a way to see if Eclipse is compiled for 32 bit och 64 bit? I
found this line: "sun.arch.data.model=32" in configuration details is that
a sign that I have a 32 bit version of Eclipse?
Re: error during launch of profiling and logging -- piAgent [message #87430 is a reply to message #87370] Wed, 15 November 2006 16:11 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Jonathan Alvarsson wrote:
>
>> What kind of hardware? If you're on a 32-bit hardware system, then we
>> shouldn't be seeing any of these.
>
> It's an intel centrino Duo so I guess 64 bit?
>
>> If you're on a 64-bit system, did you get the 32-bit Eclipse for Linux
>> x86 or the 64-bit Eclipse for x86_64? If the latter, are you running
>> with a 64-bit JVM?
>
> I have no idea. It normally works well but maybe that doesn't mean
> anything? How do I find out? java -help didn't really say anything
> meaningful (at least not to me... :( )
>
> Is there a way to see if Eclipse is compiled for 32 bit och 64 bit? I
> found this line: "sun.arch.data.model=32" in configuration details is
> that a sign that I have a 32 bit version of Eclipse?

Run "java -version" and tell me what it says.

As for the Eclipse version... what is the exact name of the zip file you
downloaded and installed?

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: error during launch of profiling and logging -- piAgent [message #87674 is a reply to message #87430] Thu, 16 November 2006 17:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jonathan.alvarsson.gmail.com

> Run "java -version" and tell me what it says.

$ java -version
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)


> As for the Eclipse version... what is the exact name of the zip file you
> downloaded and installed?

eclipse-SDK-3.2-linux-gtk.tar.gz

the build id is: M20060629-1905
Re: error during launch of profiling and logging -- piAgent [message #87690 is a reply to message #87674] Thu, 16 November 2006 18:04 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Jonathan Alvarsson wrote:
>
>> Run "java -version" and tell me what it says.
>
> $ java -version
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
>
>
>> As for the Eclipse version... what is the exact name of the zip file
>> you downloaded and installed?
>
> eclipse-SDK-3.2-linux-gtk.tar.gz
>
> the build id is: M20060629-1905

Okay, so you're running stock 32-bit software across the board... so
there should be no problem outside of path issues, and if you're running
Eclipse for profiling without an external agent controller (and it
doesn't sound like you downloaded the agent controller for remote
profiling, right?) then technically the IAC (internal agent controller)
should handle the path for you.

This sounds like an old problem whereby the Linux version wasn't finding
the piAgent library in the plugins directory and needed to be added to
the path... but I thought that was fixed.

How about trying:
find <eclipse installation directory> -name "*piAgent*" -print
and then add that directory to your path before restarting Eclipse. Then
when it looks for libpiAgent.so it will find it this time.

There is a release note in the versions affected by this problem about
this behavior... but I don't tend to read release notes either so I
can't fault others for not doing so.


--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: error during launch of profiling and logging -- piAgent [message #87795 is a reply to message #87690] Fri, 17 November 2006 16:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jonathan.alvarsson.gmail.com

> How about trying:
> find <eclipse installation directory> -name "*piAgent*" -print
> and then add that directory to your path before restarting Eclipse. Then
> when it looks for libpiAgent.so it will find it this time.

I tried

export
PATH=$PATH:/home/jonathan/programs/eclipse/plugins/org.eclip se.hyades.execution.linux.x86_4.2.0.v200606131519/

which is where the file libpiAgent.so is but it didn't make any
difference.

> There is a release note in the versions affected by this problem about
> this behavior... but I don't tend to read release notes either so I
> can't fault others for not doing so.

Hm release note? Did it flash by during the automagic installation in
Eclipse or is it something I have to search more to find? Can't say that I
usually read it I thought they mostly contained info about differences in
a new version for users used with older versions.
Re: error during launch of profiling and logging -- piAgent [message #87854 is a reply to message #87795] Fri, 17 November 2006 19:50 Go to previous message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Jonathan Alvarsson wrote:
>> How about trying:
>> find <eclipse installation directory> -name "*piAgent*" -print
>> and then add that directory to your path before restarting Eclipse.
>> Then when it looks for libpiAgent.so it will find it this time.
>
> I tried
> export
> PATH=$PATH:/home/jonathan/programs/eclipse/plugins/org.eclip se.hyades.execution.linux.x86_4.2.0.v200606131519/
>
>
> which is where the file libpiAgent.so is but it didn't make any difference.
>> There is a release note in the versions affected by this problem about
>> this behavior... but I don't tend to read release notes either so I
>> can't fault others for not doing so.
>
> Hm release note? Did it flash by during the automagic installation in
> Eclipse or is it something I have to search more to find? Can't say that
> I usually read it I thought they mostly contained info about differences
> in a new version for users used with older versions.
>

Release note is at <
http://www.eclipse.org/tptp/home/downloads/releasenotes/rele asenotes4_2_0.html
>, but it won't do any good since this item is 3.PT.4 there, and you've
already taken the corrective action.

I'm stumped. I know we've had problems getting things working on
Ubuntu... something about libstdc++ compatibility needs, but I don't see
anything in the release note about that. Perhaps one of the other buys
(Bob? Samson?) can chime in now since I've been no help.

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Previous Topic:Strange error when starting Tomcat with TPTP command-line options
Next Topic:No more handles during startup of AGR test on Linux
Goto Forum:
  


Current Time: Sat Apr 20 01:01:13 GMT 2024

Powered by FUDForum. Page generated in 0.03622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top