Hi,
I have a program which is refreshing it's data once per minute by a
select statement using an OracleDataSet from DOA tools v. 4.1.
The select is enclosed in an exception handling block.
In the majority of cases (e.g. session killed) the exception handling
works fine but under certain, unfortunately not reproducible
circumstances, the select statement will not come back and the complete
application freezes. Fortunately last time I noticed this happen I could
have virtually immediately a look at the database and saw that the
session had disappeared. In the log file written by the application the
last entry was 27.11.2007 16:16 (one line in code before the select
statement as expected).
I didn't kill the application and amazingly I found a second log entry
about two hours later (27.11.2007 18:17 ORA-03113: end-of-file on
communication channel) from within the exception handling.
It seems as if something happened on the client side after tis time.
So my questions are:
1. What could cause the standstill of the select statement (as I
wrote before I can't reproduce it, killing the session or pulling the
network cable always results in an exception)
2. How can I handle this? Can I give some kind of time out to the
session or the dataset?
Best regards
Martin
I have a program which is refreshing it's data once per minute by a
select statement using an OracleDataSet from DOA tools v. 4.1.
The select is enclosed in an exception handling block.
In the majority of cases (e.g. session killed) the exception handling
works fine but under certain, unfortunately not reproducible
circumstances, the select statement will not come back and the complete
application freezes. Fortunately last time I noticed this happen I could
have virtually immediately a look at the database and saw that the
session had disappeared. In the log file written by the application the
last entry was 27.11.2007 16:16 (one line in code before the select
statement as expected).
I didn't kill the application and amazingly I found a second log entry
about two hours later (27.11.2007 18:17 ORA-03113: end-of-file on
communication channel) from within the exception handling.
It seems as if something happened on the client side after tis time.
So my questions are:
1. What could cause the standstill of the select statement (as I
wrote before I can't reproduce it, killing the session or pulling the
network cable always results in an exception)
2. How can I handle this? Can I give some kind of time out to the
session or the dataset?
Best regards
Martin