Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2004
    Posts
    12

    Unanswered: Error enabling database for use with xml extender

    I am trying to run the getstart_prep.cmd to enable xml on the SALES_DB

    on the "/var/tmp/db2/ese/db2/solaris/db2xml81/reloc/IBM/db2/\$PRODVERS/bin/dxxadm
    enable_db SALES_DB" command I get the following error:

    SQL0444N Routine "*EnableDB" (specific name "SQL040218113955930") is
    implemented with code in library or path ".../sqllib/function/db2xml",
    function "dxxEnableDB" which cannot be accessed. Reason code: "4".
    SQLSTATE=42724
    DXXM001W A DB2 error occurred.
    DXXA065E Calling stored procedure "db2xml!dxxEnableDB" failed.


    I am using db2 v8.1 on solaris.

    Can anyone help me get around this error?

    Thanks,

    jb

  2. #2
    Join Date
    Apr 2003
    Posts
    191

    Re: Error enabling database for use with xml extender

    Hi,

    DB2 cannot find the library. Does it exist?

    Johann

    Originally posted by jborn
    I am trying to run the getstart_prep.cmd to enable xml on the SALES_DB

    on the "/var/tmp/db2/ese/db2/solaris/db2xml81/reloc/IBM/db2/\$PRODVERS/bin/dxxadm
    enable_db SALES_DB" command I get the following error:

    SQL0444N Routine "*EnableDB" (specific name "SQL040218113955930") is
    implemented with code in library or path ".../sqllib/function/db2xml",
    function "dxxEnableDB" which cannot be accessed. Reason code: "4".
    SQLSTATE=42724
    DXXM001W A DB2 error occurred.
    DXXA065E Calling stored procedure "db2xml!dxxEnableDB" failed.


    I am using db2 v8.1 on solaris.

    Can anyone help me get around this error?

    Thanks,

    jb

  3. #3
    Join Date
    Feb 2004
    Posts
    12

    Re: Error enabling database for use with xml extender

    Originally posted by jsander
    Hi,

    DB2 cannot find the library. Does it exist?

    Johann
    I am assuming the library in question is db2xml

    I do find four instances of db2xml on this box
    /var/tmp/db2/ese/db2/solaris/db2xml81/reloc/IBM/db2/$PRODVERS/db2xml
    /var/tmp/db2/ese/db2/solaris/db2xml81/reloc/IBM/db2/$PRODVERS/function/db2xml
    /var/tmp/db2/ese/db2/solaris/db2xml81/reloc/IBM/db2/$PRODVERS/samples/db2xml
    /var/tmp/db2/ese/db2/solaris/db2xmls81/reloc/IBM/db2/$PRODVERS/samples/db2xml

    None of those locations are under "/export/home/db2inst1/sqllib" which is where I am assuming the db2xml library file needs to be.

    can I just copy this library file to this location? Do I need to install an xml package?

    Thanks,

    jb

  4. #4
    Join Date
    Apr 2003
    Posts
    191

    Re: Error enabling database for use with xml extender

    Hi,

    I believe you have to install a bundle called XML Extender with UDB. Your instance owner db2inst1 has got an ~/sqllib/function directory, I am sure. If not, not even your instance would start.

    Johann

    Originally posted by jborn
    I am assuming the library in question is db2xml

    I do find four instances of db2xml on this box
    /var/tmp/db2/ese/db2/solaris/db2xml81/reloc/IBM/db2/$PRODVERS/db2xml
    /var/tmp/db2/ese/db2/solaris/db2xml81/reloc/IBM/db2/$PRODVERS/function/db2xml
    /var/tmp/db2/ese/db2/solaris/db2xml81/reloc/IBM/db2/$PRODVERS/samples/db2xml
    /var/tmp/db2/ese/db2/solaris/db2xmls81/reloc/IBM/db2/$PRODVERS/samples/db2xml

    None of those locations are under "/export/home/db2inst1/sqllib" which is where I am assuming the db2xml library file needs to be.

    can I just copy this library file to this location? Do I need to install an xml package?

    Thanks,

    jb

  5. #5
    Join Date
    Feb 2004
    Posts
    12

    Re: Error enabling database for use with xml extender

    Finally found the answer. Version 7.1 of the XML Extender was loaded
    on this unix box. The version of XML Extender that comes with 8.1 was
    not. I searched for the samples, found them, and attempted to run them.
    I kept getting strange errors because version 7.1 (32 bit) and 8.1
    (64 bit) did not play well together.

    The DBAs are now reinstalling DB2 with the XML Extenders, or just
    appling the XML Extender to the 8.1 database. This should get rid of
    all of my errors.

    Thanks Johann for pointing me in the right direction.

    jb

  6. #6
    Join Date
    Feb 2004
    Posts
    12

    Re: Error enabling database for use with xml extender

    The DBA's here are telling me that they installed 8.1 and checked a box during installation that should have installed XML Extender.

    Since XML Extender doesn't seem to be working they are theorizing that XML Extender is a 32 bit product, and we installed a 64 bit db.....

    My question is on Solaris is XML Extender only a 32 bit plugin?

    If it is, is it possibly to create an database instance that is 32 bit, giving me xml extender features, and another database instance that is 64 bit for all of my other needs?

    Thanks,

    jb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •