SampleClient TPTPAgent - Invalid Login Credentials [message #77635] |
Tue, 18 July 2006 14:10 |
Eclipse User |
|
|
|
Originally posted by: martin.schuetz.vmasch.at
I'm trying the TPTPAgent-Sample
( http://www.eclipse.org/tptp/platform/documents/newtechAC/jav adoc/TPTPAgent.java)
to connect to AC and to query all available and runnning agents. I'm using
the same data for the ConnectionInfo-object (host "127.0.0.1" and port
"10002") as in the "Profile"-window via Eclipse (where I can see AC with all
available agents).
Executing the sample, I get the following output:
Connecting to AC..
Error occurred while connecting to
127.0.0.1:org.eclipse.tptp.platform.execution.exceptions.Age ntControllerUnavailableException:
Error: Unable to connect to the Agent Controller.Invalid Login Credentials
I set the AC-network access mode to "ALL" and security enabled to "FALSE"
.... I also configured the AC and tried the connect(ConnectionInfo connInfo,
User user)-method, but it doesn't work.
I'm using Eclipse 3.2.0, TPTP 4.2 and the new technology Agent Controller.
Thanks
|
|
|
|
|
Re: SampleClient TPTPAgent - Invalid Login Credentials [message #77732 is a reply to message #77716] |
Wed, 19 July 2006 06:47 |
Eclipse User |
|
|
|
Originally posted by: martin.schuetz.vmasch.at
I started my challenge via
http://www.eclipse.org/tptp/platform/documents/newtechAC/jav adoc/overview-summary.html
.... and I unfortunately mixed different versions.
Now it works,
Thanks!
"Randy D. Smith" <randy.d.smith@intel.com> schrieb im Newsbeitrag
news:e9jlvg$5g1$1@utils.eclipse.org...
> Martin Schuetz wrote:
>> I'm trying the TPTPAgent-Sample
>> ( http://www.eclipse.org/tptp/platform/documents/newtechAC/jav adoc/TPTPAgent.java)
>
> That's documentation for 4.1.0 sample code... how did you get here?
>
>> to connect to AC and to query all available and runnning agents. I'm
>> using the same data for the ConnectionInfo-object (host "127.0.0.1" and
>> port "10002") as in the "Profile"-window via Eclipse (where I can see AC
>> with all available agents).
>>
>> Executing the sample, I get the following output:
>> Connecting to AC..
>> Error occurred while connecting to
>> 127.0.0.1:org.eclipse.tptp.platform.execution.exceptions.Age ntControllerUnavailableException:
>> Error: Unable to connect to the Agent Controller.Invalid Login
>> Credentials
>> I set the AC-network access mode to "ALL" and security enabled to "FALSE"
>> ... I also configured the AC and tried the connect(ConnectionInfo
>> connInfo, User user)-method, but it doesn't work.
>> I'm using Eclipse 3.2.0, TPTP 4.2 and the new technology Agent
>> Controller.
>> Thanks
>
> If you're using that Callisto stuff, you can do as I did
> (1) cd
> <callisto_install_dir> /eclipse/plugins/org.eclipse.tptp.platform.execution_4.2.0.v 200606140100/src
> (2) javac org/eclipse/tptp/platform/execution/samples/TPTPAgent.java -cp
> ../tptpcore.jar
> (3) java -cp ../tptpcore.jar
> oreg/eclipse/tptp/platform/execution/sample/TPTPAgent
>
> I get:
> Connecting to AC..
> Connected to localhost at port number 10006
> ---------------------------------------
> Querying Available Agents ...
>
>
> Available Agents ::org.eclipse.tptp.FileTransferAgent
> Available Agents ::org.eclipse.tptp.JavaTimeCollector
> Available Agents ::org.eclipse.tptp.legacy.DumpAgent
> Available Agents ::org.eclipse.tptp.StressAgent
> Available Agents ::org.eclipse.tptp.TimeCollector
> Available Agents ::org.eclipse.tptp.legacy.Java
> Available Agents ::Profiling
> Available Agents ::Agent
> ---------------------------------------
> Querying Available Agents by type...
>
>
> ---------------------------------------
> Querying Running Agents...
>
>
> # of Running Agents ::1
> Running Agents ::ProcessController
> ---------------------------------------
> Querying Running Agents by type ...
>
>
> # of Running Agents ::0
> ---------------------------------------
>
>
>
>
> Agent MetaData ::
> Agent ID for the agent ac 1
>
>
> Agent ID for the agent ac true 2
>
>
>
> Thay... how do you "query all available and runnning agents" with the RAC
> API? I thought that was one of the distinct advantages of the "new tech
> AC"!
> --
> RDS
>
> Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
> Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
|
|
Powered by
FUDForum. Page generated in 0.01862 seconds