sometimes ORA-12154 in a COM+ Application

VanRoie

Member
Sir,

We have a Com+ application
DOA 3.4.5. and Oracle 8.1.6
Windows 2000 advanced server running on a bi-processor PC

After a certain time, we got a ORA-12154 (TNS name not resolved) when connecting to the Database and just after a oranl8.dll access violation.

We have developped our own 'Database object pooling' system. TOracleSession and TOracleDataSet are reused on the 'Thread neutral' model

Is there any known issues regarding multithreading, Thread neutral ?

Thanks
Dominique
 
Perhaps you can try to use a global TCriticalSection for the Logon/Logoff procedures? This way you can make sure that sessions are not (dis)connected simultaneously. It seems that this can sometimes cause problems, so we will implement this in 3.4.6.

------------------
Marco Kalter
Allround Automations
 
Back
Top