How to set a connection timeout to an oracle database
Issue
- How to set a connection timeout to an oracle JDBC connection
- How to set a login timeout to an oracle JDBC connection
- How to call
javax.sql.CommonDataSource#setLoginTimeout(int seconds)
via JBoss EAP datasource settings - it is taking too long for my connection request to fail
Environment
- Red Hat JBoss Data Virtualization (JDV)
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
- Oracle JDBC/Database
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.