[JBoss JIRA] (TEIIDDES-2563) Error trying to use Teiid Connection importer to import from a JDG source
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2563?page=com.atlassian.jira.plu... ]
Van Halbert resolved TEIIDDES-2563.
-----------------------------------
Resolution: Rejected
When configuring a resource-adapter that does not have an associated template resource-adapter already defined (as the infinispan connector does not) then a template must first be configured on the server.
Example for infinispan:
<resource-adapter id="infinispan">
<module slot="main" id="org.jboss.teiid.resource-adapter.infinispan.dsl"/>
</resource-adapter>
Then the resource-adpater that configures to the data source can be added and used.
> Error trying to use Teiid Connection importer to import from a JDG source
> -------------------------------------------------------------------------
>
> Key: TEIIDDES-2563
> URL: https://issues.jboss.org/browse/TEIIDDES-2563
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 9.1, 9.0.2
> Environment: Mac OS (original test), then tried rhel 6 (same issue)
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
>
> Trying to use the Teiid Connection importer to import from an infinispan-cache-dsl source and getting the following error in the .log file:
> !ENTRY org.eclipse.ui 4 0 2015-06-18 14:40:00.731
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.IllegalArgumentException: Argument cannot be null
> at org.eclipse.swt.SWT.error(SWT.java:4422)
> at org.eclipse.swt.SWT.error(SWT.java:4356)
> at org.eclipse.swt.SWT.error(SWT.java:4327)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:783)
> at org.eclipse.swt.widgets.Text.setText(Text.java:2087)
> at org.teiid.designer.teiidimporter.ui.wizard.SelectTranslatorPage.setVisible(SelectTranslatorPage.java:356)
> at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1289)
> at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1268)
> at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1257)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1254)
> at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:942)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:434)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (TEIIDDES-2563) Error trying to use Teiid Connection importer to import from a JDG source
by Andrej Šmigala (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2563?page=com.atlassian.jira.plu... ]
Andrej Šmigala edited comment on TEIIDDES-2563 at 8/17/15 3:12 AM:
-------------------------------------------------------------------
[~van.halbert], are you sure you are not running into TEIID-3609? Could you please post your resource adapter definition from standalone.xml?
was (Author: asmigala):
[~van.halbert], are you sure you are not running into TEIID-3609? Could you please post you resource adapter definition from standalone.xml?
> Error trying to use Teiid Connection importer to import from a JDG source
> -------------------------------------------------------------------------
>
> Key: TEIIDDES-2563
> URL: https://issues.jboss.org/browse/TEIIDDES-2563
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 9.1, 9.0.2
> Environment: Mac OS (original test), then tried rhel 6 (same issue)
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
>
> Trying to use the Teiid Connection importer to import from an infinispan-cache-dsl source and getting the following error in the .log file:
> !ENTRY org.eclipse.ui 4 0 2015-06-18 14:40:00.731
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.IllegalArgumentException: Argument cannot be null
> at org.eclipse.swt.SWT.error(SWT.java:4422)
> at org.eclipse.swt.SWT.error(SWT.java:4356)
> at org.eclipse.swt.SWT.error(SWT.java:4327)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:783)
> at org.eclipse.swt.widgets.Text.setText(Text.java:2087)
> at org.teiid.designer.teiidimporter.ui.wizard.SelectTranslatorPage.setVisible(SelectTranslatorPage.java:356)
> at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1289)
> at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1268)
> at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1257)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1254)
> at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:942)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:434)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (TEIIDDES-2563) Error trying to use Teiid Connection importer to import from a JDG source
by Andrej Šmigala (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2563?page=com.atlassian.jira.plu... ]
Andrej Šmigala commented on TEIIDDES-2563:
------------------------------------------
[~van.halbert], are you sure you are not running into TEIID-3609? Could you please post you resource adapter definition from standalone.xml?
> Error trying to use Teiid Connection importer to import from a JDG source
> -------------------------------------------------------------------------
>
> Key: TEIIDDES-2563
> URL: https://issues.jboss.org/browse/TEIIDDES-2563
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 9.1, 9.0.2
> Environment: Mac OS (original test), then tried rhel 6 (same issue)
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
>
> Trying to use the Teiid Connection importer to import from an infinispan-cache-dsl source and getting the following error in the .log file:
> !ENTRY org.eclipse.ui 4 0 2015-06-18 14:40:00.731
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.IllegalArgumentException: Argument cannot be null
> at org.eclipse.swt.SWT.error(SWT.java:4422)
> at org.eclipse.swt.SWT.error(SWT.java:4356)
> at org.eclipse.swt.SWT.error(SWT.java:4327)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:783)
> at org.eclipse.swt.widgets.Text.setText(Text.java:2087)
> at org.teiid.designer.teiidimporter.ui.wizard.SelectTranslatorPage.setVisible(SelectTranslatorPage.java:356)
> at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1289)
> at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1268)
> at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1257)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1254)
> at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:942)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:434)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (TEIIDDES-2563) Error trying to use Teiid Connection importer to import from a JDG source
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2563?page=com.atlassian.jira.plu... ]
Van Halbert commented on TEIIDDES-2563:
---------------------------------------
I ran into the same issue after reinstalling everyone on the ER4 release.
> Error trying to use Teiid Connection importer to import from a JDG source
> -------------------------------------------------------------------------
>
> Key: TEIIDDES-2563
> URL: https://issues.jboss.org/browse/TEIIDDES-2563
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 9.1, 9.0.2
> Environment: Mac OS (original test), then tried rhel 6 (same issue)
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
>
> Trying to use the Teiid Connection importer to import from an infinispan-cache-dsl source and getting the following error in the .log file:
> !ENTRY org.eclipse.ui 4 0 2015-06-18 14:40:00.731
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.IllegalArgumentException: Argument cannot be null
> at org.eclipse.swt.SWT.error(SWT.java:4422)
> at org.eclipse.swt.SWT.error(SWT.java:4356)
> at org.eclipse.swt.SWT.error(SWT.java:4327)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:783)
> at org.eclipse.swt.widgets.Text.setText(Text.java:2087)
> at org.teiid.designer.teiidimporter.ui.wizard.SelectTranslatorPage.setVisible(SelectTranslatorPage.java:356)
> at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1289)
> at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1268)
> at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1257)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1254)
> at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:942)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:434)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (TEIIDDES-2563) Error trying to use Teiid Connection importer to import from a JDG source
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2563?page=com.atlassian.jira.plu... ]
Van Halbert reopened TEIIDDES-2563:
-----------------------------------
> Error trying to use Teiid Connection importer to import from a JDG source
> -------------------------------------------------------------------------
>
> Key: TEIIDDES-2563
> URL: https://issues.jboss.org/browse/TEIIDDES-2563
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 9.1, 9.0.2
> Environment: Mac OS (original test), then tried rhel 6 (same issue)
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
>
> Trying to use the Teiid Connection importer to import from an infinispan-cache-dsl source and getting the following error in the .log file:
> !ENTRY org.eclipse.ui 4 0 2015-06-18 14:40:00.731
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.IllegalArgumentException: Argument cannot be null
> at org.eclipse.swt.SWT.error(SWT.java:4422)
> at org.eclipse.swt.SWT.error(SWT.java:4356)
> at org.eclipse.swt.SWT.error(SWT.java:4327)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:783)
> at org.eclipse.swt.widgets.Text.setText(Text.java:2087)
> at org.teiid.designer.teiidimporter.ui.wizard.SelectTranslatorPage.setVisible(SelectTranslatorPage.java:356)
> at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1289)
> at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1268)
> at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1257)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1254)
> at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:942)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:434)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (TEIIDDES-2616) Additional performance improvements in admin factory
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2616?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2616:
-----------------------------------
Description:
There were a couple of issues that arose with testing the changes in TEIIDDES-2592 in Komodo Admin8Factory. There were some issues with certain connection factories that didn't have properties that ended up stopping loading of data source definitions.
So needed to catch intermediate exceptions and allow caching/loading of what data sources were on the server. This lead to caching DS names and XA-DS names separately, similar to resource names.
was:
Any interaction with remote server, such as connecting, importing from teiid connection or listing vdbs and datasources takes a very long time (minutes) when there are many datasources (30+) defined on the server
blafond: We're compiling lists of DS, Translator and VDB objects. DS's basically take 3 different CLI calls to pull together. If you're not carefull, this results in CLI calls, calling other CLI calls repeatedly
blafond: 30 Data sources were resulting in 900 + calls to the server, when it should have been maybe.... 60
> Additional performance improvements in admin factory
> -----------------------------------------------------
>
> Key: TEIIDDES-2616
> URL: https://issues.jboss.org/browse/TEIIDDES-2616
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 9.0.2, 9.0.3
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Priority: Blocker
> Labels: release_notes, verified_jbdsis-8.0.3.CR2
> Fix For: 9.2, 9.0.4
>
>
> There were a couple of issues that arose with testing the changes in TEIIDDES-2592 in Komodo Admin8Factory. There were some issues with certain connection factories that didn't have properties that ended up stopping loading of data source definitions.
> So needed to catch intermediate exceptions and allow caching/loading of what data sources were on the server. This lead to caching DS names and XA-DS names separately, similar to resource names.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (TEIIDDES-2616) Additional performance improvements in admin factory
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2616?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2616:
-----------------------------------
Fix Version/s: 9.0.4
(was: 9.0.3)
> Additional performance improvements in admin factory
> -----------------------------------------------------
>
> Key: TEIIDDES-2616
> URL: https://issues.jboss.org/browse/TEIIDDES-2616
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 9.0.2, 9.0.3
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Priority: Blocker
> Labels: release_notes, verified_jbdsis-8.0.3.CR2
> Fix For: 9.2, 9.0.4
>
>
> Any interaction with remote server, such as connecting, importing from teiid connection or listing vdbs and datasources takes a very long time (minutes) when there are many datasources (30+) defined on the server
> blafond: We're compiling lists of DS, Translator and VDB objects. DS's basically take 3 different CLI calls to pull together. If you're not carefull, this results in CLI calls, calling other CLI calls repeatedly
> blafond: 30 Data sources were resulting in 900 + calls to the server, when it should have been maybe.... 60
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (TEIIDDES-2616) Additional performance improvements in admin factory
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2616?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2616:
-----------------------------------
Summary: Additional performance improvements in admin factory (was: Connecting to remote server takes a very long time)
> Additional performance improvements in admin factory
> -----------------------------------------------------
>
> Key: TEIIDDES-2616
> URL: https://issues.jboss.org/browse/TEIIDDES-2616
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 9.0.2, 9.0.3
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Priority: Blocker
> Labels: release_notes, verified_jbdsis-8.0.3.CR2
> Fix For: 9.0.3, 9.2
>
>
> Any interaction with remote server, such as connecting, importing from teiid connection or listing vdbs and datasources takes a very long time (minutes) when there are many datasources (30+) defined on the server
> blafond: We're compiling lists of DS, Translator and VDB objects. DS's basically take 3 different CLI calls to pull together. If you're not carefull, this results in CLI calls, calling other CLI calls repeatedly
> blafond: 30 Data sources were resulting in 900 + calls to the server, when it should have been maybe.... 60
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (TEIIDDES-2616) Connecting to remote server takes a very long time
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-2616:
--------------------------------------
Summary: Connecting to remote server takes a very long time
Key: TEIIDDES-2616
URL: https://issues.jboss.org/browse/TEIIDDES-2616
Project: Teiid Designer
Issue Type: Bug
Components: Teiid Integration
Affects Versions: 9.0.2, 9.0.3
Reporter: Andrej Šmigala
Assignee: Barry LaFond
Priority: Blocker
Fix For: 9.0.3, 9.2
Any interaction with remote server, such as connecting, importing from teiid connection or listing vdbs and datasources takes a very long time (minutes) when there are many datasources (30+) defined on the server
blafond: We're compiling lists of DS, Translator and VDB objects. DS's basically take 3 different CLI calls to pull together. If you're not carefull, this results in CLI calls, calling other CLI calls repeatedly
blafond: 30 Data sources were resulting in 900 + calls to the server, when it should have been maybe.... 60
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (TEIIDDES-2612) Cannot delete a model project with a read-only model in it.
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2612?page=com.atlassian.jira.plu... ]
Barry LaFond edited comment on TEIIDDES-2612 at 8/14/15 3:50 PM:
-----------------------------------------------------------------
master: https://github.com/Teiid-Designer/teiid-designer/commit/c648e538cd953db18...
Added check-box options to DDL importer and Teiid Connection Importer where default behavior if TEiid DDL is to remove redundant Unique Constraints (i.e. if PK's already exist for the same columns)
was (Author: blafond):
master: https://github.com/Teiid-Designer/teiid-designer/commit/c648e538cd953db18...
> Cannot delete a model project with a read-only model in it.
> -----------------------------------------------------------
>
> Key: TEIIDDES-2612
> URL: https://issues.jboss.org/browse/TEIIDDES-2612
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0, 9.1
> Reporter: Barry LaFond
> Assignee: Barry LaFond
> Fix For: 9.2
>
> Attachments: 0001-TEIIDES-2612-Refactor-deleting-response-to-related-r.patch, AbstractRefactorAction.patch, DeleteResourceRefactoring.patch, ModelExplorerResourceNavigator.patch
>
>
> I set up a 2 projects with a single model in it. Project 1 has a read-only -model, Project 2 has a writeable model.
> I can delete Project 2, but Project 1 sends up a error message dialog that it can't delete because the project has a read-only file in it.
> Looking at DeleteResourcesRefactoring.checkResource(), it starts with checking if the resource is in the selected list. If not selected, it'll be an ERROR if a child resources is READ-ONLY, rather than a WARNING.
> Further down the method it checks for read-only state of the resource and will set the message.
> Problem is the Selected/Top-level Project should determine the severity of the read-only check. At most, the message should be an OK/Warning dialog to ask the user "Read-only resources found... do you still wish to delete?"
> adding a method to check that *allProjectsSelected()* and switching the ERROR read-only status to WARNING at the start of the method seems to work.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months