Print Thread
Problem with ORA-24909 error on Oracle 10G
#7966 11/25/05 06:09 PM
Joined: Nov 1999
Posts: 108
Bod
Helene Offline OP
Member
OP Offline
Member
Joined: Nov 1999
Posts: 108
Bod
We have installed DOA 4.0.7.1, and are developing against an Oracle 10G database. The application frequently fails with an ORA-24909 error message. After this message we need to restart the application. In one case we have solved the problem - a TOracleQuery was executed repeatedly without closing the query before repeating. I added a line to close the query, and this solved the problem. However it still appears in other situations. Before the actual oracle error message occurs, delphi reports an access violation "<my.exe> raised too many consecutive exceptions: 'access violation at 0x00000000 : read of adress 0x00000000'"

On MetaLink the only mention of ORA-24909 is the following:
"
Error: ORA-24909 (ORA-24909)
Text: call in progress. Current operation cancelled
---------------------------------------------------------------------------
Cause: The OCI call was invoked when another call on the connection was
in progress.
Action: Check if the OCI call is supported when the call is in progress
under special conditions; for example, if it is being used by a
signal handler. NLS_DO_NOT_TRANSLATE [24910,24910]

"

Do you have any suggestion / recommendation for us? If we always close queries before reopening them, wouldn't that lead to decrease in performance?

With regards,
Helene B. Halvorsen

Re: Problem with ORA-24909 error on Oracle 10G
#7967 11/25/05 06:49 PM
Joined: Nov 1999
Posts: 108
Bod
Helene Offline OP
Member
OP Offline
Member
Joined: Nov 1999
Posts: 108
Bod
Some additional information: we currently use the setting Optimize=true for queries and datasets, and have not used the Session.Statementcache.

What would be your recommendation ? Is the statementcache the preferred strategy - and will this help us avoid the problem?

With regards,
Helene

Re: Problem with ORA-24909 error on Oracle 10G
#7968 11/25/05 08:08 PM
Joined: Aug 1999
Posts: 22,214
Member
Offline
Member
Joined: Aug 1999
Posts: 22,214
This seems to be an Oracle 10.2 Server bug. Currently the only workaround is to set TOracleQuery.Optimize to False.


Marco Kalter
Allround Automations
Re: Problem with ORA-24909 error on Oracle 10G
#7969 11/29/05 03:45 AM
Joined: Nov 1999
Posts: 108
Bod
Helene Offline OP
Member
OP Offline
Member
Joined: Nov 1999
Posts: 108
Bod
Should we set optimize to false for both TOracleQuery and TOracleDataset then?

With regards,
Helene

Re: Problem with ORA-24909 error on Oracle 10G
#7970 11/29/05 02:39 PM
Joined: Nov 1999
Posts: 108
Bod
Helene Offline OP
Member
OP Offline
Member
Joined: Nov 1999
Posts: 108
Bod
By the way, should we also NOT use the statementcache then? According to the documentation, the optimize property is overruled when setting the StatementCache property.

With regards,
Helene

Re: Problem with ORA-24909 error on Oracle 10G
#7971 11/29/05 09:33 PM
Joined: Aug 1999
Posts: 22,214
Member
Offline
Member
Joined: Aug 1999
Posts: 22,214
[quote]Should we set optimize to false for both TOracleQuery and TOracleDataset then?[/quote]Yes.
[quote]By the way, should we also NOT use the statementcache then?[/quote]That's difficult to say. We have not yet been able to reproduce the issue, but we know that setting Optimize to False works around it.


Marco Kalter
Allround Automations
Re: Problem with ORA-24909 error on Oracle 10G
#7972 05/08/06 07:37 AM
Joined: May 2006
Posts: 1
M
Member
Offline
Member
M
Joined: May 2006
Posts: 1
Hi all.

We are facing same problem. Do you know if there is a different solution up to date, a patch??

Regards

Re: Problem with ORA-24909 error on Oracle 10G
#7973 05/08/06 09:32 PM
Joined: Aug 1999
Posts: 22,214
Member
Offline
Member
Joined: Aug 1999
Posts: 22,214
I have heard that upgrading to Oracle Server 10.2.0.2 may fix this. Setting NoQueryOptimize (this is a global variable in the Oracle unit) to True also works around the problem.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.033s Queries: 13 (0.007s) Memory: 2.5306 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-05-09 12:59:58 UTC
Valid HTML 5 and Valid CSS