|
|
Re: Agent Controller Server - Sample client [message #111018 is a reply to message #110981] |
Fri, 31 August 2007 15:32 |
Eclipse User |
|
|
|
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 #111127 is a reply to message #111078] |
Mon, 03 September 2007 10:50 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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,
|
|
|
|
Powered by
FUDForum. Page generated in 0.03369 seconds