If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Error enabling database for use with xml extender

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-04, 13:57
jborn jborn is offline
Registered User
 
Join Date: Feb 2004
Posts: 12
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
Reply With Quote
  #2 (permalink)  
Old 02-19-04, 04:04
jsander jsander is offline
Registered User
 
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

Quote:
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
Reply With Quote
  #3 (permalink)  
Old 02-19-04, 10:05
jborn jborn is offline
Registered User
 
Join Date: Feb 2004
Posts: 12
Re: Error enabling database for use with xml extender

Quote:
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
Reply With Quote
  #4 (permalink)  
Old 02-19-04, 10:51
jsander jsander is offline
Registered User
 
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

Quote:
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
Reply With Quote
  #5 (permalink)  
Old 02-20-04, 15:41
jborn jborn is offline
Registered User
 
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
Reply With Quote
  #6 (permalink)  
Old 02-24-04, 09:47
jborn jborn is offline
Registered User
 
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On