[teiid-issues] [JBoss JIRA] (TEIID-2024) DataTierManager.could_not_obtain_connector_binding error says it can't find Connection Factory

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Wed May 2 14:15:17 EDT 2012


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

Steven Hawkins commented on TEIID-2024:
---------------------------------------

Looking at this more fully.  The vdb-deployer.xsd schema marks name as required and the parsing is validating, so you should have failed at deployment time.  I verified that locally as well.  

In 8.0 however we are no longer validating against the schema, so there is a possibility of allowing a null name.  Also our logic in both 7 and 8 does a later check to ensure that source names are unique, but that is useless since sources are stored on the model as a map and will already be unique.  We should be doing a uniqueness check as we add sources.

So the only way it looks like you could get to this error is if you had multiple source elements (with unique names) under the same model, but did not declare multi-source mode.  There again we should have an earlier exception.
                
> DataTierManager.could_not_obtain_connector_binding error says it can't find Connection Factory
> ----------------------------------------------------------------------------------------------
>
>                 Key: TEIID-2024
>                 URL: https://issues.jboss.org/browse/TEIID-2024
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 7.7.1
>            Reporter: Van Halbert
>            Assignee: Steven Hawkins
>            Priority: Minor
>
> Got this error: 
> [TeiidComponentException]Could not obtain connection factory for model EDG in VDB name= hotrod, version 1
> 	at org.teiid.dqp.internal.process.DataTierManagerImpl.createRequest(DataTierManagerImpl.java:569)
> 	at org.teiid.dqp.internal.process.DataTierManagerImpl.registerRequest(DataTierManagerImpl.java:183
> and looking at the code, it appears the source names defined for the model are null or empty.  I think the message is alluding to the wrong thing it can't find.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list