Agent Controller unavailable on amd64 [message #106164] |
Mon, 23 July 2007 15:52 |
Eclipse User |
|
|
|
Originally posted by: jamesb.broadcom.com
Hi All,
Will split this into two postings, as they are distinct problems...
I'm trying to profile some Eclipse plugins using TPTP 4.4.0 downloaded
from the TPTP project main page.
The first issues is that, trying to run the Integrated Agent Controller on
Red Hat Enterprise Linux 3.0 with a 64-bit Sun JVM 1.5.0_12, I'm getting
the dreaded:
org.eclipse.core.runtime.CoreException
Agent Controller is unavailable under port 10002. Make sure that the
service is started and the port number is correct under preferences.
org.eclipse.tptp.platform.execution.exceptions.AgentControll erUnavailableException:
Error: Unable to connect to the Agent Controller.Connection refused
at
org.eclipse.tptp.platform.execution.client.core.internal.Nod eImpl.connect(NodeImpl.java:146)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.uti l.AgentControllerDelegate$1$EstablishConnection.run(AgentCon trollerDelegate.java:155)
at java.lang.Thread.run(Unknown Source)
Of interest are the following lines, before these, in the error log:
!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-23
16:42:50.047
!MESSAGE Platform symbolic name cannot be resolved. System architecture:
'amd64' and platform: linux
!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-23
16:42:50.047
!MESSAGE Integrated Agent Controller(IAC) was not found. Make sure you
have IAC installed.
!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-23
16:42:50.057
!MESSAGE Platform symbolic name cannot be resolved. System architecture:
'amd64' and platform: linux
!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-23
16:42:50.057
!MESSAGE Integrated Agent Controller(IAC) was not found. Make sure you
have IAC installed.
If I open the workspace on a 32-bit (but otherwise identically configured)
machine, TPTP appears to work in some limited capacity (i.e. I can profile
a simple hello world application...).
Does anyone have any epxerience running this on an amd64 platform?
Cheers,
James
|
|
|
|
|
Re: Agent Controller unavailable on amd64 [message #106334 is a reply to message #106228] |
Tue, 24 July 2007 16:45 |
Eclipse User |
|
|
|
Originally posted by: jamesb.broadcom.com
Excellent! So things are now getting further. I've downloaded the latest
4.4.1-200707230100 build, which seems to have a working IAC. I can now do
Test Connection in "Profiling and Logging" and get back "Connection
Success".
Unfortunately profiling my simple Hello World app (right click Profile
As->Java Application) is still failing. The following is being sent to
the console:
org.eclipse.tptp.platform.execution.exceptions.TimeoutExcept ion: Launching
Process command timed out.
at
org.eclipse.tptp.platform.execution.client.core.internal.Age ntController.queryAgentByProcessID(AgentController.java:513)
at
org.eclipse.tptp.platform.execution.client.core.internal.Age ntController.getAgent(AgentController.java:867)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.locateTIAgent(TIDelegateHelper.java:774)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper$2.processLaunched(TIDelegateHelper.java:457)
at
org.eclipse.tptp.platform.execution.client.core.internal.Pro cessImpl.launchAC(ProcessImpl.java:598)
at
org.eclipse.tptp.platform.execution.client.core.internal.Pro cessImpl.launch(ProcessImpl.java:132)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launchProcess(TIDelegateHelper.java:490)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:311)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIJ avaLauncherDelegate.launch(TIJavaLauncherDelegate.java:37)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1153)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:196)
at java.lang.Thread.run(Thread.java:595)
and in the .metadata/.log file there are a few interesting lines:
!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.749
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IProgressMonitor
!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at java.lang.Class.getDeclaredMethods0(Native Method)
!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at java.lang.Class.getDeclaredMethod(Unknown Source)
!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at
org.eclipse.hyades.internal.collection.framework.FileClientH andlerExtendedImpl.executeCommand(FileClientHandlerExtendedI mpl.java:134)
!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at
org.eclipse.hyades.internal.collection.framework.FileClientH andlerExtendedImpl.run(FileClientHandlerExtendedImpl.java:28 9)
!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at java.lang.Thread.run(Unknown Source)
Any thoughts would be greatly appreciated!
Cheers,
James
|
|
|
Powered by
FUDForum. Page generated in 1.28993 seconds