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

honor javax.sql.DataSource LoginTimeout

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 8.9
    • 8.4.2
    • JDBC Driver
    • None

    Description

      setLoginTimeout is currently not honored.

      Modify [1] to generate a reproducer. Use [2] in order to simulate an unresponsive Teiid instance.

      [1]
      https://github.com/teiid/teiid-quickstarts/tree/8.4.x/simpleclient

      add ds.setLoginTimeout(1) to JDBCClient.getDataSourceConnection

      [2]
      sudo iptables -I INPUT 1 -m state --state NEW -m tcp -p tcp --dport 31000 -j DROP

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            rhn-support-jolee Johnathon Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: