capturing ORA-02396 in forms [message #168001] |
Tue, 18 April 2006 06:05 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
nirmalnarayan
Messages: 261 Registered: April 2005 Location: India
|
Senior Member |
|
|
In the Database side the DBA’s are setting a 20 mintues timeout.
In the application on the Form we need to capture the error message ORA-02396 and display the display the message as shown below:
ORA-02396: exceeded maximum idle time, please connect again
How is that possible to capture this error in the application on the Forms.
Any one have any idea.
Nirmal
|
|
|
|
Re: capturing ORA-02396 in forms [message #168013 is a reply to message #168009] |
Tue, 18 April 2006 07:00 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
nirmalnarayan
Messages: 261 Registered: April 2005 Location: India
|
Senior Member |
|
|
Sorry, the question is 'How to capture this', this error happens on the database side when the idle time exceeds,
if i try to capture it in the on-error, it will capture this only when a error happens on the forms right ?, or will it fire as soon as the idle time error fires at the database side, the question is how to invoke it in the form level, so that the on-error can check for this error ?
Thanks
Nirmal
|
|
|
|
|
|
|
|
Re: capturing ORA-02396 in forms [message #168174 is a reply to message #168170] |
Wed, 19 April 2006 03:27 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/67467.jpg) |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
I wonder if that Metalink document is for Forms 10g on 10g AS and DB? I know it didn't work for 9iR2 Forms on 9iR2 AS because the stupid AS didn't receive the signal from the 9iR2 DB. We could time out the AS but the DB process wouldn't stop.
David
|
|
|