ISAPI exception

hsteigstra

Member²
After developing a ISAPI in Delphi 5, & OmniHTTP, I get an exception when two sessions are requesting information simultaneously. The message is:
EAccessViolation Message: Access violation at address 039D7AA8 in module 'ORA805.DLL'. Read of address FFFFFFFF
This does not occur when only one page at a time is requested.
After meeting this error, Delphi produces a message after 60 sec.: ORA-12154: TNS could not resolve service name.
I use TWebModule and TPageProducer to handle the requests. Anyone has any suggestions?

Thanks, Herman Steigstra
 
Do the 2 requests use 2 separate TOracleSession instances?

------------------
Marco Kalter
Allround Automations
 
Yes they have separate forms. ISAPI automatically generates a new form for each session.
I have temporary solved this by adding a critical section that prevents the two sessions to login at the same time. Apparantly the logging in is the real problem
 
We'll apply this fix in 3.4.6. Apparently making a connection is not as thread-safe as Oracle thinks.

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