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

Bug 367835

Summary: [Dawn] Explorer connection timeout
Product: [Modeling] EMF Reporter: Federico Tomassetti <f.tomassetti>
Component: cdo.dawnAssignee: Martin Fluegge <martin.fluegge>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: give.a.damus, stepper
Version: 4.13   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Federico Tomassetti CLA 2012-01-04 06:45:08 EST
Build Identifier: 20110916-0149

Opening the Dawn explorer view a get a connection timeout trying to connect to a CDO repository that I can access from "CDO Sessions".

Properties of Dawn explorer are set to the correct address (localhost, port 3478, repository nam "Repoz").

[CODE]

org.eclipse.net4j.connector.ConnectorException: Connection timeout after 10000 milliseconds
	at org.eclipse.spi.net4j.Connector.waitForConnection(Connector.java:245)
	at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:83)
	at org.eclipse.net4j.Net4jUtil.getConnector(Net4jUtil.java:96)
	at org.eclipse.emf.cdo.dawn.util.connection.CDOConnectionUtil.init(CDOConnectionUtil.java:78)
	at org.eclipse.emf.cdo.dawn.ui.views.DawnExplorer.<init>(DawnExplorer.java:58)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:260)
	at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:63)
	at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:327)
	at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
	at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2245)
	at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1145)
	at org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3921)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3918)
	at org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:162)
	at org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHandler.java:105)
	at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:73)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
	at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java:187)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
[/CODE]

Reproducible: Always
Comment 1 Martin Fluegge CLA 2012-01-06 06:21:53 EST
I cannot reproduce this error. Did you really set the correct settings in the "Dawn Remote Preferences". Could you please double check? Does this also occur if you are using the default settings (repository: repo1; port:2036)?
Comment 2 Eike Stepper CLA 2012-01-06 07:25:22 EST
Often this is the result of a missing org.eclipse.emf.cdo.server.net4j bundle on the server.
Comment 3 Federico Tomassetti CLA 2012-01-08 03:27:24 EST
With default settings it works. If I try to start the server with different settings (of couse changing the properties to let Dawn know about it) it crashes.
Comment 4 Martin Fluegge CLA 2012-01-08 05:45:11 EST
Thanks for the info. Did you restart the runtime after setting the new values in the preferences. May we have a caching problem here.
Comment 5 Eike Stepper CLA 2012-08-14 22:52:07 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 6 Eike Stepper CLA 2013-06-29 12:18:05 EDT
We'll try to address open problems in 4.3 (master) first and then port fixes back to 4.2.
Comment 7 Eike Stepper CLA 2015-07-14 02:11:59 EDT
Moving all open bugzillas to 4.5.
Comment 8 Eike Stepper CLA 2016-07-31 00:54:21 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 9 Federico Tomassetti CLA 2016-07-31 02:31:24 EDT
Perhaps this could be closed: it is more than 4 years old...
Comment 10 Eike Stepper CLA 2016-07-31 03:19:39 EDT
Thanks for letting me know. I'm not aware of an active committer for any of the Dawn components. And I myself can't judge. For now I prefer to just leave the related bugzillas as they are.
Comment 11 Eike Stepper CLA 2017-12-28 01:10:36 EST
Moving all open bugs to 4.7
Comment 12 Eike Stepper CLA 2019-11-08 02:07:05 EST
Moving all unresolved issues to version 4.8-
Comment 13 Eike Stepper CLA 2019-12-13 12:42:39 EST
Moving all unresolved issues to version 4.9
Comment 14 Eike Stepper CLA 2020-12-11 10:43:00 EST
Moving to 4.13.