[JBoss JIRA] (TEIIDDES-2582) Teiid Connection import: driver field not populated for resource adapters
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2582?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2582:
----------------------------------------
Andrej Šmigala There was still an illegal arg showing up with null driver name. I fixed that as part of this jira. User can't proceed without the driver, but that's still the EAP issue.
> Teiid Connection import: driver field not populated for resource adapters
> -------------------------------------------------------------------------
>
> Key: TEIIDDES-2582
> URL: https://issues.jboss.org/browse/TEIIDDES-2582
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export, Teiid Integration
> Affects Versions: 9.0.2
> Reporter: Andrej Šmigala
>
> When importing using Teiid Connection, the driver field is not populated for resource adapters when the pool name of the connection definition is the same as the id of the resource adapter itself. Except for the case that there is _another_ resource adapter defined for the same module _without_ any connection definitions.
> In other words, when the following is included in standalone.xml, the driver field is not populated
> {code:xml}
> <resource-adapter id="file">
> <module slot="main" id="org.jboss.teiid.resource-adapter.file"/>
> <transaction-support>NoTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="org.teiid.resource.adapter.file.FileManagedConnectionFactory" jndi-name="java:/file" enabled="true" pool-name="file">
> <config-property name="ParentDirectory">
> /home/
> </config-property>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> {code}
> However, everything works as expected when the configuration is changed to this:
> {code:xml}
> <resource-adapter id="file">
> <module slot="main" id="org.jboss.teiid.resource-adapter.file"/>
> <transaction-support>NoTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="org.teiid.resource.adapter.file.FileManagedConnectionFactory" jndi-name="java:/fileDS" enabled="true" pool-name="fileDS">
> <config-property name="ParentDirectory">
> /home/
> </config-property>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> {code}
> Or this:
> {code:xml}
> <resource-adapter id="file">
> <module slot="main" id="org.jboss.teiid.resource-adapter.file"/>
> </resource-adapter>
> <resource-adapter id="fileDS">
> <module slot="main" id="org.jboss.teiid.resource-adapter.file"/>
> <transaction-support>NoTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="org.teiid.resource.adapter.file.FileManagedConnectionFactory" jndi-name="java:/fileDS" enabled="true" pool-name="fileDS">
> <config-property name="ParentDirectory">
> /home/
> </config-property>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> {code}
> This might be related to TEIIDDES-1895 and is most likely the original cause of TEIIDDES-2563.
> Clicking Next in the import wizard when such a datasource is selected causes the same error as described in TEIIDDES-2563.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIIDDES-2592) Connecting to remote server takes a very long time
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2592?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2592:
-----------------------------------
Comment: was deleted
(was: [~asmigala] There was still an illegal arg showing up with null driver name. I fixed that as part of this jira. User can't proceed without the driver, but that's still the EPA issue.)
> Connecting to remote server takes a very long time
> --------------------------------------------------
>
> Key: TEIIDDES-2592
> URL: https://issues.jboss.org/browse/TEIIDDES-2592
> 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
>
> Attachments: org.teiid.runtime.client.patch
>
>
> 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)
10 years, 9 months