Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-3157

Remote server doesn't work when it is defined alone

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Critical
    • None
    • 11.1.1
    • None
    • None
    • Hide
      1. Open new workspace (without any server)
      2. Create new remote server which is not located at localhost (server is REMOTE, controlled by Management Operations, Server lifecycle is externally managed is checked, connection type is SSH Only)
      3. Set admin and teiidUser user name and password
      4. Run server
      Show
      Open new workspace (without any server) Create new remote server which is not located at localhost (server is REMOTE, controlled by Management Operations, Server lifecycle is externally managed is checked, connection type is SSH Only ) Set admin and teiidUser user name and password Run server
      1. Define some local server first
      2. After that, define remote server

    Description

      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:

      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)
      
      
      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)
      
      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)
      

      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)

      Attachments

        1. connecting.png
          connecting.png
          18 kB
        2. notConnected.png
          notConnected.png
          15 kB
        3. right.mkv
          6.45 MB
        4. test.mkv
          17.39 MB

        Activity

          People

            blafond Barry LaFond
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: