Does inactivity of a database handle causes it to get disconnected ??
mailarunpandey_at_gmail.com
Date: 12/22/04
- Previous message: Tim Bunce: "Re: Oracle 10g, Stored Procedures and Perl's Internal UTF8 Flag"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Dec 2004 09:08:18 -0800
Hi guys,
I am not very sure whether i should post it in an Oracle group or here
. Please excuse me for that !!
here goes the issue.
I have a perl script which creates 2 database handles (oracle)
connecting to separate database instances . The first database handle
does quite some work (say about 30 seconds) before the second database
handle is first used. At this point i get the dreaded error :
ORA-03113: end-of-file on communication channel (DBD ERROR:
OCIStmtExecute/Describe)
the script might something like
my $dbh1 = DBI->Connect (....)
my $dbh2 = DBI->Connect (....)
...........
...........
processing on $dbh1
............
...........
$dbh2->prepare(...) <-------- this is where i get the error
now my query is :-
what exactly could be the reason behind this ?.. The inactivity of
$dbh2 causes DBI to close it or is the oracle server is smart enough
to disconnect an idle session or something else ??
Please Advise
Thanks in advance!!
Arun
- Previous message: Tim Bunce: "Re: Oracle 10g, Stored Procedures and Perl's Internal UTF8 Flag"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|