Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: XML-SQL Utility Oracle 9i r2 on UNIX
You need to make sure that the XDB schema is installed. This gives you
access to all of the packages that you need.
The script to install this is in: $ORACLE_HOME/rdbms/admin/catqm.sql
Please don't run this script without reading the documentation first.
>From the docs on Metalink:
XDB SCHEMA INSTALL STEPS
UNIX: $ORACLE_HOME/rdbms/admin subdirectory WINDOWS: $ORACLE_HOME\rdbms\admin subdirectory
The catqm.sql script requires the following parameters be passed to it when run:
For Example:
SQL> set echo on SQL> spool xdb_install.log SQL>@?/rdbms/admin/catqm.sql XDB XDB TEMP
2. Reconnect to SYS again and run the following to load the XDB java library.
SQL> catxdbj.sql
NOTE: In order to load the XDB java libraries in catxdbj.sql, you must
first have a valid Java Virtual Machine installation in the DB (JVM)
and a valid XDK.
Also, make sure that the database is started with Oracle9i Release 2
(9.2.0) compatibility or higher for database version 9.2, 10.1.0.2 for 10g rel 2 , etc..
3. If the following line is not already apart of the database system parameters (init.ora/spfile).
SQL> select count(*) from dba_objects
where owner='XDB' and status='INVALID';
COUNT(*) ---------- 0
SQL> select comp_name, status, version from DBA_REGISTRY where comp_name='Oracle XML Database'
The results should indicate the correct version and patch in a valid status.
6. Restart database and listener to enable Oracle XML DB protocol access.
RELATED DOCUMENTS
XML Database online Documentation
(Personal Note): Make sure you don't have an application using port 8080 ans XDB listens on this port. If so, make sure you change this.
Roger Gorden
Senior DBA, Viewpoint Corp
Received on Tue Mar 08 2005 - 09:33:16 CST
![]() |
![]() |