Chinaunix首页 | 论坛 | 博客
  • 博客访问: 463489
  • 博文数量: 97
  • 博客积分: 3396
  • 博客等级: 中校
  • 技术积分: 996
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-25 13:14
文章分类

全部博文(97)

文章存档

2014年(1)

2013年(2)

2012年(7)

2011年(13)

2010年(18)

2009年(7)

2007年(10)

2006年(39)

分类: DB2/Informix

2007-01-02 18:16:57

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) |
给主人留下些什么吧!~~