AIX Loader Domains
------------------
If multiple shared libraries are loaded onto two VPs, one of which is
a Java VP, and the libraries are not loaded in the same order on each
VP, executing a function from the libraries can cause the IBM Informix
Dynamic Server to core dump with the following message in online.log:
09:35:58 Assert Failed: Exception Caught. Type: MT_EX_OS, Context: ill
09:35:58 Who: Session(15, informix@ibms70, 46918, 1075033896)
Thread(41, sqlexec, 4010c7d8, 3)
File: mtex.c Line: 372
09:35:58 Action: Please notify Informix Technical Support.
You would typically encounter this error if your application is using
both C UDRs and Java UDRs.
To resolve this problem, the AIX loader domains concept is used. The
loader domain provides a means of loading shared libraries at the same
virtual address in a set of processes. The loader domain file is
created during the installation of the IBM Informix Dynamic Server.
This is installed as "/var/adm/ifx_loader_domain".
IBM Informix Dynamic Server with J/Foundation on AIX requires the
loader domain file "/var/adm/ifx_loader_domain" to exist at all times.
If the file does not exist, create it as superuser using the following
commands:
touch /var/adm/ifx_loader_domain
chgrp informix /var/adm/ifx_loader_domain
chmod 660 /var/adm/ifx_loader_domain
If you have LIBPATH environment variable set before bringing up IBM
Informix Dynamic Server with J/Foundation, you should have either of
the following settings:
a. You should have path to loader domain file as the first item
before libraries list in "LIBPATH" environment variable. e.g:
export LIBPATH=/var/adm/ifx_loader_domain:$LIBPATH
b. Set environment variable "LDR_CNTRL" before bringing up the Server
export LDR_CNTRL=LOADPUBLIC
Machines running on AIX 5.1, will need the following patch for loader domain to work:
APAR number IY24042
阅读(2482) | 评论(0) | 转发(0) |