Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Running Agent Controller on Linux
Running Agent Controller on Linux [message #72309] Tue, 30 May 2006 16:09 Go to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am trying to get TPTP running on my SuSe Linux 10.0 on a 64-bit processor.

As I also got problems with the update manager, (unresolved
dependencies, even after all ‘prerequisites’ were fulfiled), I
downloaded the runtime zip and the agent controller zip. I unzipped
agent controller into

/usr/local/tptp/tptpdc/linux_ia32/

and the tptp zip into /usr/local/eclipse/plugins.

Restarting Eclipse shows me the new buttons and all, but I can’t seem to
get the Agent Controller working.

I think the problem is the very first point: RAServer requires the
directories of the JRE that contain executable libraries such as
libjvm.so to be added to the LD_LIBRARY_PATH environment variable.

I am not sure which directories those are. The Java I want to monitor
is in /usr/lib64/jvm/java-1.5.0-sun-1.5.0_06/jre/, but libjvm.so is only
to be found under
/usr/lib64/jvm/java-1.5.0-sun-1.5.0_06/jre/lib/amd64/server/ , not under
client.

So which directory should I add to LD_LIBRARY_PATH? And I suppose I
have to give the same value to the SetConfig script?

TIA, H.
- --
Hendrik Maryns

==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEfG4ge+7xMGD3itQRAvAiAJsF9EE8zoonlrPF+7iKpLNEtMEGdwCe M1KU
oxLEGdURAdTh1X7iiQ+lWXQ=
=wQUb
-----END PGP SIGNATURE-----
Re: Running Agent Controller on Linux [message #72399 is a reply to message #72309] Wed, 31 May 2006 11:28 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Hendrik,
Based on the Agent Controller's getting_started.html document (V4.2.0)
for Linux (IA32):

Add <rac_dir>/lib directory to the LD_LIBRARY_PATH environment variable when
running applications with TPTP agents (such as Profiling or Logging agents)
from the command line.

This is the only configuration change required to the LD_LIBRARY_PATH
environment variable and at that, it is an optional step for when running
standalone applications that use the Logging Agent or Java Profiler.

Regarding the problem with the update manager, what TPTP build were you
trying to update to?

Paul
"Hendrik Maryns" <hendrik_maryns@despammed.com> wrote in message
news:e5hqn6$5l1$1@utils.eclipse.org...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I am trying to get TPTP running on my SuSe Linux 10.0 on a 64-bit
processor.
>
> As I also got problems with the update manager, (unresolved
> dependencies, even after all 'prerequisites' were fulfiled), I
> downloaded the runtime zip and the agent controller zip. I unzipped
> agent controller into
>
> /usr/local/tptp/tptpdc/linux_ia32/
>
> and the tptp zip into /usr/local/eclipse/plugins.
>
> Restarting Eclipse shows me the new buttons and all, but I can't seem to
> get the Agent Controller working.
>
> I think the problem is the very first point: RAServer requires the
> directories of the JRE that contain executable libraries such as
> libjvm.so to be added to the LD_LIBRARY_PATH environment variable.
>
> I am not sure which directories those are. The Java I want to monitor
> is in /usr/lib64/jvm/java-1.5.0-sun-1.5.0_06/jre/, but libjvm.so is only
> to be found under
> /usr/lib64/jvm/java-1.5.0-sun-1.5.0_06/jre/lib/amd64/server/ , not under
> client.
>
> So which directory should I add to LD_LIBRARY_PATH? And I suppose I
> have to give the same value to the SetConfig script?
>
> TIA, H.
> - --
> Hendrik Maryns
>
> ==================
> http://aouw.org
> Ask smart questions, get good answers:
> http://www.catb.org/~esr/faqs/smart-questions.html
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFEfG4ge+7xMGD3itQRAvAiAJsF9EE8zoonlrPF+7iKpLNEtMEGdwCe M1KU
> oxLEGdURAdTh1X7iiQ+lWXQ=
> =wQUb
> -----END PGP SIGNATURE-----
Re: Running Agent Controller on Linux [message #72452 is a reply to message #72399] Wed, 31 May 2006 13:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Slauenwhite schreef:
> Hi Hendrik,
> Based on the Agent Controller's getting_started.html document (V4.2.0)
> for Linux (IA32):
>
> Add <rac_dir>/lib directory to the LD_LIBRARY_PATH environment variable when
> running applications with TPTP agents (such as Profiling or Logging agents)
> from the command line.

With <rac_dir> I suppose you mean the directory where I unzipped the
RAServer? But Getting Started says: RAServer requires the directories
of the JRE that contain executable libraries such as libjvm.so to be
added to the LD_LIBRARY_PATH environment variable.

This is not the case. Right now, LD_LIBRARY_PATH is simply /usr/local/lib

I am not planning to run any TPTP agent from the command line, or
rather, I am hoping I won’t have to... I just want to use the profiling
inside Eclipse.

> This is the only configuration change required to the LD_LIBRARY_PATH
> environment variable and at that, it is an optional step for when running
> standalone applications that use the Logging Agent or Java Profiler.
>
> Regarding the problem with the update manager, what TPTP build were you
> trying to update to?

I entered http://eclipse.org/tptp/updates/site.xml as update site. If I
then check 4.1.0 features, I get the error: TPTP Analysis Engine (4.1.0)
requires plug-in "org.eclipse.hyades.logging.core".
If I check 4.1.0.1 I get TPTP Server Log Import (4.1.0.1) requires
plug-in "org.eclipse.wst.server.core".

Both EMF and XSD are installed (I think).

Is there a step-by-step turorial on profiling an application?

Thanks for you time,
H.
- --
Hendrik Maryns

==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEfZace+7xMGD3itQRAg3GAJ9j6A6heXZZcEqj0W1V5/eBfSA/1gCf cJtP
4yhBgvQPLuRPqaMxJxIsBvA=
=XwDP
-----END PGP SIGNATURE-----
Re: Running Agent Controller on Linux [message #72471 is a reply to message #72452] Wed, 31 May 2006 13:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hendrik Maryns schreef:
> Paul Slauenwhite schreef:
>>> Hi Hendrik,
>>> Based on the Agent Controller's getting_started.html document (V4.2.0)
>>> for Linux (IA32):
>>>
>>> Add <rac_dir>/lib directory to the LD_LIBRARY_PATH environment variable when
>>> running applications with TPTP agents (such as Profiling or Logging agents)
>>> from the command line.
>
> With <rac_dir> I suppose you mean the directory where I unzipped the
> RAServer? But Getting Started says: RAServer requires the directories
> of the JRE that contain executable libraries such as libjvm.so to be
> added to the LD_LIBRARY_PATH environment variable.
>
> This is not the case. Right now, LD_LIBRARY_PATH is simply /usr/local/lib
>
> I am not planning to run any TPTP agent from the command line, or
> rather, I am hoping I wont have to... I just want to use the profiling
> inside Eclipse.

And this seems to work now, thank you very much (I re-executed the
SetConfig script, and changed the environment as you suggested).

Thanks, .
- --
Hendrik Maryns

==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEfZc2e+7xMGD3itQRAvkVAJ9427bANOYypjx8TSFX6ddAv5CwBgCe IZTC
PJ7ta9CStIuIOYxAq/ryVXE=
=vR4i
-----END PGP SIGNATURE-----
Re: Running Agent Controller on Linux [message #72826 is a reply to message #72452] Thu, 01 June 2006 13:20 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Hendrik,
If you only wanting to profile (launch or attach) from the TPTP
workbench, there is no need change the LD_LIBRARY_PATH environment variable.
Glad to hear it is working!

Paul

"Hendrik Maryns" <hendrik_maryns@despammed.com> wrote in message
news:e5k4qs$h9$1@utils.eclipse.org...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Paul Slauenwhite schreef:
> > Hi Hendrik,
> > Based on the Agent Controller's getting_started.html document
(V4.2.0)
> > for Linux (IA32):
> >
> > Add <rac_dir>/lib directory to the LD_LIBRARY_PATH environment variable
when
> > running applications with TPTP agents (such as Profiling or Logging
agents)
> > from the command line.
>
> With <rac_dir> I suppose you mean the directory where I unzipped the
> RAServer? But Getting Started says: RAServer requires the directories
> of the JRE that contain executable libraries such as libjvm.so to be
> added to the LD_LIBRARY_PATH environment variable.
>
> This is not the case. Right now, LD_LIBRARY_PATH is simply /usr/local/lib
>
> I am not planning to run any TPTP agent from the command line, or
> rather, I am hoping I won't have to... I just want to use the profiling
> inside Eclipse.
>
> > This is the only configuration change required to the
LD_LIBRARY_PATH
> > environment variable and at that, it is an optional step for when
running
> > standalone applications that use the Logging Agent or Java Profiler.
> >
> > Regarding the problem with the update manager, what TPTP build were
you
> > trying to update to?
>
> I entered http://eclipse.org/tptp/updates/site.xml as update site. If I
> then check 4.1.0 features, I get the error: TPTP Analysis Engine (4.1.0)
> requires plug-in "org.eclipse.hyades.logging.core".
> If I check 4.1.0.1 I get TPTP Server Log Import (4.1.0.1) requires
> plug-in "org.eclipse.wst.server.core".
>
> Both EMF and XSD are installed (I think).
>
> Is there a step-by-step turorial on profiling an application?
>
> Thanks for you time,
> H.
> - --
> Hendrik Maryns
>
> ==================
> http://aouw.org
> Ask smart questions, get good answers:
> http://www.catb.org/~esr/faqs/smart-questions.html
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFEfZace+7xMGD3itQRAg3GAJ9j6A6heXZZcEqj0W1V5/eBfSA/1gCf cJtP
> 4yhBgvQPLuRPqaMxJxIsBvA=
> =XwDP
> -----END PGP SIGNATURE-----
Previous Topic:problem with "/" vs "\" in filename argument profiling Java app
Next Topic:Test, artifacts and locations properties
Goto Forum:
  


Current Time: Tue Sep 24 23:44:22 GMT 2024

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

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

Back to the top