Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Agent Controller is unavailable . . .
Agent Controller is unavailable . . . [message #127594] Sun, 30 March 2008 22:43 Go to next message
Eclipse User
Originally posted by: jaguar0616.gmail.com

This is under Eclipse 3.3.2 and TPTP Platform 4.4.1 & TPTP Tracing and
Profiling Tools v. 4.3.1 with Sun's Java v. 1.5 . . .

Under Ubuntu and profiling a local application I'm getting the errors:

org.eclipse.core.runtime.CoreException
Agent Controller is unavailable under port 10002 . . .

and

java.lang.NullPointerException
at org.eclipse.tptp.platform.iac.administrator.internal.startst op.
AutoStartStop.hasProcessTerminated(AutoStartStop.java:275) . . .

Since there's no configuration with the IAC, where do I go from here?


Thank you!
Re: Agent Controller is unavailable . . . [message #127606 is a reply to message #127594] Mon, 31 March 2008 05:43 Go to previous messageGo to next message
Eclipse User
Originally posted by: ck2329.mail.ru

I think that you are running wrong configuration.

Please refer to
http://www.eclipse.org/newsportal/article.php?id=5956&gr oup=eclipse.tptp#5956
thread - this may resolve your issue
Re: Agent Controller is unavailable . . . [message #127619 is a reply to message #127606] Mon, 31 March 2008 07:06 Go to previous messageGo to next message
Eclipse User
Originally posted by: jaguar0616.gmail.com

Well, in the Profile Dialog, in Attach to Agent, I get a pop-up error:

"An internal error occurred during: Fetching children of host"
java.lang.NullPointerException

and there are no agents listed under the Agents tab.

So . . . ????
Re: Agent Controller is unavailable . . . [message #127642 is a reply to message #127619] Mon, 31 March 2008 10:47 Go to previous messageGo to next message
Eclipse User
Originally posted by: ck2329.mail.ru

Have you read link i gave you ?

If you choose Attach to agent - that means that you must already start
standalone Agent Controller (not IAC) and profiling or other agent.

If you want to use IAC - then you must choose profile application.
Re: Agent Controller is unavailable . . . [message #127667 is a reply to message #127594] Tue, 01 April 2008 07:18 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor Alelekov
Messages: 139
Registered: July 2009
Senior Member
Hi,
Ubuntu is a bit incompatible with TPTP Agent Controller's startup scripts.
ACStart.sh script uses /bin/sh and bash is implied.
Ubuntu has other default shell (dash?). You can or modify ACStart.sh to
use bash or map /usr/sh to bash.
Regards,
Igor
Re: Agent Controller is unavailable . . . [message #127680 is a reply to message #127619] Tue, 01 April 2008 07:25 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor Alelekov
Messages: 139
Registered: July 2009
Senior Member
This IAC's defect ("Fetching children..") is tracked under the
https://bugs.eclipse.org/bugs/show_bug.cgi?id=224471.
As a workaround you can startup IAC before profiling
(Window/Preferences/Agent Controller/Hosts/"Test Connection" menu item) or
use standalone AC as well.
Re: Agent Controller is unavailable . . . [message #127690 is a reply to message #127642] Tue, 01 April 2008 07:31 Go to previous message
Igor Alelekov is currently offline Igor Alelekov
Messages: 139
Registered: July 2009
Senior Member
Can't agree :)
Of course IAC also can be used in attaching scenario.
You just need to startup it before with "Test Connection" or any another
activity. IAC wiil be launched automatically.
Previous Topic:Monitoring without network access
Next Topic:Profiling a web application with wtp
Goto Forum:
  


Current Time: Tue Sep 16 17:51:22 GMT 2014

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

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