[teiid-issues] [JBoss JIRA] (TEIID-3120) honor javax.sql.DataSource LoginTimeout

Steven Hawkins (JIRA) issues at jboss.org
Fri Sep 12 15:08:21 EDT 2014


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

Steven Hawkins commented on TEIID-3120:
---------------------------------------

This is slightly involved to implement as our connection logic is a series of calls and can involve failover.  It will probably take about a days effort to get something in.

> honor javax.sql.DataSource LoginTimeout
> ---------------------------------------
>
>                 Key: TEIID-3120
>                 URL: https://issues.jboss.org/browse/TEIID-3120
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: JDBC Driver
>    Affects Versions: 8.4.2
>            Reporter: Johnathon Lee
>            Assignee: Steven Hawkins
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the teiid-issues mailing list