[JBoss JIRA] (TEIIDDES-3157) Remote server doesn't work when it is defined alone
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3157?page=com.atlassian.jira.plu... ]
Matej Kralik closed TEIIDDES-3157.
----------------------------------
In the many cases, deleting org.eclipse.equinox.security folder from .eclipse folder fixes problems with the remote server.
> 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
> 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)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 4 months
[JBoss JIRA] (TEIIDDES-2755) No Quick fix offered after importing VDB with same models
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2755?page=com.atlassian.jira.plu... ]
Matej Kralik closed TEIIDDES-2755.
----------------------------------
> No Quick fix offered after importing VDB with same models
> ---------------------------------------------------------
>
> Key: TEIIDDES-2755
> URL: https://issues.jboss.org/browse/TEIIDDES-2755
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 9.0.4
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Attachments: QT_Greenplum_Push.vdb, QT_MySql50_Push.vdb, Screen Shot 2016-01-12 at 9.57.25 (2).png, Screen Shot 2016-01-12 at 9.57.48 (2).png, Screen Shot 2016-01-12 at 9.58.00 (2).png
>
>
> I have 2 VDBs with models that have same names. After importing the first one and extracting the models, TD doesn't offer this option for the second VDB in second project.
> I can see that the warning says that models are not in +workspace+, but I think TD should check if models are in the +project folder+ not in workspace.
> In the screenshots, you can see that there is no warning for NewProject2.
> VDBs attached.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 4 months
[JBoss JIRA] (TEIIDDES-2794) Connecting to remote server and refreshing produces an exception
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2794?page=com.atlassian.jira.plu... ]
Matej Kralik closed TEIIDDES-2794.
----------------------------------
> Connecting to remote server and refreshing produces an exception
> ----------------------------------------------------------------
>
> Key: TEIIDDES-2794
> URL: https://issues.jboss.org/browse/TEIIDDES-2794
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0
> Reporter: Matus Makovy
> Attachments: Screen Shot 2016-02-25 at 11.31.43.png, Screen Shot 2016-02-25 at 11.41.58.png
>
>
> When I create new remote server in teiid designer, try to connect to it and refresh the connection an exception occurs. After clicking OK in the alert dialogue connection to server works.
> When I hit refresh once more, there is no exception/error.
> Screenshots attached
> Exception:
> {code:java}
> org.teiid.adminapi.AdminComponentException: java.io.IOException: java.lang.IllegalStateException: JBAS010641: ModelControllerClient is closed
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.getVDBs(Admin8Factory.java:1761)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.getVDBs(Admin8Factory.java:1)
> at org.teiid.runtime.client.admin.ExecutionAdmin.refreshVDBs(ExecutionAdmin.java:796)
> at org.teiid.runtime.client.admin.ExecutionAdmin.refresh(ExecutionAdmin.java:722)
> at org.teiid.runtime.client.admin.ExecutionAdmin.connect(ExecutionAdmin.java:682)
> at org.teiid.designer.runtime.TeiidServer.connect(TeiidServer.java:253)
> at org.teiid.designer.runtime.TeiidServer.reconnect(TeiidServer.java:293)
> at org.teiid.designer.runtime.ui.server.RefreshServerAction$1.run(RefreshServerAction.java:89)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4024)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3700)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.executeRunnable(UiBusyIndicator.java:227)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhileInternal(UiBusyIndicator.java:159)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:116)
> at org.teiid.designer.runtime.ui.server.RefreshServerAction.run(RefreshServerAction.java:80)
> at org.teiid.designer.runtime.ui.server.RefreshServerAction.execute(RefreshServerAction.java:132)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> 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:497)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
> at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)
> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)
> at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
> at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:799)
> at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:675)
> at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:659)
> at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:592)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.jboss.reddeer.core.handler.WidgetHandler$5.run(WidgetHandler.java:382)
> at org.jboss.reddeer.core.util.Display$VoidResultRunnable.run(Display.java:194)
> at org.jboss.reddeer.core.util.Display$VoidResultRunnable.run(Display.java:1)
> at org.jboss.reddeer.core.util.Display$ErrorHandlingRunnable.run(Display.java:160)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4024)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3700)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.jboss.reddeer.eclipse.core.UITestApplication.start(UITestApplication.java:47)
> 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:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> 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:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> Caused by: java.io.IOException: java.lang.IllegalStateException: JBAS010641: ModelControllerClient is closed
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:149)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:75)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.getVDBs(Admin8Factory.java:1756)
> ... 72 more
> Caused by: java.lang.IllegalStateException: JBAS010641: ModelControllerClient is closed
> at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:115)
> at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:65)
> at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:123)
> at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:98)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:263)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:168)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147)
> ... 74 more
> {code}
> TD 10.0.0.Beta3
> DV 6.2
> remote connection using ssh
> the connection uses management operations
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 4 months
[JBoss JIRA] (TEIIDDES-2523) Add or Remove input variables for WS operation not working correctly
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2523?page=com.atlassian.jira.plu... ]
Matej Kralik closed TEIIDDES-2523.
----------------------------------
> Add or Remove input variables for WS operation not working correctly
> --------------------------------------------------------------------
>
> Key: TEIIDDES-2523
> URL: https://issues.jboss.org/browse/TEIIDDES-2523
> Project: Teiid Designer
> Issue Type: Bug
> Components: Editors, Patch Release, Web Services Support
> Affects Versions: 8.3.4, 9.0.1
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Priority: Minor
> Attachments: WsVariablesProject.zip, WsVariablesProject_Fixed.zip
>
>
> The variables are now shown after opening the model, however, clicking Add or Remove variables shows the Edit Input Variables editor with all the variables deselected. Selecting some of the variables adds them to the transformation, resulting in invalid SQL.
> New steps to reproduce:
> import the attached project
> double click the OrderCheckingWs in model explorer, the model editor will open
> click Add or Remove variables
> notice all variables are deselected
> select OrderDate, click OK
> save the model, the following validation error is shown:
> ERROR: Variable VARIABLES.IN_OrderDate was previously declared.
> Note that as a user checks/unchecks variables, the SQL transformation is trying to keep pace with the selections and isn't staying in sync. You can end up with multiple/duplicates. Expanding the tree shows that 2 of the 3 variables show as checked. But OrderDate is Not.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 4 months
[JBoss JIRA] (TEIIDDES-2496) Importing valid WSDL with web service import wizard fails to create model in designer
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2496?page=com.atlassian.jira.plu... ]
Matej Kralik closed TEIIDDES-2496.
----------------------------------
> Importing valid WSDL with web service import wizard fails to create model in designer
> -------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2496
> URL: https://issues.jboss.org/browse/TEIIDDES-2496
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export, Patch Release
> Affects Versions: 8.6.1, 9.0.1
> Reporter: Barry LaFond
> Assignee: Ted Jones
> Attachments: HotelWS.zip, modified_HotelWS.zip
>
>
> wsdl and xsd for hotel web services in bpms travel agency demo
> Attempts to create a teiid web service model with the attached wsdl and xsd fails with an invalid wsdl error. The wsdl is valid in eclipse, but the importer fails to create a model
> This is the wsdl from the travel agency demo which is being used for a jdv-bpms integration for jbossdemocentral and summit. The wsdl from the github site imports, but no model is created. It just fails silently and generates an empty model. The wsdl attached is a modification of the wsdl at the github site, and it fails with wsdl validation errors. The wsdl is valid in eclipse, but not in the import wizard.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 4 months