[teiid-issues] [JBoss JIRA] (TEIID-2712) AdminAPI getDataSourceNames is returning the pool name instead of jndi name

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Fri Oct 25 14:15:02 EDT 2013


    [ https://issues.jboss.org/browse/TEIID-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12825112#comment-12825112 ] 

Ramesh Reddy commented on TEIID-2712:
-------------------------------------

Upon further investigation into code, the current code as designed is correct. The issue is 

Data Source Name != JNDI Name

to Obtain a JNDI name, the client needs to do 

{code}
Properties p = getDataSource(name);
String jndiName = p.getProperty("jndi-name");
{code}
                
> AdminAPI getDataSourceNames is returning the pool name instead of jndi name
> ---------------------------------------------------------------------------
>
>                 Key: TEIID-2712
>                 URL: https://issues.jboss.org/browse/TEIID-2712
>             Project: Teiid
>          Issue Type: Bug
>          Components: AdminApi
>    Affects Versions: 8.4
>            Reporter: Mark Drilling
>            Assignee: Ramesh Reddy
>             Fix For: 8.4.1, 8.6
>
>
> See related designer jira.  The api call is returning the pool names.

--
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


More information about the teiid-issues mailing list