Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: callout listener and external procedure issue
"Kempf, Reed" wrote:
>
> Hello gurus,
>
> I have written a plsql package which incorporates an external C procedure
> and therefore utilizes a callout listener and am having problems with the
> callout listener losing connection in the middle of my program
>
> Has anyone out there had any sort of similar problems using an external
> procedure and a callout listener and if so is there a patch or workaround
> for this.
>
> Here is my listener.ora file:
>
> # LISTENER.ORA Network Configuration File:
> /opt/oracle/product/8.1.7/network/admin/listener.ora
> # Generated by Oracle configuration tools.
>
> LISTENER_1 =
> (DESCRIPTION_LIST =
> (DESCRIPTION =
> (ADDRESS_LIST =
> (ADDRESS =
> (PROTOCOL = TCP)
> (HOST = weaklink)
> (PORT = 1521))
> )
> )
> )
>
> CALLOUT =
> (ADDRESS_LIST =
> (ADDRESS =
> (PROTOCOL=IPC)
> (KEY=EXTPROC)
> )
> )
>
> SID_LIST_LISTENER_1 =
> (SID_LIST =
> (SID_DESC =
> (SID_NAME = WEAKLINK)
> (ORACLE_HOME = /opt/oracle/product/8.1.7)
> )
> )
>
> SID_LIST_CALLOUT =
> (SID_LIST =
> (SID_DESC =
> (SID_NAME = CALLOUT)
> (ORACLE_HOME = /opt/oracle/product/8.1.7)
> (PROGRAM = /opt/oracle/product/8.1.7/bin/extproc)
> )
> )
>
> Reed
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Kempf, Reed
> INET: rkempf_at_rightnow.com
>
Reed,
Don't know how it works in your case but remember that external procedures are dynamically loaded. If you are using static variables, they may be reset anytime. The reason may be that your proc is flushed out of memory, then called back.
-- Regards, Stephane Faroult Oriole Corporation Voice: +44 (0) 7050-696-269 Fax: +44 (0) 7050-696-449 Performance Tools & Free Scripts -------------------------------------------------------------- http://www.oriole.com, designed by Oracle DBAs for Oracle DBAs -------------------------------------------------------------- -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stephane Faroult INET: sfaroult_at_oriole.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Jul 09 2001 - 17:15:13 CDT
![]() |
![]() |