]
Barry LaFond resolved TEIIDDES-3157.
------------------------------------
Resolution: Cannot Reproduce
Remote server doesn't work when it is defined alone
---------------------------------------------------
Key: TEIIDDES-3157
URL:
https://issues.jboss.org/browse/TEIIDDES-3157
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 11.1.1
Reporter: Matej Kralik
Assignee: Barry LaFond
Priority: Critical
Fix For: 11.2
Attachments: connecting.png, notConnected.png, right.mkv, test.mkv
I am not able to connect to the remote server when server list contains only this remote
server. When I click the start server, a teiid instance is not connected
(notConnected.png).
In the error log is this errors:
{code:java}
java.lang.IllegalArgumentException: admin
at org.teiid.core.util.ArgCheck.isNotNull(ArgCheck.java:302)
at org.teiid.runtime.client.admin.ExecutionAdmin.<init>(ExecutionAdmin.java:123)
at
org.teiid.runtime.client.admin.ExecutionAdminFactory.createExecutionAdmin(ExecutionAdminFactory.java:57)
at
org.teiid.designer.runtime.registry.TeiidRuntimeRegistry.getExecutionAdmin(TeiidRuntimeRegistry.java:90)
at org.teiid.designer.runtime.TeiidServer.connect(TeiidServer.java:243)
at org.teiid.designer.runtime.TeiidServer.getDataSources(TeiidServer.java:637)
at
org.teiid.designer.runtime.importer.ImportManager.getDataSources(ImportManager.java:440)
at
org.teiid.designer.datasources.ui.wizard.TeiidDataSourceManager.getDataSources(TeiidDataSourceManager.java:299)
at
org.teiid.designer.datasources.ui.sources.GlobalConnectionManager.refreshDataSourceList(GlobalConnectionManager.java:117)
at
org.teiid.designer.datasources.ui.sources.ConnectionProfilesPanel.refresh(ConnectionProfilesPanel.java:696)
at
org.teiid.designer.datasources.ui.sources.DataSourcesSection.refresh(DataSourcesSection.java:77)
at
org.teiid.designer.datasources.ui.sources.DefaultServerSection$2$1.run(DefaultServerSection.java:133)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4213)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
{code}
{code:java}
org.eclipse.equinox.security.storage.StorageException: Unable to decrypt entry encoded
with default password as no default password is currently specified.
at
org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:223)
at
org.eclipse.equinox.internal.security.storage.SecurePreferences.get(SecurePreferences.java:264)
at
org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.get(SecurePreferencesWrapper.java:106)
at
org.teiid.datatools.connectivity.security.impl.EquinoxSecureStorageProvider.getFromSecureStorage(EquinoxSecureStorageProvider.java:67)
at
org.teiid.designer.runtime.TeiidConnectionInfo.retrievePassword(TeiidConnectionInfo.java:230)
at
org.teiid.designer.runtime.TeiidConnectionInfo.getPassword(TeiidConnectionInfo.java:299)
at org.teiid.designer.runtime.TeiidConnectionInfo.setAll(TeiidConnectionInfo.java:399)
at
org.teiid.designer.runtime.TeiidParentServerListener$1.tryConnecting(TeiidParentServerListener.java:311)
at
org.teiid.designer.runtime.TeiidParentServerListener$1.run(TeiidParentServerListener.java:251)
at java.lang.Thread.run(Thread.java:745)
{code}
{code:java}
java.lang.IllegalArgumentException: admin
at org.teiid.core.util.ArgCheck.isNotNull(ArgCheck.java:302)
at org.teiid.runtime.client.admin.ExecutionAdmin.<init>(ExecutionAdmin.java:123)
at
org.teiid.runtime.client.admin.ExecutionAdminFactory.createExecutionAdmin(ExecutionAdminFactory.java:57)
at
org.teiid.designer.runtime.registry.TeiidRuntimeRegistry.getExecutionAdmin(TeiidRuntimeRegistry.java:90)
at org.teiid.designer.runtime.TeiidServer.connect(TeiidServer.java:243)
at org.teiid.designer.runtime.TeiidServer.reconnect(TeiidServer.java:293)
at
org.teiid.designer.runtime.TeiidParentServerListener$1.tryConnecting(TeiidParentServerListener.java:314)
at
org.teiid.designer.runtime.TeiidParentServerListener$1.run(TeiidParentServerListener.java:251)
at java.lang.Thread.run(Thread.java:745)
{code}
When I have defined some local server before, and after that I define remote server, it
works. I click start on the remote server, a teiid instance will be connecting.
(connecting.png)