Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Agent controller not available on localhost
Agent controller not available on localhost [message #48679] Sun, 01 January 2006 08:59 Go to next message
Eclipse UserFriend
Originally posted by: bart.dubois.gmail.com

Hi all,

Happy New Year :)

I recently followed the instructions described in the Eclipse tutorial "An
introduction to profiling Java applications"
( http://www.eclipse.org/tptp/home/documents/tutorials/profili ngtool/profilingexample_32.html).

Context: What I really want to do is use the included testing tools to
verify code coverage, use the datapools, get the execution scenario
results etc...

To prepare my local machine, I downloaded Eclipse 3.2_M4 and used the
integrated Eclipse installer to download and install TPTP 4.1 from the
Eclipse TPTP Update Site.

Following the instructions for profiling an appliction on a local machine
(Ubuntu 5.04, Sun JDK 1.4.2_9) (Tutorial part 3.0), I launched the
profiling of my application (in this case, class CarModel).

At that time, I got the following Security Message:

<message>
Connection failed on localhost.

Reason:
IWAT0284E The agent controller is not available on host localhost.
Make sure that:
*the agent controller is installed.
*the agent controller is configured to communicate with your machine.
*you have the correct host name and port number for the agent controller.
</message

To resolve this issue, I applied the following approaches:
A1. Install a different Eclipse (3.1) with a new TPTP 4.1, gave same error.
A2. Installed an agent controller, configured it and launched RAStart.sh,
gave same error.

I have 2 questions:
Q1. Is the following assumption correct: I do not need an external agent
controller (as in approach A2) correct? I understood that starting from
TPTP 4.1, an integrated agent controller is provided for local profiling.

Q2. Have I forgotten any configuration steps? The tutorial does not
mention any configuration of the default local deployment it provides when
indicating that you want to profile your application.

Kind regards,
Bart Du Bois.
Re: Agent controller not available on localhost [message #48831 is a reply to message #48679] Tue, 03 January 2006 13:48 Go to previous message
Samson Wai is currently offline Samson WaiFriend
Messages: 46
Registered: July 2009
Member
Hello,

Answer to Q1:
You are correct. Starting from TPTP 4.1 there is an Integrated Agent
Controller (IAC) where you can use to profile applications on the local
machine (where the Eclipse workbench is running). Selecting "Local Direction
Connection" under the Profiling configuration will instruct Eclipse
profiling tool to use IAC instead of RAC. The "Local Direct Connection"
should be automatically selected if RAC (Agent Controller) is not installed
and is not running. If RAC is to be used then "localhost:10002" should be
selected.

Answer to Q2:
If IAC is to be used then there is no configuration required.
If RAC is to be used then please follow the "Getting Started" guide to
configure the RAC.
http://eclipse.org/tptp/home/downloads/installguide/AgentCon troller40.html

In brief, the steps are:
1. Unzip the RAC package to a directory (e.g. $HOME/RAC)
2. Run "$HOME/RAC/bin/SetConfig.sh" to configure the RAC
3. Run "$HOME/RAC/bin/RAStart.sh" to start the RAC

The error you are encountering could be caused by a binary incompatibility
between the IAC/RAC native shared libraries and the Linux kernel. The
IAC/RAC shared libraries are built using a RedHat-based 2.4 kernel and has
been tested on 2.6 as well. Please let me know if you can start RAC on
Ubuntu 5.04 since this will give an indication whether the shared libraries
are compatible with the Linux kernel.


Samson


"Bart Du Bois" <bart.dubois@gmail.com> wrote in message
news:712cf8cb496010a1ea6d4e20d2ef2339$1@www.eclipse.org...
> Hi all,
>
> Happy New Year :)
>
> I recently followed the instructions described in the Eclipse tutorial "An
> introduction to profiling Java applications"
>
( http://www.eclipse.org/tptp/home/documents/tutorials/profili ngtool/profilin
gexample_32.html).
>
> Context: What I really want to do is use the included testing tools to
> verify code coverage, use the datapools, get the execution scenario
> results etc...
>
> To prepare my local machine, I downloaded Eclipse 3.2_M4 and used the
> integrated Eclipse installer to download and install TPTP 4.1 from the
> Eclipse TPTP Update Site.
>
> Following the instructions for profiling an appliction on a local machine
> (Ubuntu 5.04, Sun JDK 1.4.2_9) (Tutorial part 3.0), I launched the
> profiling of my application (in this case, class CarModel).
>
> At that time, I got the following Security Message:
>
> <message>
> Connection failed on localhost.
>
> Reason:
> IWAT0284E The agent controller is not available on host localhost.
> Make sure that:
> *the agent controller is installed.
> *the agent controller is configured to communicate with your machine.
> *you have the correct host name and port number for the agent controller.
> </message
>
> To resolve this issue, I applied the following approaches:
> A1. Install a different Eclipse (3.1) with a new TPTP 4.1, gave same
error.
> A2. Installed an agent controller, configured it and launched RAStart.sh,
> gave same error.
>
> I have 2 questions:
> Q1. Is the following assumption correct: I do not need an external agent
> controller (as in approach A2) correct? I understood that starting from
> TPTP 4.1, an integrated agent controller is provided for local profiling.
>
> Q2. Have I forgotten any configuration steps? The tutorial does not
> mention any configuration of the default local deployment it provides when
> indicating that you want to profile your application.
>
> Kind regards,
> Bart Du Bois.
>
Previous Topic:AGR for testing RCP Application
Next Topic:Agent Controller Error
Goto Forum:
  


Current Time: Tue Oct 16 02:16:19 GMT 2018

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

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

Back to the top