Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> calling external procedure

calling external procedure

From: Matt <m_at_m.net>
Date: Wed, 29 Oct 2003 00:57:27 GMT
Message-ID: <XfEnb.87814$3f.32684@twister01.bloor.is.net.cable.rogers.com>


Hi all,
my env: ocracle 9.2.0.3/linux/gcc2.96
My oci app's ocistmtexecute() always gets above err(desp: ORA-00023 session references process private memory; cannot detach session Cause: An attempt was made to detach the current session when it contains references to process private memory.
Action: A session may contain references to process memory (PGA) if it has an open network connection, a very large context area, or operating system privileges. To allow the detach, it may be necessary to close the session's database links and/or cursors. Detaching a session with operating system privileges is always disallowed)
while calling an external procedure(C code) from a pl/sql annoymous block like this:
begin :return:=extpack.testextproc(...); end; The ext procedure is built with "-shared -fPIC". Same app yet ocistmtexecute() without calling ext proc has no problems.

Any clues?

Many thanks

-matt Received on Tue Oct 28 2003 - 18:57:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US