Extended Stored Procedures
392900Apr 21 2003 — edited Apr 23 2003Hi pros,
System - oracle 9i on HP-UX 11.22
I have written an extended stored procedure in the db, which points to a function in a shared library. That function tries to insert some data into the database.
In this scenario, I face two problems:
Issue #1.Without making an explicit oracle connection in the Shared library, it does not work.
This doe not make any sense to me. When I call the ESP from the SQL propmt, why should it ask for db connection again? I am sure I am wrong with something.
Issue #2.If I try to log something into a file from the shared library, the process aborts giving the following error:
ORA-28576: lost RPC connection to external procedure agent
Please throw some light in to these issues.
Thanks
Ganesh