Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 161289

Summary: AgentControllerUnavailableException when testing connection to a secured Agent Controller on Linux.
Product: z_Archived Reporter: Paul Slauenwhite <paulslau>
Component: TPTPAssignee: Igor Alelekov <igor.alelekov>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P1 CC: karla.callaghan
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 125103    
Attachments:
Description Flags
Service log.
none
.log (Linux x86) none

Description Paul Slauenwhite CLA 2006-10-17 13:28:01 EDT
AgentControllerUnavailableException when testing connection to a secured Agent Controller on Linux.

Using the TPTP-4.3.0-200610160100 build, testing a connection (locally or remotely) to a secured Agent Controller on Linux (Linux paules 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686
GNU/Linux), the following AgentControllerUnavailableException is thrown:

org.eclipse.hyades.internal.execution.local.control.AgentControllerUnavailableException
        at org.eclipse.hyades.internal.execution.local.control.NodeImpl.connect(NodeImpl.java:279)
        at org.eclipse.hyades.security.internal.util.BaseConnectUtil.secureConnect(BaseConnectUtil.java:430)
        at org.eclipse.hyades.security.internal.util.BaseConnectUtil.connect(BaseConnectUtil.java:221)
        at org.eclipse.hyades.security.internal.util.BaseConnectUtil.connect(BaseConnectUtil.java:538)
        at org.eclipse.hyades.security.internal.util.BaseConnectUtil.connect(BaseConnectUtil.java:199)
        at org.eclipse.hyades.trace.ui.HyadesUtil.testConnection(HyadesUtil.java:599)
        at org.eclipse.hyades.trace.ui.internal.core.TraceHostUI$1.run(TraceHostUI.java:576)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.testConnection(TraceHostUI.java:502)
        at org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.widgetSelected(TraceHostUI.java:743)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
        at org.eclipse.jface.window.Window.open(Window.java:796)
        at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 1 Paul Slauenwhite CLA 2006-10-17 14:36:04 EDT
Increasing severity since blocking Test project test cases.
Comment 2 Karla Callaghan CLA 2006-10-18 02:43:38 EDT
This is likely related to bug 159677.

If you have a service log (level=Debug and type=Simple) please attach. 
Comment 3 Paul Slauenwhite CLA 2006-10-20 15:58:59 EDT
(In reply to comment #0)

Correction, this defect can only be reproduced locally on a Linux (x86) machine (e.g. localhost:10002).
Comment 4 Paul Slauenwhite CLA 2006-10-20 16:01:18 EDT
Created attachment 52423 [details]
Service log.
Comment 5 Paul Slauenwhite CLA 2006-10-20 16:01:57 EDT
Created attachment 52424 [details]
.log (Linux x86)
Comment 6 Karla Callaghan CLA 2006-10-24 12:56:46 EDT
Retarget to 4.4.  This is a blocker to the adoption of the new AC's backwards compatibility on Linux (125103).
Comment 7 Karla Callaghan CLA 2007-01-25 13:12:47 EST
Assigning new AC Linux bugs to Igor, consider for 4.4.
Comment 8 Igor Alelekov CLA 2007-02-09 03:54:16 EST
Paul, error reported in the servicelog is the same as in the bug #161096.
Could you repeat your test case with the new ACStart.sh script, submitted in #161096.

In the case of shared memory creation error (bug #173319) please launch AC as superuser.
Comment 9 Paul Slauenwhite CLA 2007-02-23 12:15:21 EST
(In reply to comment #8)

Sorry for the late reply.

I did with no success (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=161096#c18).

Comment 10 Igor Alelekov CLA 2007-03-13 06:49:27 EDT

*** This bug has been marked as a duplicate of bug 154387 ***
Comment 11 Paul Slauenwhite CLA 2007-06-27 14:59:22 EDT
Verified in TPTP-4.4.0-200706140100C.