[JBoss JIRA] (TEIIDDES-1895) Designer doesn't handle it when the default resource adapter isn't defined in the server
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1895?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration commented on TEIIDDES-1895:
---------------------------------------------------
Van Halbert <vhalbert(a)redhat.com> changed the Status of [bug 1022176|https://bugzilla.redhat.com/show_bug.cgi?id=1022176] from ASSIGNED to CLOSED
> Designer doesn't handle it when the default resource adapter isn't defined in the server
> ----------------------------------------------------------------------------------------
>
> Key: TEIIDDES-1895
> URL: https://issues.jboss.org/browse/TEIIDDES-1895
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Mark Drilling
> Priority: Critical
> Fix For: 8.3
>
>
> Description of problem:
> I commented out the resource-adapter elements in standalone.xml (so that there was only empty element <resource-adapters></resource-adapters> left).
> I run those teiid designer tests:
> - basic server management use cases (OK)
> - test which uses XML document as a data source - fails [1], whole teiid designer message [2]
> Lucie
> [1] "There was a problem deploying VDB "RecursiveVDB.vdb" to server "mm://localhost:9999::admin" -- and message "Data Source Type file does not exist on server mm://localhost:9999::admin"
> [2] java.lang.Exception: Data Source Type file does not exist on server mm://localhost:9999::admin (JBoss EAP 6.1)
> at org.teiid84.runtime.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:320)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:556)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:107)
> at org.teiid.designer.runtime.ui.vdb.VdbDeployer.deploy(VdbDeployer.java:239)
> at org.teiid.designer.runtime.ui.actions.DeployVdbAction$1.run(DeployVdbAction.java:286)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (TEIIDDES-1895) Designer doesn't handle it when the default resource adapter isn't defined in the server
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1895?page=com.atlassian.jira.plu... ]
Van Halbert resolved TEIIDDES-1895.
-----------------------------------
Resolution: Rejected
This is not an issue.
> Designer doesn't handle it when the default resource adapter isn't defined in the server
> ----------------------------------------------------------------------------------------
>
> Key: TEIIDDES-1895
> URL: https://issues.jboss.org/browse/TEIIDDES-1895
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Mark Drilling
> Priority: Critical
> Fix For: 8.3
>
>
> Description of problem:
> I commented out the resource-adapter elements in standalone.xml (so that there was only empty element <resource-adapters></resource-adapters> left).
> I run those teiid designer tests:
> - basic server management use cases (OK)
> - test which uses XML document as a data source - fails [1], whole teiid designer message [2]
> Lucie
> [1] "There was a problem deploying VDB "RecursiveVDB.vdb" to server "mm://localhost:9999::admin" -- and message "Data Source Type file does not exist on server mm://localhost:9999::admin"
> [2] java.lang.Exception: Data Source Type file does not exist on server mm://localhost:9999::admin (JBoss EAP 6.1)
> at org.teiid84.runtime.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:320)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:556)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:107)
> at org.teiid.designer.runtime.ui.vdb.VdbDeployer.deploy(VdbDeployer.java:239)
> at org.teiid.designer.runtime.ui.actions.DeployVdbAction$1.run(DeployVdbAction.java:286)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (TEIIDDES-1895) Designer doesn't handle it when the default resource adapter isn't defined in the server
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1895?page=com.atlassian.jira.plu... ]
Van Halbert commented on TEIIDDES-1895:
---------------------------------------
Regarding CLI scripts, after realizing the issue where we don't want to add multiple entries to the same resource-adapter, I had to change all the CLI scripts in quick starts. Because its not known when someone will try to run a quick start, it has to be assumed that server could already have resource adapters configured. Therefore, I had to go back to the quick start CLI scripts and add the add:module command, which then also required that the names for each be different than the OOTB resource-adapter names.
But as you said, it works as you said in Designer, so there doesn't appear to be an issue. So we can close this jira and close the related jira for removing the empty resource adapters.
> Designer doesn't handle it when the default resource adapter isn't defined in the server
> ----------------------------------------------------------------------------------------
>
> Key: TEIIDDES-1895
> URL: https://issues.jboss.org/browse/TEIIDDES-1895
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Mark Drilling
> Priority: Critical
> Fix For: 8.3
>
>
> Description of problem:
> I commented out the resource-adapter elements in standalone.xml (so that there was only empty element <resource-adapters></resource-adapters> left).
> I run those teiid designer tests:
> - basic server management use cases (OK)
> - test which uses XML document as a data source - fails [1], whole teiid designer message [2]
> Lucie
> [1] "There was a problem deploying VDB "RecursiveVDB.vdb" to server "mm://localhost:9999::admin" -- and message "Data Source Type file does not exist on server mm://localhost:9999::admin"
> [2] java.lang.Exception: Data Source Type file does not exist on server mm://localhost:9999::admin (JBoss EAP 6.1)
> at org.teiid84.runtime.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:320)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:556)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:107)
> at org.teiid.designer.runtime.ui.vdb.VdbDeployer.deploy(VdbDeployer.java:239)
> at org.teiid.designer.runtime.ui.actions.DeployVdbAction$1.run(DeployVdbAction.java:286)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (TEIIDDES-1895) Designer doesn't handle it when the default resource adapter isn't defined in the server
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1895?page=com.atlassian.jira.plu... ]
Ramesh Reddy commented on TEIIDDES-1895:
----------------------------------------
- Empty resource-adapters are equal to "driver" name concept in the JDBC data sources side
- Some of this is due to AS-4776 fix, that is what been suggested that we do
I do not understand the issue you mentioned on CLI scripts. Note that this is all occurring when Designer is used to create RA, if you manually create and restart the server you can have single RA contains multiple connections of same type and there are no issues.
> Designer doesn't handle it when the default resource adapter isn't defined in the server
> ----------------------------------------------------------------------------------------
>
> Key: TEIIDDES-1895
> URL: https://issues.jboss.org/browse/TEIIDDES-1895
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Mark Drilling
> Priority: Critical
> Fix For: 8.3
>
>
> Description of problem:
> I commented out the resource-adapter elements in standalone.xml (so that there was only empty element <resource-adapters></resource-adapters> left).
> I run those teiid designer tests:
> - basic server management use cases (OK)
> - test which uses XML document as a data source - fails [1], whole teiid designer message [2]
> Lucie
> [1] "There was a problem deploying VDB "RecursiveVDB.vdb" to server "mm://localhost:9999::admin" -- and message "Data Source Type file does not exist on server mm://localhost:9999::admin"
> [2] java.lang.Exception: Data Source Type file does not exist on server mm://localhost:9999::admin (JBoss EAP 6.1)
> at org.teiid84.runtime.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:320)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:556)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:107)
> at org.teiid.designer.runtime.ui.vdb.VdbDeployer.deploy(VdbDeployer.java:239)
> at org.teiid.designer.runtime.ui.actions.DeployVdbAction$1.run(DeployVdbAction.java:286)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (TEIIDDES-1895) Designer doesn't handle it when the default resource adapter isn't defined in the server
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1895?page=com.atlassian.jira.plu... ]
Van Halbert commented on TEIIDDES-1895:
---------------------------------------
There's a couple of issues here:
- how are the empty resources adapters (no definitions) and one's that have something defined tracked for the users? Or is it relevant?
- OOTB, the resource adapters have nothing defined for them, just empty resource-adapters for each specific type. So the first one added by the user in designer, Teiid added it to the existing resource-adapter. And when additional resource adapters for a type are to be added, Teiid knows that it has to add the module first, before specifying the definitions. (this isn't really an issue, more of just being clear as to what's happening between designer and teiid)
- To use common CLI scripts, if multiple resource adapters are being setup for the same type, each needs to configure a separate resource adapter. And to use a common script, the add:module command needs to be used. Which means these can't be configured with the OOTH resource-adapters, because a duplicate exception is thrown, because one by that name already exists.
> Designer doesn't handle it when the default resource adapter isn't defined in the server
> ----------------------------------------------------------------------------------------
>
> Key: TEIIDDES-1895
> URL: https://issues.jboss.org/browse/TEIIDDES-1895
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Mark Drilling
> Priority: Critical
> Fix For: 8.3
>
>
> Description of problem:
> I commented out the resource-adapter elements in standalone.xml (so that there was only empty element <resource-adapters></resource-adapters> left).
> I run those teiid designer tests:
> - basic server management use cases (OK)
> - test which uses XML document as a data source - fails [1], whole teiid designer message [2]
> Lucie
> [1] "There was a problem deploying VDB "RecursiveVDB.vdb" to server "mm://localhost:9999::admin" -- and message "Data Source Type file does not exist on server mm://localhost:9999::admin"
> [2] java.lang.Exception: Data Source Type file does not exist on server mm://localhost:9999::admin (JBoss EAP 6.1)
> at org.teiid84.runtime.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:320)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:556)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:107)
> at org.teiid.designer.runtime.ui.vdb.VdbDeployer.deploy(VdbDeployer.java:239)
> at org.teiid.designer.runtime.ui.actions.DeployVdbAction$1.run(DeployVdbAction.java:286)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (TEIIDDES-1895) Designer doesn't handle it when the default resource adapter isn't defined in the server
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1895?page=com.atlassian.jira.plu... ]
Ramesh Reddy commented on TEIIDDES-1895:
----------------------------------------
It is based on the names. If two of them are added by the user of same type, then they are represented as two separate resource adapters. the only way user deletes is manually editing the standalone.xml, in that regard they delete much more than that make system render useless and we have no control over it.
> Designer doesn't handle it when the default resource adapter isn't defined in the server
> ----------------------------------------------------------------------------------------
>
> Key: TEIIDDES-1895
> URL: https://issues.jboss.org/browse/TEIIDDES-1895
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Mark Drilling
> Priority: Critical
> Fix For: 8.3
>
>
> Description of problem:
> I commented out the resource-adapter elements in standalone.xml (so that there was only empty element <resource-adapters></resource-adapters> left).
> I run those teiid designer tests:
> - basic server management use cases (OK)
> - test which uses XML document as a data source - fails [1], whole teiid designer message [2]
> Lucie
> [1] "There was a problem deploying VDB "RecursiveVDB.vdb" to server "mm://localhost:9999::admin" -- and message "Data Source Type file does not exist on server mm://localhost:9999::admin"
> [2] java.lang.Exception: Data Source Type file does not exist on server mm://localhost:9999::admin (JBoss EAP 6.1)
> at org.teiid84.runtime.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:320)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:556)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:107)
> at org.teiid.designer.runtime.ui.vdb.VdbDeployer.deploy(VdbDeployer.java:239)
> at org.teiid.designer.runtime.ui.actions.DeployVdbAction$1.run(DeployVdbAction.java:286)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (TEIIDDES-1895) Designer doesn't handle it when the default resource adapter isn't defined in the server
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1895?page=com.atlassian.jira.plu... ]
Van Halbert edited comment on TEIIDDES-1895 at 10/25/13 12:57 PM:
------------------------------------------------------------------
what will be returned when multiple (for 1 type) is defined in the configuration? Or is the types based on the name's, not the type, returned for display?
Also, can't guarantee the one's that are there will be there after the user deletes some and adds others.
was (Author: van.halbert):
what will be returned when multiple (for 1 type) is defined in the configuration? Or is the types based on the name's, not the type, returned for display?
> Designer doesn't handle it when the default resource adapter isn't defined in the server
> ----------------------------------------------------------------------------------------
>
> Key: TEIIDDES-1895
> URL: https://issues.jboss.org/browse/TEIIDDES-1895
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Mark Drilling
> Priority: Critical
> Fix For: 8.3
>
>
> Description of problem:
> I commented out the resource-adapter elements in standalone.xml (so that there was only empty element <resource-adapters></resource-adapters> left).
> I run those teiid designer tests:
> - basic server management use cases (OK)
> - test which uses XML document as a data source - fails [1], whole teiid designer message [2]
> Lucie
> [1] "There was a problem deploying VDB "RecursiveVDB.vdb" to server "mm://localhost:9999::admin" -- and message "Data Source Type file does not exist on server mm://localhost:9999::admin"
> [2] java.lang.Exception: Data Source Type file does not exist on server mm://localhost:9999::admin (JBoss EAP 6.1)
> at org.teiid84.runtime.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:320)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:556)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:107)
> at org.teiid.designer.runtime.ui.vdb.VdbDeployer.deploy(VdbDeployer.java:239)
> at org.teiid.designer.runtime.ui.actions.DeployVdbAction$1.run(DeployVdbAction.java:286)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months