Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Agent Controller Server - Sample client
Agent Controller Server - Sample client [message #110967] Fri, 31 August 2007 13:07 Go to next message
Eclipse UserFriend
Originally posted by: hichamm.orcsoftware.com

Linux RHEL4(upd4).
JRE 1.6.0_01
AController: taken from
ftp://ftp.uninett.no/pub/eclipse/tptp/4.4.1/TPTP-4.4.1-20070 8280100/agntctrl.linux_em64t-TPTP-4.4.1-200708280100.zip

LD_LIBRARY_PATH=<acdir>/lib
PATH=<acdir>/bin

/ACVersion.sh
4.4.0.0

The ACServer is started successfully.
However
/SampleClient
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...
Re: Agent Controller Server - Sample client [message #110981 is a reply to message #110967] Fri, 31 August 2007 14:47 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor AlelekovFriend
Messages: 139
Registered: July 2009
Senior Member
Hi Hicham,
Manual rules :)
Please substitute description of agent "./TimeCollector.exe" by
"TimeCollector" in the file
$TPTP_AC_HOME/agents/org.eclipse.tptp.TimeCollector/agent.xm l.
Regards,
Igor
Re: Agent Controller Server - Sample client [message #111018 is a reply to message #110981] Fri, 31 August 2007 15:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hichamm.orcsoftware.com

echo $TPTP_AC_HOME
/tmp/hichamm/
echo $PATH
/tmp/hichamm/bin/
echo $LD_LIBRARY_PATH
/tmp/hichamm/lib:/tmp/hichamm/plugins/org.eclipse.tptp.javap rofiler
cat ../agents/org.eclipse.tptp.TimeCollector/agent.xml
<?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:\tptp\agents\org.eclipse.tptp.TimeCollector\config\agentco nfig.xml </ConfigFile>
<LaunchConfiguration>
<launchInfo><Application
executable="TimeCollector"></Application></launchInfo>
</LaunchConfiguration>
</Agent>

and still
/SampleClient
Connected to the Agent Controller on "localhost" at port number 10006
ERROR: Unable to get agent org.eclipse.tptp.TimeCollector

did I misread you somehow?
Re: Agent Controller Server - Sample client [message #111078 is a reply to message #111018] Sat, 01 September 2007 04:54 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor AlelekovFriend
Messages: 139
Registered: July 2009
Senior Member
Hi Hicham,
your config file seems good.
Please provide servicelog.log with DEBUG level.
Another test could be starting TimeCollector manually and SampleClient
after.
Regards,
Igor
Re: Agent Controller Server - Sample client [message #111127 is a reply to message #111078] Mon, 03 September 2007 10:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hichamm.orcsoftware.com

/SampleClient
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...

cat ../config/servicelog.log
<CommonBaseEvent creationTime="2007-09-03T10:47:39.273560Z"
globalInstanceId="A6DBE64B00042C8F44954C7854C94CDB" msg="The Agent Manager
attempted to launch the agent process, but the launch failed."
severity="50" version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent" executionEnvironment="AgentManager.c, line
3659" instanceId="1" location="k2.orcsoftware.com" locationType="IPV4"
processId="4008" subComponent="Agent Manager" threadId="4008"
componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-09-03T10:47:39.272616Z"
globalInstanceId="A6DBE64B000428E0384CC54E75C919A9" msg="PC startProcess:
Error (6006), invalid executable '.\TimeCollector.exe'" severity="50"
version="1.0.1">
<sourceComponentId component="ProcessController"
componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
executionEnvironment="TPTPProcessController.cpp, line 1528"
instanceId="101" location="k2.orcsoftware.com" locationType="IPV4"
processId="4046" subComponent="ProcessController" threadId="4046"/>
<situation categoryName="ReportSituation">
<situationType reasoningScope="INTERNAL"
reportCategory="LOG" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation"/>
</situation>
</CommonBaseEvent>
'


Perhaps the executable name is hard coded in TPTPProcessController.cpp?
Re: Agent Controller Server - Sample client [message #111139 is a reply to message #111127] Mon, 03 September 2007 11:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hichamm.orcsoftware.com

I hadn't restarted ACServer after changing the .xml file for TimeCollector.
Now it works. Instructions were in fact in readme.txt.
I am guilty of missing that file. Apologies.

Perhaps the agent.xml packaged in the agntctrl.linux*.zip files, could be
updated for linux?

Thanks,
Re: Agent Controller Server - Sample client [message #111171 is a reply to message #111139] Mon, 03 September 2007 13:17 Go to previous message
Igor Alelekov is currently offline Igor AlelekovFriend
Messages: 139
Registered: July 2009
Senior Member
Another option is to configure agent.xml files by SetConfig.
See the bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=132407
Regards,
Igor
Previous Topic:Some (stupid?) questions about TPTP and Agent Controller
Next Topic:Mac - Agent Controller port
Goto Forum:
  


Current Time: Fri Apr 26 03:16:40 GMT 2024

Powered by FUDForum. Page generated in 0.04128 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top