Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » unable to get agent TimeCollector
unable to get agent TimeCollector [message #114156] Thu, 04 October 2007 17:29 Go to next message
Eclipse User
Originally posted by: rgraham.taxhawk.com

My overriding problem is that the profiler tptp 4.4 doesn't work on my
application. I am using Java 1.6 and the latest version of the Agent
Controller, my understanding is that is the only one that will work with
Java 1.6. I am doing my profiling through Eclipse 3.2.2 . The profiler
starts and completes launching but then it doesn't produce any data and
when I click on the icon "Open Execution Statistics" for monitoring the
data, a dialog pops up that says "The chosen operation is not currently
available". The same thing happens on the other two icons that are in the
same area.

I believe the problem may be with the Agent Controller. I am able to
connect to the controller through ports 10002 and 10006. In order to test
out the Agent Controller, I ran the "sampleclient.exe" that came with the
Agent Controller download. I get the following message:

Connected to the Agent Controller on "localhost" at port number 10006
ERROR: Unable to get agent org.eclipse.tptp.TimeCollector
Press any key to exit...

My guess is that this is why the profiler isn't providing any data. I
have reviewed both the serviceconfig.xml and agent.xml and they seem to be
fine. The following is the agent.xml file for TimeCollector.

<?xml version="1.0" encoding="UTF-8" ?>
<Agent Name="org.eclipse.tptp.TimeCollector">
<Interface>org.eclipse.tptp.agent</Interface>
<Interface>org.eclipse.tptp.collector</Interface>
<SingleInstance>0</SingleInstance>
<Bound>0</Bound>
<MaxControllers>-1</MaxControllers>
<MaxObservers>-1</MaxObservers>
<ConfigFile>c:\program
files\eclipse3.2\tptpac\agents\org.eclipse.tptp.TimeCollecto r\config\agentconfig.xml </ConfigFile>
<LaunchConfiguration>
<launchInfo><Application
executable="TimeCollector"></Application></launchInfo>
</LaunchConfiguration>
</Agent>

I would appreciate any insight into this problem, I have read everything I
can find and I am stuck.
Re: unable to get agent TimeCollector [message #114169 is a reply to message #114156] Fri, 05 October 2007 02:24 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor Alelekov
Messages: 139
Registered: July 2009
Senior Member
Hi Richard,
Have you modified the agent.xml file?
Original file should work on Windows.
The required fragment for Windows should look like this:
<Application executable=".\TimeCollector.exe"></Application>
Regards,
Igor
Re: unable to get agent TimeCollector [message #114547 is a reply to message #114169] Mon, 08 October 2007 00:05 Go to previous messageGo to next message
Eclipse User
Originally posted by: rgraham.taxhawk.com

Thanks for the help, that did fix my problem with the Agent Controller.
However, when I start the profiler it completes launching but never
collects any data. It appears that the application is never really
started. It doesn't seem to assign the current run of the project with a
PID. Nothing ever shows up in the console window, even though the app
does contain print statements that show up when running the app outside of
the profiler. I have tried running it with iac and the new external ac
but they both do the same thing. I would appreciate any suggestions you
can give me. I would also be more than willing to send any information
that might help.
Re: unable to get agent TimeCollector [message #114560 is a reply to message #114547] Mon, 08 October 2007 01:56 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor Alelekov
Messages: 139
Registered: July 2009
Senior Member
Hi Richard,
What TPTP build number and what jvm are you using?
I'd suggest to try a TPTP 4.4.1 build and java 1.5.
Regards,
Igor
Re: unable to get agent TimeCollector [message #114632 is a reply to message #114560] Mon, 08 October 2007 12:18 Go to previous message
Eclipse User
Originally posted by: rgraham.taxhawk.com

I am currently running TPTP 4.4.0.3 and JVM 1.6. It was my understanding
that with the latest versions of the agent controller and TPTP, it was
possible to run JVM 1.6. Was I mistaken? I am running JVM 1.6. Also, is
there any problem using Eclipse 3.2.2? I am currently working on getting
TPTP 4.4.1. Thanks for your help.
Previous Topic:Non Integrated AC Agent crash
Next Topic:Control Center Dialog is not allowing to enter project name
Goto Forum:
  


Current Time: Wed Jul 30 11:14:01 EDT 2014

Powered by FUDForum. Page generated in 0.01593 seconds