Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Need help detecting agent
Need help detecting agent [message #54703] Fri, 24 February 2006 11:41 Go to next message
Jim Bethancourt is currently offline Jim Bethancourt
Messages: 6
Registered: July 2009
Junior Member
Hi all,
I've been able to install TPTP on Eclipse 3.2M5 and 3.2M4 on Win2K SP4,
and I've been able to install the Agent and start it as a Windows Service,
but when I go to create a new configuration in Eclipse (e.g. Profile... ->
Attach Process -> New_configuration), the Host tab's Test Connection comes
back "Connection Success" for localhost:10002, but when I click on the
Agents tab and click on Refresh, the agent doesn't appear.

As you can progbably guess, I'm getting the following error message at the
top of the Profile:
WAT0225E You must select at least one agent to attach to.

When I follow the TPTP tutorial that comes with TPTP, I get the error
message:
An internal error occurred during: "Launching"

I've tried again and again to get it going on various versions of eclipse,
(3.1.2, 3.2M4, 3.2M5), and all seem to meet with the same results.

Please help! I'm sure TPTP is a really great set of tools and I really
could use them, but there is defintely something going wrong, but I have
no idea what it could be.

Thank you,
Jim
Re: Need help detecting agent [message #54775 is a reply to message #54703] Fri, 24 February 2006 11:51 Go to previous message
Samson Wai is currently offline Samson Wai
Messages: 46
Registered: July 2009
Member
Hello,

Do you mean you have installed the "Agent Controller" successfully as a
Windows service? If so then you will need a Java process to profile. You
can start a Java process for profiling by passing the "-XrunpiAgent"
flags. For example:

java -XrunpiAgent HelloWorld

Make sure the PATH points to the location of the piAgent.dll, which is
located under the Agent Controller's "bin" directory. Otherwise, the JVM
won't be able find the proiling agent to load and the program will not
start. After that you can see it under the Profiling configuration.

Is this what you meant? Or am I mistaken that you have actually
installed your own agent as a Windows service?


Regards,

Samson


Jim Bethancourt wrote:
> Hi all,
> I've been able to install TPTP on Eclipse 3.2M5 and 3.2M4 on Win2K SP4,
> and I've been able to install the Agent and start it as a Windows
> Service, but when I go to create a new configuration in Eclipse (e.g.
> Profile... -> Attach Process -> New_configuration), the Host tab's Test
> Connection comes back "Connection Success" for localhost:10002, but when
> I click on the Agents tab and click on Refresh, the agent doesn't appear.
>
> As you can progbably guess, I'm getting the following error message at
> the top of the Profile:
> WAT0225E You must select at least one agent to attach to.
>
> When I follow the TPTP tutorial that comes with TPTP, I get the error
> message: An internal error occurred during: "Launching"
>
> I've tried again and again to get it going on various versions of
> eclipse, (3.1.2, 3.2M4, 3.2M5), and all seem to meet with the same results.
>
> Please help! I'm sure TPTP is a really great set of tools and I really
> could use them, but there is defintely something going wrong, but I have
> no idea what it could be.
>
> Thank you,
> Jim
>
Previous Topic:TPTP & BIRT
Next Topic:External Profiling startup problems
Goto Forum:
  


Current Time: Tue Jul 22 03:35:37 EDT 2014

Powered by FUDForum. Page generated in 0.08005 seconds