![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Mar 2006
Posts: 40
Rep Power: 0
![]() |
setLoginTimeout for Oracle connection
I'm trying to write a program that will check the online/offline status of several hundred databses. The problem is, when one of them happens to be offline he hangs the process when attempting to login to that particular offline database.
What I need is a timer that will specify a certain interval to attempt the login and if it doesn't connect in say, 10 seconds, I need it to flag the database as offline and continue down the list. I had thought inserting DriverManager.setLoginTimeout(10); would work... but apparently the setLoginTimeout() is not even supported by Oracle. Do you guys any suggestions for a work around? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with sql connection | ghg5 | C# | 1 | May 19th, 2008 2:00 PM |
| Need to figure out the best way to confirm a VNC connection... | diablo75 | Visual Basic .NET | 8 | Nov 4th, 2007 10:27 PM |
| SMTPlib - Connection reset by peer | Sane | Python | 2 | Jun 20th, 2006 5:40 PM |
| Connection Pooling | java_roshan | Other Web Development Languages | 2 | Nov 28th, 2005 3:24 PM |
| connection reset by peer / bad file descriptor | opcis | Perl | 0 | Feb 10th, 2005 3:29 AM |