14.01.2015 Views

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Administrator<br />

)<br />

)<br />

SID_LIST_LISTENER =<br />

(SID_LIST =<br />

(SID_DESC =<br />

(SID_NAME = PLSExtProc)<br />

(ORACLE_HOME = C:\oracle\ora81)<br />

(PROGRAM = extproc)<br />

)<br />

)<br />

where the value of the KEY symbol may be<br />

different than EXTPROC, but must be the same as<br />

the value of the KEY symbol in the tnsnames.ora<br />

file. The same is true for the value of the<br />

SID_NAME symbol, but that it is always<br />

PLSExtProc.<br />

If this text file is changed, then the listener service<br />

must be restarted. Oracle 8 and 9 do not seem to<br />

use the ORACLE_HOME entry. Instead, Oracle<br />

uses the ORACLE_HOME entry in the Windows<br />

registry, and the ORACLE_HOME environment<br />

variable on UNIX systems. So, when the listener is<br />

started, then the ORACLE_HOME must point to<br />

the directory, where the Oracle server is installed.<br />

That usually reads, like<br />

/mount-directory/app/oracle/product/version<br />

If in doubt:<br />

1. Execute the statements in the same<br />

environment, where the listener is started:<br />

ORACLE_HOME = /mountdirectory/app/oracle/product/ver<br />

sion<br />

export ORACLE_HOME<br />

2. Start the listener with the command<br />

$ORACLE_HOME/bin/lsnrctl<br />

3. Check status, and stop/start it according to its<br />

status.<br />

tsnames.ora<br />

The tnsnames.ora file must have lines as follows:<br />

EXTPROC_CONNECTION_DATA.CAMSOFT.<br />

COM =<br />

(DESCRIPTION =<br />

(ADDRESS_LIST =<br />

(ADDRESS = (PROTOCOL = IPC)(KEY =<br />

EXTPROC))<br />

)<br />

(CONNECT_DATA =<br />

(SID = PLSExtProc)<br />

(PRESENTATION = RO)<br />

)<br />

)<br />

The value of KEY must be the same as the value of<br />

KEY in the listener.ora file, and the value of SID<br />

must be the same as the value of SID_NAME in the<br />

listener.ora file.<br />

ORA-06520 PL/SQL: Error<br />

loading external library<br />

If the communication with the extproc agent is<br />

operable the user still can be faced with the above<br />

error message.<br />

This happens if the extproc agent can not load the<br />

CsCartridge.dll or the CsCartridge.so into memory.<br />

The reason is either:<br />

• the CsCartridge library does not exist OR<br />

• some libraries it depends on do not exist.<br />

Dependencies<br />

The CsCartridge library depends on every platform<br />

on the existence of<br />

• OCI library. (extension may be .dll, .so, .sl)<br />

For a list of additional dependencies for specific<br />

operating systems, please see “” on page 263.<br />

200•CS Oracle Cartridge<br />

<strong>CambridgeSoft</strong><br />

Setup problems

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!