"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.

Similar Messages

  • Oracle Xml Database Invalid On Dba_registry in Oracle 9i

    Hi All,
    We are facing some issue with XML DB status of this component is showing INVALID in dba_registry
    and we try to validate it with below step
    connect / as sysdba
    execute dbms_regxdb.validatexdb;
    but it gives us below error
    SQL> execute dbms_regxdb.validatexdb;
    BEGIN dbms_regxdb.validatexdb; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'DBMS_REGXDB.VALIDATEXDB' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Thanks in advance
    Regards,
    Bhanu Chander

    Hello,
    If XMD DB is not currently used you can try to reinstall XML DB by executing the following scripts as sysdba:
    To deinstall:
    @OH/rdbms/admin/catnoqm.sql
    To reinstall:
    @?/rdbms/admin/catqm.sql
    @?/rdbms/admin/catxdbj.sql Before doing that you should set the following parameter as follows:
    shared_pool_size =150 MB
    java_pool_size =150 MB And, Turn on AUTO EXTEND on the XDB tablespace.
    For more details please look at the Notes *243554.1* of My Oracle Support.
    Hope it can help.
    Best regards,
    Jean-Valentin

  • First time with Oracle XML database

    Hi!
    I'm a beginner with XML and with Oracle XML database so i need same help. I've read the documentation (example for XML Oracle).
    What do i need to write XML files from an oracle database and the other way to read XML files into the database?
    Or does anyone know how i can get information about this?
    Thank's for help!
    With best regards
    Nicole

    Nicole,
    One quick way to get xml out of the database is to use the dbms_xmlgen.getXML package.
    i.e. in sqlplus
    set long 4000
    select dbms_xmlgen.getxml('select * from emp') from dual;
    or
    set long 4000
    select dbms_xmlgen.getxml('select column_name from owner.tablename') from dual;
    HTH

  • 10R2 Upgrade on Linux stuck upgrading Oracle XML database

    Folks,
    I am upgrading Oracle from 10g r1 to r2 (10.1.0.4 to 10.2.0.1). This is not a large database. Size is around 70gb. It is taking forever to upgrade Oracle XML database. It is running for over 20 hours now.
    I checked the logs and nothing seems to be an issue. Did not get any erros.
    Any idea why xml database upgrade would take so long?.
    I Appreciate your replies.
    Krishna

    How are you performing the upgrade?

  • Mark Logic vs. Oracle XML Database?

    Hi,
    I'm comparing Mark Logic vs Oracle XML database for a new project. All the data is well structured and validated XML data. Any comments, suggestions, personal experiences with either product will be extremely helpful.
    Thanks in advance,
    Dave

    In 5+ years Oracle will still be the #1 database on the planet and people who have it on their resume will be employable.
    In 5+ years Mark Logic will be out of business, a marginal player, or absorbed by either Oracle, IBM, or Microsoft. Unless you find some great romantic attraction to marginal technologies, can I recommend RPG II or ALGOL or Ingres, I would highly recommend Oracle.
    Right now, at dice.com, there are 1,745 jobs listing Oracle and XML: There are 15 listing Mark Logic.
    But heck the world economy is booming so why let that affect your decision. <g>

  • Unable to connect to Oracle Applications database invalid username/password

    Hi,
    Ou Requirement is we want to connect to Oracle Applications using discoverer plus and discoverer viewer.
    Application Server used : 10.1.2.0.2
    Oracle Applications : R12 RUP4
    We have installed application server 10g with OID and when we try to connect to oracle applications we are getting
    A connection error has occurred.
    - Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password.
    Regards
    Ketan

    Hi,
    I think better to check with your sysadmin or DBA on this, I had the same isuse before but Apps 11i with Discoverer, I talked to ERP sysadmin and worked fine.
    Since applications userid cannot talk with Discoverer schema (eul10_us) and it should directly talk with APPS user and then APPS user can talk with Discoverer user.
    To the best of my knowledge I provided.
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to getting start in oracle xml database????

    hi,
    i am just beginning to use oracle xml database, i don't konw how to use ,can anybody give me some guidance??? like something about how to build xml database and some basic operation.
    your suggestions will help me.
    thanks all !!!

    hi,mdrake
    with your suggestion, i find the following url
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14259/toc.htm.
    and download some pdf.
    thanks a lot

  • JDeveloper and Oracle XML Database Development

    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, 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

    The XML database engine used in JDev is in fact from SQL Developer. In other words the SQL Developer code base is used by JDev though typically it is an older version than the latest SQL Developer. As such best post this question to the SQL Developer forum and ensure to state which standalone SQL Developer version you're using.
    CM.

  • XDB Database invalid

    Hi ,
    The below query giving the value INVALID status and we created the database using another test database by RMAN backup.But the value is VALID where we took the rman backup database and it is having the 730 objects in XDB schema.
    But newly created test database having the 530 objects only.
    We tried the below steps but it's not working and we getting the status INVALID
    select comp_name, status, version from DBA_REGISTRY where comp_name= 'Oracle XML Database';
    1) Restart the DB
    2) Connect to DB as sysdba
    3) Run $ORACLE_HOME/rdbms/admin/catnoqm.sql to remove XDB from database.
    4) Update init.ora with the following (at least):
    Shared_pool_size=150MB
    Java_pool_size=100MB
    5) Shutdown immediate
    6) Startup
    7) Run $ORACLE_HOME/rdbms/admin/catqm.sql XDB XDB TEMP
    to create the XDB schema with all required objects
    8) Run $ORACLE_HOME/rdbms/admin/catxdbj.sql
    to register XDB java api jar files.
    9) Check invalid objects for xdb users
    select count(*)
    from dba_objects
    where owner='XDB'
    and status='INVALID';
    Regards,
    KK

    Hi ,
    We are getting the below for XDB INSTALLATION
    ERROR at line 1:
    ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-553: character set name is not recognized
    Please help on resolving on charachter set error
    Regards,
    KK

  • 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).

  • XML Database Contract in Hoffman Estates, IL

    Hi,
    Sorry about using this forum for job posting, but I can't find any candidates with XML database experience. I have a two month Oracle XML Database contract in Hoffman Estates, IL. The pay rate for this position is open and you do not have to be located in Hoffman Estates. In this contract you will be working with Enterprise Application Integration utilizing J2EE development platform, which includes: IBM WebSphere apps server, Oracle XML DB, and SonicMQ/XQ messaging infrastructure.
    Job Description:
    Design, develop and deploy the Oracle XML database. Work closely with the project team on the overall integration.
    Skill                Experience      Need
    1) XML technology      Expert           Required
    2) Oracle XML DB      Expert           Required
    3) J2EE technology      Expert           Desired

    I have some Interface Mapping questions I was hoping someone could help me with. As you know, my source is an XML File and my target is an OracleDB. I'll start with the "EFFECTIVEDATE" field which was automatically mapped when I added the Source and Target Datastores. As I previously mentioned, this caused an error "Target Column EFFECTIVEDATE: Data may be truncated: the target Column is smaller than the source Column". After looking further into it, would the problem be that the "EFFECTIVEDATE" datatype in the XML is "DATETIME" whereas the "EFFECTIVEDATE" datatype in the database is "TIMESTAMP"? If so, what would be the fix for this? Could I convert it in the Implemenation Mapping like so? -
    CONVERT(MONEY.EFFECTIVEDATE,TIMESTAMP)
    Would using that in the Implementation simply do the trick?
    Anyway, moving onto some of the other TARGET fields...
    -ACTIVITYGUID
    This should be an automatically generated new GUID value. How could I implement this into the Implementation?
    -TRANSACTIONGUID
    I'll need to query some of the other tables in the database in order to get this value. Is this allowed in the Implemenation? Do I have to add said tables to the target somehow? Can I just query the other tables in the Implementation field using normal select statements, etc.? I'm a bit confused on how this would work...
    -TYPECODE
    This needs to be a fixed value of '01'. How do I simply do that in the Implementation?
    The other fields will all be implemented similar to the above so those are the main questions I have for now. Any help would be appreciated.
    Thanks again for your help.

  • Oracle 10g database options

    We have Oracle 10.2. I used dba_registry to get database options. How to find these options' dependencies?
    dba_dependencies has dependencies for all packages, funtions, procedures and triggers. But options are Oracle components.
    My purpose is that we don't need some options and need to get rid of them. Before I do it, I need to see options' dependencies.
    Please advise.
    Thanks
    S.
    Edited by: ski123 on Apr 5, 2010 4:16 PM

    What "things" are they asking you to remove?
    Most likely this person or persons has no idea the danger and consequences of what they are asking.
    The security of an Oracle database is not enhanced by removing anything that shows up in DBA_REGISTRY.
    Here's the list:
    SQL> select comp_name from dba_registry;
    COMP_NAME
    OWB
    Oracle Application Express
    Oracle Enterprise Manager
    Oracle Ultra Search
    OLAP Catalog
    Spatial
    Oracle Multimedia
    Oracle XML Database
    Oracle Text
    Oracle Expression Filter
    Oracle Rules Manager
    Oracle Workspace Manager
    Oracle Database Catalog Views
    Oracle Database Packages and Types
    JServer JAVA Virtual Machine
    Oracle XDK
    Oracle Database Java Packages
    OLAP Analytic Workspace
    Oracle OLAP APIWhat here compromises security?
    I understand it is dangerous as an employee to tell an employer to back off. So feel free to point your employer to me and I would be happy to tell them what you may not be able to say.

  • Is XML database separately licensable

    Is oracle xml database separately licensable or can we just install it in an existing Enterprise Edition licensed database?

    It is just like, for example, APEX a "*no cost option*".
    That means that if you pay for the database software (whatever flavor), you are allowed to use it (so for no extra costs=you have paid you fee via buying the database software). From Oracle 11g and onwards its core functionality of the database anyway and (can/) should be installed default.
    Edited by: Marco Gralike on May 27, 2011 2:02 PM

  • Oracle.xml.parser.v2.XMLParseException: Invalid char in text. in BPEL

    Hi,
    Non Recoverable Business Fault :
    <bpelFault><faultType>1</faultType><operationErroredFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskService"><part name="payload"><operationErroredFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskService"><faultInfo>oracle.xml.parser.v2.XMLParseException: Invalid char in text.</faultInfo></operationErroredFault></part></operationErroredFault></bpelFault>
      I got the above error before calling to human task from my BPEL process. Any idea?

    Assuming this is SOA Suite 11g. Did you start the WLS with UTF8? Is your database using UTF8?
    Nothing else is supported.
    If you are on unix.
    $ export LANG="en_US.utf8"
    $ export LC_ALL="en_US.utf8"
    Then locale should display something like this
    $ locale
    LANG=en_US.utf8
    LC_CTYPE="en_US.utf8"
    LC_COLLATE="en_US.utf8"
    LC_MONETARY="en_US.utf8"
    LC_NUMERIC="en_US.utf8"
    LC_TIME="en_US.utf8"
    LC_MESSAGES="en_US.utf8"
    LC_ALL=en_US.utf8
    And then you should be able to start the SOA Suite correctly.

  • Importing XML into oracle 11g database

    I am having some difficulty parsing an XML file into oracle 11g database.
    Currently using Oracle 11g Express Edition (XE)
    Here is how my XML file looks like:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <AccountMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <Accounts>
    - <AccountMapping>
    <AccountID>0000000000000-000</AccountID>
    <AccountName>XLS</AccountName>
    <AccountType>Excel</AccountType>
    <AccountOwner>System</AccountOwner>
    </AccountMapping>
    - <AccountMapping>
    <AccountID>0000000000000-001</AccountID>
    <AccountName>XLSS</AccountName>
    <AccountType>Excel2</AccountType>
    <AccountOwner>System2</AccountOwner>
    </AccountMapping>
    - <AccountMapping>
    and so on the file continues.. I have the xml file saved on my local hard disk
    I have created a package in SQL Developer
    create or replace
    PACKAGE XML_FILEHANDLER AS
    type TRecord is record (
    Account_ID varchar2(100)
    , AccountName varchar2(100)
    , AccountType varchar2(30)
    , AccountOwner varchar2(100)
    type TRecordTable is table of TRecord;
    function getRows (p_directory in varchar2, p_filename in varchar2) return TRecordTable pipelined;
    END XML_FILEHANDLER;
    -- BODY
    create or replace
    PACKAGE BODY XML_FILEHANDLER AS
    function getRows (p_directory in varchar2, p_filename in varchar2) return TRecordTable pipelined AS
    nb_rec NUMBER := 1;
    tmp_xml CLOB;
    tmp_file CLOB;
    rec TRecord;
    BEGIN
    dbms_lob.createtemporary(tmp_file, true);
    tmp_file := dbms_xslprocessor.read2clob(p_directory, p_filename);
    rec.Account_ID := regexp_replace(tmp_file, '.*<Account_ID>(.*)</Account_ID>.*', '\1', 1, 1, 'n');
    rec.AccountName := regexp_replace(tmp_file, '.*<AccountName>(.*)</AccountName>.*', '\1', 1, 1, 'n');
    rec.AccountType := regexp_replace(tmp_file, '.*<AccountType >(.*)</AccountType >.*', '\1', 1, 1, 'n');
    rec.AccountOwner := regexp_replace(tmp_file, '.*<AccountOwner>(.*)</AccountOwner>.*', '\1', 1, 1, 'n');
    loop
    -- this regexp finds occurrence(s) of this pattern : "<?xml ... ?><root_tag> ... </root_tag>"
    tmp_xml := regexp_substr(tmp_file, '<\?xml[^?]+\?>\s+<([^>]+)>.*?</\1>', 1, nb_rec, 'n');
    exit when length(tmp_xml) = 0;
    --dbms_output.put_line(tmp_rec);
    nb_rec := nb_rec + 1;
    SELECT Account_ID, AccountName, AccountType, AccountOwner
    into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
    from xmltable(
    'Accounts/AccountMapping' passing xmltype(tmp_xml) columns
    Account_ID varchar2(100) path 'Account_ID'
    , AccountName varchar2(100) path 'AccountName'
    , AccountType varchar2(30) path 'AccountType'
    , AccountOwner varchar2(100) path 'AccountOwner'
    pipe row ( rec );
    end loop;
    dbms_lob.freetemporary(tmp_file);
    END getRows;
    END XML_FILEHANDLER;
    -- I am calling my function using the following sql query
    select * from table(XML_FileHandler.getRows('XML', 'test.xml'));
    Here is the error I am receiving
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 265
    ORA-06512: at "user.XML_FILEHANDLER", line 13
    29283. 00000 - "invalid file operation"
    *Cause:    An attempt was made to read from a file or directory that does
    not exist, or file or directory access was denied by the
    operating system.
    *Action:   Verify file and directory access privileges on the file system,
    and if reading, verify that the file exists.
    I have done the following
    - Provided appropriate access to user (read, write) including directory access rights
    - ensured that directory exists
    - ensured that file exists
    I have searched all over google and metalink but am unable to get this to run.. please help!

    >
    SELECT Account_ID, AccountName, AccountType, AccountOwner
    into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
    from xmltable(
    'Accounts/AccountMapping' passing xmltype(tmp_xml) columns
    Account_ID varchar2(100) path 'Account_ID'
    , AccountName varchar2(100) path 'AccountName'
    , AccountType varchar2(30) path 'AccountType'
    , AccountOwner varchar2(100) path 'AccountOwner'
    >
    change to
    SELECT Account_ID, AccountName, AccountType, AccountOwner
    into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
    from xmltable(
    'AccountMap/Accounts/AccountMapping' passing xmltype(tmp_xml) columns
    Account_ID varchar2(100) path 'Account_ID'
    , AccountName varchar2(100) path 'AccountName'
    , AccountType varchar2(30) path 'AccountType'
    , AccountOwner varchar2(100) path 'AccountOwner'
    SQL> SELECT Account_ID, AccountName, AccountType, AccountOwner
      2  --into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
      3  from xmltable(
      4  'AccountMap/Accounts/AccountMapping' passing
      5  xmltype('<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
      6  <AccountMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      7  <Accounts>
      8  <AccountMapping>
      9  <AccountID>0000000000000-000</AccountID>
    10  <AccountName>XLS</AccountName>
    11  <AccountType>Excel</AccountType>
    12  <AccountOwner>System</AccountOwner>
    13  </AccountMapping>
    14  <AccountMapping>
    15  <AccountID>0000000000000-001</AccountID>
    16  <AccountName>XLSS</AccountName>
    17  <AccountType>Excel2</AccountType>
    18  <AccountOwner>System2</AccountOwner>
    19  </AccountMapping>
    20  </Accounts>
    21  </AccountMap>')
    22  columns
    23  Account_ID varchar2(100) path 'Account_ID'
    24  , AccountName varchar2(100) path 'AccountName'
    25  , AccountType varchar2(30) path 'AccountType'
    26  , AccountOwner varchar2(100) path 'AccountOwner'
    27  );
    ACCOUNT_ID                                                                       ACCOUNTNAME                                                                      ACCOUNTTYPE                    ACCOUNTOWNER
                                                                                     XLS                                                                              Excel                          System
                                                                                     XLSS                                                                             Excel2                         System2
    SQL> for AccountID use AccountID not Account_ID
    Account_ID varchar2(100) path 'AccountID'Edited by: AlexAnd on Aug 9, 2012 12:35 AM

Maybe you are looking for

  • How can I transfer my iOS update to another iPad?

    How can I transfer my iPad  iOS update download to my wife's computer so that she can update without having to download the update all over again?

  • What are the parallels memory requirements for MacBook Pro?

    I am looking to buy a new MacBook Pro - either 13 or 15 inch model.  I will be running Parallels with Win 8 and MS Office Pro.  The 13 inch MBP only comes with 8 GB - the 15 inch with 16 GB, but it is expensive. Can I get by with 8GB and an i7 proces

  • Coherence Error at the time of Starting weblogic Server

    Hi , I am getting below error at the time of starting Weblogic OSB managed server We are using osb_cluster1 (Unicast) for osb_server1 managed server. When Weblogic server try to start the managed server we get following Coherence errors and startup s

  • List of ports that need to be opened?

    Hi, A customer is using a citrix client to log on to their citrix server, which is running a B1 client. They are getting errors in relation to the connection to the licence server failing, even though they have opened the port (30000) in question to

  • Satellite C660 - How to downgrade the BIOS?

    I have the same problem. Latest BIOS version for my notebook is 1.3 but on my is 1.4 installed?! Notebook is 10 days and I cant work with it. We have few C660 (PSC0LE) we bought tham on same day and they all have 1.3 and are working perfect. Only my