|newbie: TPTP cannot find agents [message #126390]
||Fri, 14 March 2008 10:29
| Martin Trummer
Registered: July 2009
I just installed TPT 4.3.1.|
I click: "Open Profile Dialog"
In this dialog create a New_configuration in 'Attach - Java Process' node.
Whatever I do, I do not find any agents.
I tried this:
1) direct connection
* no external agent controller running
* in the hosts tab, 'Test Connection' works fo the 'Local DirectConnection'
but in the Agents tab no agents are found
2) external ca
* under preferences I disable the IAC
* start the external controller
- verfiy that it works by starting the SampleClient: this is ok
* restart eclipse
* in the New_configuration now the 'Test Connection' for the 'Local
DirectConnection' will give me a message that an RAC is running (OK)
* 'Test Connection' for 'localhost:10002' succeeds
but even now, the Agents tab remains empty?
BTW: another thing that does not work (I think that's because no agents
are found) is, when I rightclick on my web-server (in the Servers view), I
see the Profile menuitem in the pop-up but it is deactivated!
|Re: newbie: TPTP cannot find agents [message #126698 is a reply to message #126686]
||Tue, 18 March 2008 11:16
Originally posted by: ck2329.mail.ru|
Agent means some kind of program that collects some kind of data. Java
profiler could be an agent. Program that shows "Hello world" string could
be an agent. You shold understand that in case of remote actions(profiling
for example) - there is no direct connection between Eclipse and your
agent. There is intermediate part named Agent Controller(AC). AC controlls
all running agents, AC is able to run new agents or terminate them.
In general workflow looks like this :
Eclipse <-> AC <-> Agent
1) Eclipse sends command to AC
2) AC passes command to the exact agent
3) Agent sends data to AC
4) AC forward data from agent to Eclipse
Regarding JAVA 1.6:
There were 2 rpofiling interfaces in Java history - JVMPI and JVMTI.
JVMPI is obsolete and not supported in 1.6 version.
In case of java 1.6 try to use following command line :
where "program_to_run" - is your java class
You may replace HeapProf with CGProf (Call graph profiler - Execution
statistics) or ThreadProf - thread profiling
Powered by FUDForum
. Page generated in 0.02442 seconds