Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

handle Oracle ERROR ORA-12170: TNS:Connect timeout occurred

shahrokhJun 2 2013 — edited Jun 2 2013
Hello dear all

We have a server that is responsible to collect data from some clients. In each of these devices we have installed Oracle 11.2g and they are connected via DB-link. There is a stored procedure that test the connection before do anything by executing command (+select count(*) from dual@db_link1+). In situations that one of clients can not be accessed, this ORA-12170 error occurred and the SP will be terminated. Now i want to prevent this happening and want sp skip this client and connect another one. I wonder if there is an exception raised by this fatal error and we can handle it.

Thank you
This post has been answered by JohnWatson on Jun 2 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2013
Added on Jun 2 2013
4 comments
849 views