Print Thread
oracle 11 client external exception incident
#38027 05/11/10 03:48 PM
Joined: Sep 2007
Posts: 8
Frankfurt am Main, Germany
C
Member
OP Offline
Member
C
Joined: Sep 2007
Posts: 8
Frankfurt am Main, Germany
last year i mentioned that there are problems with
oracle 11 client and doa.
since nobody could give me an idea what to do i kept
using oracle 11 client.

today i found a curious workaround...

my environment:
1 main process with 3x toraclesession
2-10 threads each with toraclesession and one query

problem: when ever the session in the threads started
i got an external exception and all oracle session even
in the main process crashed

workaround: i set the THREADSAFE property in all oraclesessions to TRUE and everything works fine.

question: i wonder if this brings my thread model back to
serial execution of all the oracle actions.
i wanted to use threads because i needed a non blocking
way to access oracle from different event controlled threads

and why does this not happen in oracle 10 client ?

help is absolutley appreciated !

cheers
claus reinhardt



Claus Reinhardt

Inforent GmbH
Stephanstrasse 3
60313 Frankfurt am Main
Germany
Re: oracle 11 client external exception incident
commander #38034 05/12/10 10:29 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
[quote]question: i wonder if this brings my thread model back to serial execution of all the oracle actions.[/quote]
Only database activities for the same session will be serialized. If multiple threads access the same TOracleSession instances, then ThreadSafe must be set to True.


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: 14 (0.009s) Memory: 2.4993 MB (Peak: 3.0405 MB) Data Comp: Off Server Time: 2024-05-16 14:15:32 UTC
Valid HTML 5 and Valid CSS