Hi
I am running a multi threaded application (client mode), and keep getting an oracle error ORA-24337.
Any idea anyone?
ORA-24337: statement handle not prepared
--completion from the previous post--
It's an application that processes requests (TCP/IP). For every requests creates a thread that acquire a connection (TOraSession component).
ThreadSafety is set to true, but still we get ORA-24337: statement handle not prepared after a few (approx 5-6) connections are created
ThreadSafety should guarantee OCI (client mode) calls thread safe, right?
Any ideas, please?
It's an application that processes requests (TCP/IP). For every requests creates a thread that acquire a connection (TOraSession component).
ThreadSafety is set to true, but still we get ORA-24337: statement handle not prepared after a few (approx 5-6) connections are created
ThreadSafety should guarantee OCI (client mode) calls thread safe, right?
Any ideas, please?
Problem solved
it seems that all queries which are not connected to a session are using the first session that was opened, and we freed that session by mistake.
We added a dummy session that will be the first session in the program, and is not freed while program is running.
We added a dummy session that will be the first session in the program, and is not freed while program is running.
-
Challenger
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53