[jboss-jira] [JBoss JIRA] Commented: (JBAS-7068) Wrong timeout-valiue in OracleValidConnectionChecker

Robert Dale (JIRA) jira-events at lists.jboss.org
Mon Jul 20 14:23:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBAS-7068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12476901#action_12476901 ] 

Robert Dale commented on JBAS-7068:
-----------------------------------

up until 10.2.0.5 and 11g drivers, this timeout was ignored.  However, now the timeout is accepted (and for some reason the method has been deprecated).  The code does Thread.join(timeout * 1000).

> Wrong timeout-valiue in OracleValidConnectionChecker
> ----------------------------------------------------
>
>                 Key: JBAS-7068
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7068
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JCA service
>    Affects Versions: JBossAS-5.1.0.GA
>            Reporter: Christian Daszenies
>            Assignee: Jesper Pedersen
>
> OracleValidConnectionChecker calls 
> oracle.jdbc.driver.OracleConnection.pingDatabase(5000) - 5000 is used as timeout in seconds! by pingDatabase
> furthermore it would be nice if the timeout would be configurable (or at least easy to override)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list