Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2810

Teiid doesn't support empty string when defining the jndi reference in the VDB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 8.4.1
    • Server
    • None

      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

              rhn-engineering-shawkins Steven Hawkins
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: