[
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