[
https://issues.jboss.org/browse/TEIID-4311?page=com.atlassian.jira.plugin...
]
Kylin Soong edited comment on TEIID-4311 at 7/1/16 5:53 AM:
------------------------------------------------------------
How to understand templateName in below method? is it a driver name or a exist Datasource
name?
{code}
public void createDataSource(String deploymentName, String templateName, Properties
properties) throws AdminException
{code}
From AdminFactory line 1208
{code}
// get JDBC properties
cliCall("read-resource-description", new String[] {"subsystem",
"datasources", "data-source", templateName}, null, builder);
{code}
It looks as a datasource name, but from AdminFactory line 469
{code}
Set<String> drivers = getInstalledJDBCDrivers();
if (!drivers.contains(templateName)) {
throw new AdminProcessingException(AdminPlugin.Event.TEIID70004,
AdminPlugin.Util.gs(AdminPlugin.Event.TEIID70004, templateName));
}
{code}
it should be the driver name.
was (Author: kylin):
How to understand templateName in below method? is it a driver name or a exist Datasource
name?
{code}
public void createDataSource(String deploymentName, String templateName, Properties
properties) throws AdminException
{code}
Teiid Admin Api not support to create XA datasource on Jboss server.
--------------------------------------------------------------------
Key: TEIID-4311
URL:
https://issues.jboss.org/browse/TEIID-4311
Project: Teiid
Issue Type: Bug
Components: AdminApi
Affects Versions: 8.13.x
Reporter: Prakash Jape
Assignee: Kylin Soong
Fix For: 9.1, 9.0.1
Teiid Admin api does not support or does not have capability to create XA datasource on
Jboss server.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)