TPTP Agent Controller is unavailable under port 10002. [message #126791] |
Tue, 18 March 2008 19:46  |
Eclipse User |
|
|
|
Originally posted by: sanwar.gmail.com
I have Eclipse 3.3.2 (Build id: M20080221-1800) running on a Windows XP
SP2 machine with Sun's JDK 1.5.0_12. I wanted to profile a Java
application, so I added TPTP by following instructions on the TPTP
web-site. However, I am not having any luck. It comes back saying "Agent
Controller is unavailable under port 10002."
Just to take the Windows platform out of the equation, I downloaded and
installed Eclipse 3.3.2 on a Linux (CentOS) machine with same results.
Searching through the archives, it seems that other people have had
similar issues but with different versions of Eclipse.
When I click "Test Availability" in the "Profile" dialog (with "Java
Profiling JRE 1.5 or newer ..." selected), Eclipse comes back with "Error:
Unable to connect to the Agent Controller. Connection refused: connect".
When I click on "Test Connection" under the "Hosts" menu of the
"Preferences" dialog (with "localhost:10002" selected), I get an
AgentControllerUnavailableException.
I also searched under the Eclipse plugin directory for ACServer but did
not find anything with that name.
I have also tried an alternate route of downloading the standalone TPTP
and running the ACServer manually. I can connect to it using the
"SampleClient" shipped with the TPTP distribution (output included towards
the end of this message).
Eclipse is also able to connect to it in both the "Profile" as well as the
"Hosts" dialog, but when I actually try profiling, I am not met with much
success. The "Launching ..." process never completes. If it does complete,
it returns quickly and nothing happens in terms of execution.
Looking at the servicelog.log does not give much information either other
than the fact that some process has exited with status 1. The
servicelog.log entry is also included towards the end of this message.
Am I missing something in terms of configuration?
SampleClient output:
====================
Connected to the Agent Controller on "localhost" at port number 10006
The Time Collector Agent ID: 103
Established a data channel with the agent.
Sending 5 Hello messages over data channel to TimeCollector ...
Start the TimeCollector ...
Incoming data: Hello from Time Collector Agent - Count 0
Incoming data: Hello from Time Collector Agent - Count 1
Incoming data: Hello from Time Collector Agent - Count 2
Incoming data: Hello from Time Collector Agent - Count 3
Stop the TimeCollector ...
Incoming data: Hello from Time Collector Agent - Count 4
Incoming data: Hello from Time Collector Agent - Count 5
Incoming data: Hello from Time Collector Agent - Count 6
Incoming data: Hello from Time Collector Agent - Count 7
Incoming data: Hello from Time Collector Agent - Count 8
Incoming data: Hello from Time Collector Agent - Count 9
All finished
servicelog.log entry:
=====================
<CommonBaseEvent creationTime="2008-03-18T23:38:49.250000Z"
globalInstanceId="A8BE2775A1D4429FBC98CB47F2EC2FF8" msg="PC
handleProcessEvents: Process has exited with status 1." severity="50"
version="1.0.1">
<sourceComponentId component="ProcessController"
componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
executionEnvironment=" D:\cygwin\home\build\TPTP\4.4.0\TPTP-4.4.0-200706140100C\agn tctrl\src\agents\tptpProcessController\ProcessController_md. cpp,
line 284" instanceId="101" location="ferrari" locationType="IPV4"
processId="4180" subComponent="ProcessController" threadId="568"/>
<situation categoryName="ReportSituation">
<situationType reasoningScope="INTERNAL"
reportCategory="LOG" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation"/>
</situation>
</CommonBaseEvent>
|
|
|
|
|
|
|
|
|
|
|
Re: TPTP Agent Controller is unavailable under port 10002. [message #127141 is a reply to message #127128] |
Thu, 20 March 2008 21:45  |
Eclipse User |
|
|
|
Ray Hurst wrote:
> Ray Hurst wrote:
>> I'm having an issue here too.
>>
>> I tried the demo in the TPTP docs and the following error occurred:
>>
>> Connection failed on localhost.
>> Reason:
>> IWAT0248E The agent controller is unavailable on host localhost.
>>
>>
>> I downloaded the Agent Controller and installed it in the eclipse
>> directory and I still get the error message.
>> Ray
>
> I forgot to mention this is in the details box:
> org.eclipse.hyades.internal.execution.local.AgentControllerU navailableException
>
duh...read the Agent Controller doc and got it running as a service
under Windows XP. Seems to work.
|
|
|
Powered by
FUDForum. Page generated in 0.06431 seconds