[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1122) attempting to getTemplatePropertyDefinitions() for the DefaultDS or JMSDS are throwing Admin AdminComponentException exceptions. They need to get filtered out on API calls for Data Source info.
Ramesh Reddy (JIRA)
jira-events at lists.jboss.org
Thu Jun 17 14:48:19 EDT 2010
[ https://jira.jboss.org/browse/TEIID-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramesh Reddy resolved TEIID-1122.
---------------------------------
Resolution: Rejected
The data source name != template name
The API method is being wrongly used.
> attempting to getTemplatePropertyDefinitions() for the DefaultDS or JMSDS are throwing Admin AdminComponentException exceptions. They need to get filtered out on API calls for Data Source info.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIID-1122
> URL: https://jira.jboss.org/browse/TEIID-1122
> Project: Teiid
> Issue Type: Bug
> Components: AdminApi
> Affects Versions: 7.0
> Reporter: Barry LaFond
> Assignee: Ramesh Reddy
> Fix For: 7.0
>
>
> Attempting to get Property definitions for ALL names from getDataSourceNames() call, but exceptions occur because the "Default" Data sources don't have templates?
> Need to filter the DefaultDS and maybe the JMS Data Source from the API calls.
> Caused by: [AdminComponentException]Failed to find template for: translator-DefaultDS
> [IllegalStateException]Failed to find template for: translator-DefaultDS
> at org.teiid.adminapi.jboss.Admin.getTemplatePropertyDefinitions(Admin.java:454)
> at sun.reflect.GeneratedMethodAccessor339.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.teiid.logging.LogManager$LoggingProxy.invoke(LogManager.java:121)
> at org.teiid.jboss.deployers.RuntimeEngineDeployer$1.invoke(RuntimeEngineDeployer.java:185)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list