XML DATABASE INSTALLATION

i am installing xml database on live server with following step:-
created tablespace
create tablespace XDB datafile '/umsdata03/umsdb/datafile/ums_data_xdb01.dbf' size 1G;
executing script
@?/rdbms/admin/catqm.sql xdb123 XDB UMS_AUTOALLOC_TEMP
but the script follow with error:-
and pls suggest how to deal with port issue of xml installation
SQL> create tablespace XDB datafile '/umsdata03/umsdb/datafile/ums_data_xdb01.dbf' size 1G;
Tablespace created.
SQL> SQL>
SQL>
SQL>
SQL> @?/rdbms/admin/catqm.sql xdb123 XDB UMS_AUTOALLOC_TEMP
CREATE TABLE sys.xdb_installation_tab (
ERROR at line 1:
ORA-00955: name is already used by an existing object
CREATE TABLE sys.dropped_xdb_instll_tab (
ERROR at line 1:
ORA-00955: name is already used by an existing object
DROP ON DATABASE
ERROR at line 3:
ORA-00604: error occurred at recursive SQL level 1
ORA-20000: Trigger xdb_installation_trigger does not support object creation of
type TRIGGER
ORA-06512: at line 32
Trigger created.
System altered.
System altered.
System altered.
System altered.
old 23: where tablespace_name = upper('&res_tbs');
new 23: where tablespace_name = upper('XDB');
old 29: where tablespace_name = upper('&temp_tbs');
new 29: where tablespace_name = upper('UMS_AUTOALLOC_TEMP');
old 47: raise_application_error(-20001, 'Compressed tablespace &res_tbs' ||
new 47: raise_application_error(-20001, 'Compressed tablespace XDB' ||
old 51: '&temp_tbs cannot be used');
new 51: 'UMS_AUTOALLOC_TEMP cannot be used');
PL/SQL procedure successfully completed.
old 1: create user xdb identified by &xdb_pass account lock password expire
new 1: create user xdb identified by xdb123 account lock password expire
old 2: default tablespace &res_tbs temporary tablespace &temp_tbs
new 2: default tablespace XDB temporary tablespace UMS_AUTOALLOC_TEMP
User created.
PL/SQL procedure successfully completed.
old 1: create user anonymous identified by values 'anonymous' default tablespace &res_tbs
new 1: create user anonymous identified by values 'anonymous' default tablespace XDB
create user anonymous identified by values 'anonymous' default tablespace XDB
ERROR at line 1:
ORA-01920: user name 'ANONYMOUS' conflicts with another user or role name
Grant succeeded.
User altered.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
CREATE role xdbadmin
ERROR at line 1:
ORA-01921: role name 'XDBADMIN' conflicts with another user or role name
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Session altered.
Table created.
Table created.
Index created.
Type created.
Table created.
Index created.
Type created.
Type created.
Type created.
Synonym created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Index created.
Index created.
Index created.
Table analyzed.
Sequence created.
Sequence created.
Grant succeeded.
Library created.
Function created.
Package created.
No errors.
Package body created.
No errors.
Procedure created.
Function created.
Grant succeeded.
Grant succeeded.
PL/SQL procedure successfully completed.
Type created.
Type created.
Type created.
Type created.
Type created.
Grant succeeded.
Type created.
Grant succeeded.
Table created.
Table altered.
Table altered.
Index created.
Table created.
Index created.
Index created.
Index created.
Package created.
No errors.
Package body created.
No errors.
PL/SQL procedure successfully completed.
Session altered.
Package created.
No errors.
Synonym created.
Grant succeeded.
Package created.
Synonym created.
Grant succeeded.
No errors.
Type created.
No errors.
Grant succeeded.
Package created.
No errors.
Synonym created.
Grant succeeded.
No errors.
drop type xdb.xdbpi_im
ERROR at line 1:
ORA-04043: object XDBPI_IM does not exist
drop table xdb.xdb$path_index_params
ERROR at line 1:
ORA-00942: table or view does not exist
Library created.
Table created.
Package created.
Grant succeeded.
No errors.
Type created.
No errors.
Type body created.
No errors.
Grant succeeded.
Package created.
Package body created.
Package created.
No errors.
Grant succeeded.
Package created.
Synonym created.
No errors.
Grant succeeded.
Library created.
Procedure created.
No errors.
Grant succeeded.
Function created.
No errors.
Grant succeeded.
Warning: Package Body created with compilation errors.
No errors.
Grant succeeded.
No errors.
Trigger created.
No errors.
Package body created.
Package created.
No errors.
Synonym created.
Synonym created.
Synonym created.
Grant succeeded.
Grant succeeded.
No errors.
Package created.
No errors.
Synonym created.
Synonym created.
Synonym created.
Grant succeeded.
Grant succeeded.
No errors.
Package created.
No errors.
Package created.
Synonym created.
Synonym created.
Synonym created.
Grant succeeded.
Grant succeeded.
Grant succeeded.
No errors.
Grant succeeded.
Library created.
Package body created.
No errors.
Library created.
Warning: Package Body created with compilation errors.
No errors.
Synonym created.
Grant succeeded.
No errors.
Library created.
Warning: Package Body created with compilation errors.
No errors.
Warning: Package Body created with compilation errors.
Synonym created.
Grant succeeded.
No errors.
Grant succeeded.
Library created.
Function created.
Grant succeeded.
Synonym created.
Procedure created.
No errors.
Grant succeeded.
Grant succeeded.
Function created.
No errors.
Grant succeeded.
Function created.
Grant succeeded.
Grant succeeded.
Package body created.
No errors.
Warning: Package Body created with compilation errors.
No errors.
Synonym created.
Grant succeeded.
No errors.
PL/SQL procedure successfully completed.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
Commit complete.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Package created.
No errors.
Grant succeeded.
Package body created.
Package body created.
No errors.
Procedure created.
No errors.
Procedure created.
No errors.
drop view xdb.xdb$resource_view
ERROR at line 1:
ORA-00942: table or view does not exist
drop view xdb.xdb$rv
ERROR at line 1:
ORA-00942: table or view does not exist
PL/SQL procedure successfully completed.
drop indextype xdb.xdbhi_idxtyp force
ERROR at line 1:
ORA-29833: indextype does not exist
drop operator xdb.path force
ERROR at line 1:
ORA-29807: specified operator does not exist
drop operator xdb.depth force
ERROR at line 1:
ORA-29807: specified operator does not exist
drop operator xdb.abspath force
ERROR at line 1:
ORA-29807: specified operator does not exist
drop operator xdb.under_path force
ERROR at line 1:
ORA-29807: specified operator does not exist
drop operator xdb.equals_path force
ERROR at line 1:
ORA-29807: specified operator does not exist
drop package xdb.xdb_ancop
ERROR at line 1:
ORA-04043: object XDB_ANCOP does not exist
drop package xdb.xdb_funcimpl
ERROR at line 1:
ORA-04043: object XDB_FUNCIMPL does not exist
drop type xdb.xdbhi_im
ERROR at line 1:
ORA-04043: object XDBHI_IM does not exist
drop type xdb.path_array
ERROR at line 1:
ORA-04043: object PATH_ARRAY does not exist
Library created.
Library created.
Type created.
Type created.
No errors.
Grant succeeded.
Grant succeeded.
Type created.
No errors.
Type body created.
No errors.
Grant succeeded.
Package created.
No errors.
Grant succeeded.
Package created.
No errors.
Grant succeeded.
Type altered.
Operator created.
Operator created.
Grant succeeded.
Grant succeeded.
Synonym created.
Synonym created.
Operator created.
Operator created.
Operator created.
Grant succeeded.
Synonym created.
Grant succeeded.
Synonym created.
Grant succeeded.
Synonym created.
Indextype created.
Grant succeeded.
Index created.
View created.
No errors.
Synonym created.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Package created.
No errors.
Synonym created.
Grant succeeded.
Trigger created.
No errors.
Package body created.
No errors.
Function created.
No errors.
Grant succeeded.
Synonym created.
Function created.
No errors.
Package body created.
No errors.
Package body created.
No errors.
Package body created.
No errors.
Package body created.
BEGIN
ERROR at line 1:
ORA-04063: package body "XDB.DBMS_XDBZ0" has errors
ORA-06508: PL/SQL: could not find program unit being called: "XDB.DBMS_XDBZ0"
ORA-06512: at "XDB.DBMS_XDBZ", line 7
ORA-06512: at line 2
declare
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errors
ORA-06512: at "XDB.XDB$PATCHUPSCHEMA", line 98
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
ORA-06512: at line 143
BEGIN
ERROR at line 1:
ORA-04063: package body "XDB.DBMS_XDBZ0" has errors
ORA-06508: PL/SQL: could not find program unit being called: "XDB.DBMS_XDBZ0"
ORA-06512: at "XDB.DBMS_XDBZ", line 14
ORA-06512: at line 2
DECLARE
ERROR at line 1:
ORA-31114: XDB configuration has been deleted or is corrupted
ORA-06512: at "XDB.DBMS_XDB", line 73
ORA-06512: at line 96
declare
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at line 5
Commit complete.
call xdb.dbms_xdbz0.initXDBSecurity()
ERROR at line 1:
ORA-04063: package body "XDB.DBMS_XDBZ0" has errors
BEGIN
ERROR at line 1:
ORA-04063: package body "XDB.DBMS_XDBZ0" has errors
ORA-06508: PL/SQL: could not find program unit being called: "XDB.DBMS_XDBZ0"
ORA-06512: at "XDB.DBMS_XDBZ", line 7
ORA-06512: at line 2
Commit complete.
grant all on XDB.XDB$ACL to public
ERROR at line 1:
ORA-00942: table or view does not exist
Commit complete.
declare
ERROR at line 1:
ORA-31000: Resource 'http://xmlns.oracle.com/xdb/acl.xsd' is not an XDB schema
document
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
ORA-06512: at line 63
declare
ERROR at line 1:
ORA-03113: end-of-file on communication channel
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
No errors.
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
No errors.
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
No errors.
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:

Refer MOS note 243554.1 for reinstallation of XDB.

Similar Messages

  • XML Database in Apps Databases

    Hi,
    What is the use of XML database in Apps Databases...it has XML Schema...etc etc..what purpose is that...

    If you are using XMLTYPE in stored procedures,
    views, functions, columns or tables you need the XDB
    feature in order for the base XMLTYPE to have
    complete functionality of it's member functions.
    This means if you were directed to remove XDB for
    some other reason you must follow the steps to put
    it back in if you want to use the XMLTYPE. You will
    also require it if you are using any of the standard
    pl/sql apis such as DBMS_XMLDOM and DBMS_XMLQUERY
    to name a couple.Yes, this is from the first note. If you check the other one, you would also find that Oracle XML Database has to be installed correctly (Oracle 10g Release 2 and above) in order to have a successful interMedia installation. For getting more details about "Oracle interMedia", check the the same note (Question 1).

  • "Oracle xml Database" INVALID

    Hi,
    when i executed the following query:
    SELECT COMP_NAME, STATUS
    FROM DBA_SERVER_REGISTRY;
    i got all the objects status as VALID except that
    "ORACLE XML Database" was INVALID
    Can someone help me to make this "ORACLE XML Database" as VALID.
    Thanks,
    Philip.

    HI Frank,
    now what i did was i actually ran catpatch.sql and utlrp.sql after i did startup migrate.
    and when i did
    SELECT COMP_NAME, STATUS
    FROM DBA_SERVER_REGISTRY;
    i got all objects as valid, but i dont see "Oracle XML Database" anymore.
    so now i suppose i cannot reinstall, but actually do a fresh install. and the following are the steps for a fresh install in the documentation
    Installing a New Oracle XML DB Manually Without Database Configuration Assistant
    After the database installation, you must run the following SQL scripts in rdbms/admin connecting to SYS to install Oracle XML DB after creating a new tablespace for Oracle XML DB repository. Here is the syntax for this:
    catqm.sql <XDB_password> <XDB_TS_NAME> <TEMP_TS_NAME>
    #Create the tables and views needed to run XML DB
    For example:
    catqm.sql change_on_install XDB TEMP
    Reconnect to SYS again and run the following:
    catxdbj.sql #Load xdb java library
    Note:
    Make sure that the database is started with Oracle9i release 2 (9.2.0) compatibility or higher, and Java Virtual Machine (JVM) is installed.
    Postinstallation
    After the manual installation, carry out these tasks:
    1.     Add the following dispatcher entry to the init.ora file:
    dispatchers="(PROTOCOL=TCP) (SERVICE=<sid>XDB)"
    2.     Restart the database and listener to enable Oracle XML DB protocol access.
    3.     To allow for unauthenticated access to your Oracle XML DB repository data through HTTP, you must also unlock the ANONYMOUS user account.
    is this right. can u tell me what i should do please.
    Thanks,
    Philip.

  • Problem Oracle 10g database Installation on Windows 2003 Server

    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad Shoaib

    898118 wrote:
    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad ShoaibOracle really doesn't like to be installed into directories with spaces in their names.

  • Xml data into non-xml database.. solution anyone?

    Hi,
    My current project requires me to store the client's data on our servers. We're using Oracle9i. Daily, I will download the client's data for that day and load it into our database. My problem is that the data file is not a flat file so I can't use sql*loader to load the data. Instead, the data file is an xml file. What is the best way to load xml data into a non-xml database? Are there any tools similar to sql*Loader that will load xml data into non-xml database? Is it the best solution for the client to give me an XML dump of their data to load into our database, or should I request a flat file? My last resort would be to write some sort of a script to parse the xml data into a flat file, and then run it through sql*loader. Is this the best solution? One thing to note is that these files could be very large.
    Thanks in advance.
    -PV

    I assume that just putting the XML file into an
    extremely large VARCHAR field is not what you want.
    Instead, you want to extract data elements from the
    XML and write them to columns in a table in your
    database. Right?Yes. Your assumption is correct.
    It sounds like you already have a script that loads a
    flat file into your database. In that case I would
    write an XSL transformation that converts the client's
    XML into a correctly-formatted flat file.Thank you. I'll look into that. Other suggestions are welcome.

  • 10g database installation in windows2003

    Following error found in the insallation of 10g database installation in Windows 2003.
    Kindly give me the solutions in [email protected]
    Thaning you
    Mohan, Milma, Tvm.Kerala India.
    Error list from Oracle configuration assistant
    Output generated from configuration assistant "Oracle Net Configuration Assistant":
    Parsing command line arguments:
    Parameter "orahome" = E:\oracle\ora10g
    Parameter "orahnam" = OraDb10g_home1
    Parameter "instype" = typical
    Parameter "inscomp" = client,oraclenet,javavm,server,ano
    Parameter "insprtcl" = tcp,nmp
    Parameter "cfg" = local
    Parameter "authadp" = NO_VALUE
    Parameter "nodeinfo" = NO_VALUE
    Parameter "responsefile" = E:\oracle\ora10g\network\install\netca_typ.rsp
    Done parsing command line arguments.
    Oracle Net Services Configuration:
    Profile configuration complete.
    Oracle Net Listener Startup:
    Running Listener Control:
    E:\oracle\ora10g\bin\lsnrctl start LISTENER
    Listener Control complete.
    Listener started successfully.
    Setting Listener service to start automatically.
    Listener configuration complete.
    Default local naming configuration complete.
    Oracle Net Services configuration successful. The exit code is 0
    Configuration assistant "Oracle Net Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "iSQL*Plus Configuration Assistant":
    iSQL*Plus 10.1.0.2.0
    Copyright (c) 2004 Oracle. All rights reserved.
    Starting iSQL*Plus ...
    iSQL*Plus started.
    Configuration assistant "iSQL*Plus Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant":
    java.io.IOException:
    Instance created.
    DIM-00019: create service error
    O/S-Error: (OS 1388) A new member could not be added to a local group because the member has the wrong account type.
         at oracle.sysman.assistants.util.OsUtilsBase.execProg(OsUtilsBase.java:1090)
         at oracle.sysman.assistants.util.OsUtilsBase.execProg(OsUtilsBase.java:1026)
         at oracle.sysman.assistants.util.OsUtilsBase.execProg(OsUtilsBase.java:1007)
         at oracle.sysman.assistants.util.Oradim.addEntry(Oradim.java:530)
         at oracle.sysman.assistants.dbca.backend.InstanceStep.executeImpl(InstanceStep.java:243)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:209)
         at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:250)
         at oracle.sysman.assistants.dbca.backend.CloneRmanRestoreStep.executeImpl(CloneRmanRestoreStep.java:201)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:209)
         at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
         at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2394)
         at java.lang.Thread.run(Thread.java:534)
    Configuration assistant "Oracle Database Configuration Assistant" failed

    I had the same problem and solved it by doing the following:
    Do not stop the DBCA to do this.
    Go to Start->Control Panel-> Services -> oracleserviceyoursid and start the service. That will get you through that error.
    Just in case you see this one as well....I did encounter a TNS error after that. I resolved this by commenting out (#) the line SQLNET.AUTHENTICATION_SERVICES=(NTS) in SQLNET.ORA file.

  • XML Parsing in Java Stored Proc--Oracle XML Support Installation?

    I am working with a third party product that is having difficulty running a java stored proc that is parsing a supplied XML file. The proc basically looks like:
    import java.io.IOException;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    InputStream is = getXMLAsInputStream(xml);
    try {
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse( is );
    ... parse the document ....
    catch (FactoryConfigurationError e) {
    // unable to get a document builder factory
    We are running on 9.2.0.6, HP-UX 64-bit. At first, when we would attempt to run the proc, a database hang would occur; now after attempting to install using loadjava jars for xerces2.6: ORA-29532: Java call terminated by uncaught Java exception:
    javax.xml.parsers.FactoryConfigurationError: Provider
    org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found)
    The vendor says that the errors we are getting when running are not due to any dependency on xerces or jre1.4, and that we need to "install Oracle XML support", but I'm not certain what this means (I cannot find any documentation on what to install). I believe that there are jars that need to be loaded into the database to support the XML parsing, as jre1.3 does not include built-in XML support, and Oracle 9.2.0.6 uses jre1.3.
    So...does anyone have any thoughts as to how to resolve the missing references? Is there a way to "install Oracle XML support", or is it to install the necessary jars?
    Thanks,
    Candi

    Candi,
    The following resources should be of help:
    Oracle9i Database Release 2 (9.2) Documentation Library
    In particular, check out the following:
    Java Developer's Guide
    Java Stored Procedures Developer's Guide
    XML API Reference - XDK and Oracle XML DB
    XML Database Developer's Guide - Oracle XML DB
    XML Developer's Kits Guide - XDK
    If that doesn't help, then try the following:
    OracleJVM and Java Stored Procedures
    XML Technology Center
    Good Luck,
    Avi.

  • XML Database Development with JDeveloper?

    Hello, folks:
    I am trying to create XML database through JDeveloper.
    Database: Oracle 10g
    IDE: JDeveloper 11.1.2.2.0
    JDBC Driver: Oracle ojdbc6.jar
    I connect successfully to the database through JDeveloper. There I see many folders listed, e.g. Tables, Views, Indexes, XML Schemas, XML DB Repository, and others. My problem is that when I try to save a large schema file (that I already validated on my local machine) that is roughly more than 300 lines, then JDeveloper is unable to save the file. It saves only very small files that are about 100 lines or less. The error message simply is: "Unable to save XML Schema blah.filename@local (Error saving XML Schema).
    I tried to do it in Oracle SQL Developer too, but got the same error. Can someone please help me understand this problem and how to fix it? Do I need to specify some settings in JDeveloper or SQL Developer? Thanks a lot in advance.
    Asif

    Please raise your question to the forum dedicated to JDeveloper 11:
    JDeveloper and OC4J 11g Technology Preview
    Regards,
    Didier.

  • How to create simple XML database in oracle 11g

    Hi,
    what are the steps to followed to create a simeple custormer XML database.
    Like storing .xml file into XMLType, writing simple xml schema.....like that
    how to register the .xsd
    how to insert the xml data
    how to querying the the data base with xquery
    Thanks in Advance

    Have a look a the FAQ on the main page of this XMLDB forum. That's a good source to start (besides the XMLDB Developer Guide manual).

  • About this XML database

    Today I have found these definitions:
    1.Native XML Database (NXD):
    a) Defines a (logical) model for an XML document -- as opposed to the data in that document -- and stores and retrieves documents according to that model. At a minimum, the model must include elements, attributes, PCDATA, and document order. Examples of such models are the XPath data model, the XML Infoset, and the models implied by the DOM and the events in SAX 1.0.
    b) Has an XML document as its fundamental unit of (logical) storage, just as a relational database has a row in a table as its fundamental unit of (logical) storage.
    c) Is not required to have any particular underlying physical storage model. For example, it can be built on a relational, hierarchical, or object-oriented database, or use a proprietary storage format such as indexed, compressed files.
    2.XML Enabled Database (XEDB) - A database that has an added XML mapping layer provided either by the database vendor or a third party. This mapping layer manages the storage and retrieval of XML data. Data that is mapped into the database is mapped into application specific formats and the original XML meta-data and structure may be lost. Data retrieved as XML is NOT guaranteed to have originated in XML form. Data manipulation may occur via either XML specific technologies(e.g. XPath, XSL-T, DOM or SAX) or other database technologies(e.g. SQL). The fundamental unit of storage in an XEDB is implementation dependent. The XML solutions from Oracle and Microsoft as well as many third party tools fall into this category.
    3.Hybrid XML Database (HXD) - A database that can be treated as either a Native XML Database or as an XML Enabled Database depending on the requirements of the application. An example of this would be Ozone.
    Which of them would you put XML DB in?

    If we consider the duality of the XMLType (store XML documents in CLOB's and structured storage with XML Schemas), could we say that it is an hybrid XML database?
    Native->CLOB's
    Enabled->structured storage
    I suppose this cuestion is a bit subjective, but I would like to know your opinions.
    Thanks in advance!

  • XML database not loading

    I have a xml database that has some information which is loaded into a drop down menu on my form. While I am in Live Cycle Designer and use the pdf preview, the dropdowns populate correctly and show what is in the database but when I open up the form in Adobe Reader, the dropdown show null. How can I remedy this problem?

    You can use the importXFA() method to import data via scripting.
    this.importXFAData("../MyFormData.xml");
    Note: This script cannot be run directly from a button in your form.
    You'll have to call it from a privileged context like the console window or a folder level script.

  • Using mapviewer with database installation only (moved to db- spatial) ?

    question moved to db->spatial
    using mapviewer with database installation only ?

    You should be able to deploy MapViewer in this OC4J. Take a look on chapter 1 of the MapViewer User's Guide for information about deploying MapViewer in an Oracle application server.
    Joao

  • Using mapviewer with database installation only ?

    using mapviewer with database installation only ?
    i have installed oracle database 11g on windows
    the enterprise manager already relies on the ocj4 ('http://orcl:1158/em')
    if i open 'http://orcl:1158' i get the start page for the appllication server - by clicking on 'manage applications' i come to the enterprise manager start page (i thinked, i can uplaod some ear application file, sinve oc4j is present for the em)
    its possible to install the mapviewer.ear with this database installation only (since the oc4j is present for the em) - or i have to install the oc4j too?
    thx

    You should be able to deploy MapViewer in this OC4J. Take a look on chapter 1 of the MapViewer User's Guide for information about deploying MapViewer in an Oracle application server.
    Joao

  • Oracle 10g database installation in red hat 5

    what are the packages needed for oracle 10g database installation in red hat 5?
    what do you mean by yum way of installation?

    Check on the release notes for your platform
    This is for x86-64 Linux.. read it all, then you'll find the "6 Documentation Corrections and Additions" section you'll find the RPMs that you need
    http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15666/toc.htm
    then go to the official doc installation of 10gR2 on x86-64 Linux
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/toc.htm
    Yum is a package management tool. This is what you'll be using to install the RPMs. But first you'll have to setup the Yum repository, usually what I do is stage the DVD media on the server then make it as a repository. If ever there's a specific (higher) version that I need then I just pull it on the RedHat Network.
    There are a lot of HOWTOs about Yum. You may read on this link http://docs.fedoraproject.org/yum/en/
    - Karl Arao
    http://karlarao.wordpress.com/

  • XML database query through Java

    Hi all.
    I am collecting information about a little application i am trying to build:
    I have an XML database with records divided in a lot of subdirectory (with three or four .xml files);
    directories' names are defined by date in format "yyyymmdd",
    the file within are "date_something.xml":
    what is the best way to access it by a web app or a java class to search all the dirs adn print results in a readable way (aka not in cmd) ? I need first to define a period of time to search and then some attribute or node to print referred to some element.
    I was guessing to use xpath, anyway I ve tryed JSP but it is too difficult and the query i have to do are really simple to build a full servlet.
    I am learning xalan through servlet and I think in future this will be my choice but now i need to collect the data by queries without any automation, just to have results for researching and paper writing.
    The main problem I found is to search a full series of directory, with transformations i can find out stuff from a single file, but how to do it for a system of directories?
    Any suggestion or link to resource would be good also.

    lm00 wrote:
    ProjectMoon wrote:
    By XML database do you mean an actual XML native database, or just a bunch of XML files in a directory structure? If it is an actual XML native database, you should probably use the XML:DB API. If they are just flat files you will need to probably make something that is able to navigate through your directory structure to the documents you want. Once you have that, you can then use XQuery or XPath to get information from those documents.The data is a bunch of directories named by date in format "yyyymmdd", inside each of these there are three or four files .xml
    All files have data definitions and schemas but i dont think they are a 'database'. What do u mean "something to navigate through"? A class? Suppose I would like to do it as a webapp what should i have to do?
    Yes, I basically meant a class. Before querying the XML file you need something that will retrieve its location. If it's by date you could probably concoct something that takes a Date object and returns a set of File objects. Internally it would traverse the directory trees and find the proper XML file(s).
    >>
    If you have a LOT of XML documents I honestly recommend something like the eXist XML Native Database, or another XND. I have been playing with them lately and they are very useful.in this case what i have to do? Take the data and put it into a database by this tool? And then I should acces it by a JSP? There is a program using Xpath instead?Well, yes. You would put the files in the XND. Although I don't know if that's useful or not in your situation. It all depends. I also think you're a bit confused as to what JSPs and XPath are...
    JSPs are just Java Server Pages, which get dynamically compiled into servlets. If you are following the MVC pattern for servlets/JSP (which you should), JSPs represent your views while servlets are the controllers. The model would be your XML data in this case. XPath is a way to get at that data. If it was in an XND, you could just throw an XQuery/XPath expression at the database and it would give you back XML documents/fragments representing the results of your query. You don't have to make your own system to find the XML documents. Of course, you do have to learn how to use an XND.
    Perhaps you should separate what you are trying to do. You have two problems: 1) how to get the XML data you need. 2) How to present it. You should separate those two completely and learn how to do both before attempting to put it together.
    Edited by: ProjectMoon on Oct 21, 2009 12:05 PM

Maybe you are looking for