Hi,

I want to run a new agent controller ( 4.2 version ACServer) on a remote windows machine and connect to it. I want to see the new agent controller communicate using protocol described in http://www.eclipse.org/tptp/platform/documents/newtechAC/C++API/TPTP%20Data%20Collection%20Subsytem%20External%20Spec.html.

 

For example:

<Cmd dest=”100”  src=""  ctxt="10001">
      <registerAgent iid="org.eclipse.tptp.agentManager">
                     <agentID>102</agentID>
               <processID>4067</processID>
<agentName>TimeCollector</agentName>
            </registerAgent>
</Cmd>

 

My host is a Win XP machine and my target a Win2k machine both of them have the  agntctrl.win_ia32-TPTP-4.2.0.2.zip installed. My serviceconfig.xml is default with one difference <Allow host="ALL" /> 

 

I have seen data, in this format, being exchanged between a new agent controller (running remotely) and the sample clients in the TPTP SDK. For example using the ConsoleTestClient.

 

I could not setup any TPTP profile launch configuration that sends XML based commands to a remote agent controller. What ever I do in the profiling and logging perspective connecting to a remote agent controller, I see data sent as per the non-xml based commands. 

 

For example:

1) I created a new profile launch configuration under "Attach- Java Process".

2) In the Hosts tab, I added a new host 192.216.227.100 port 10006, I selected the newly added host.

3) In the Agents tab, I clicked on the "Refresh Data" button. I expected the data to be sent in the format of  

"<Cmd src="" dest=\"%d\" ctxt=\"%d\"><queryRunningAgents iid=\"org.eclipse.tptp.agentManager\"><processID>lu</processID></queryRunningAgents></Cmd>";

But I saw the binary command RA_QUERY_PROCESS_LIST (0x11) being sent.

 

 

My questions:

*) How do I set up my Workbench (Agent controller preferences or Profile configuration) or my Windows environment to communicate with a remote agent controller using the XML based command protocol?

 

 

Let me know if I am doing something wrong.

 

 

Thank you,

 

-Hari Nidumolu

Wind River Systems, Inc.

 

_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to