[teiid-issues] [JBoss JIRA] (TEIID-2810) Teiid doesn't support empty string when defining the jndi reference in the VDB

Van Halbert (JIRA) issues at jboss.org
Tue Jan 21 09:14:28 EST 2014


Van Halbert created TEIID-2810:
----------------------------------

             Summary: Teiid doesn't support empty string when defining the jndi reference in the VDB
                 Key: TEIID-2810
                 URL: https://issues.jboss.org/browse/TEIID-2810
             Project: Teiid
          Issue Type: Bug
          Components: Server
    Affects Versions: 8.4.1
            Reporter: Van Halbert
            Assignee: Steven Hawkins


Teiid doesn't like when the jndi reference in the VDB is set to an empty space (example:  connection-jndi-name="").   If I change it to " " (with space) its ok.

This was also verified in Designer when setting the jndi name.

The following warning is seen on the server:

08:04:19,487 WARN  [org.teiid.RUNTIME] (MSC service thread 1-15) TEIID50099 Invalid JNDI name "" specified in VDB Yahoo 1: org.teiid.jboss.TeiidServiceNames$InvalidServiceNameException: TEIID50099 Invalid JNDI name "" specified in VDB Yahoo 1
	at org.teiid.jboss.TeiidServiceNames.dsListenerServiceName(TeiidServiceNames.java:96)

but this will produce the following error message to the client when a query is executed:

SELECT * FROM "YahooStocksXML_View"."YahooStocksXMLView"
org.teiid.jdbc.TeiidSQLException: TEIID30504 YahooStocksXML_Source: org.jboss.as.naming.NamingContext is was not a ConnectionFactory implementation


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