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

Similar Messages

  • XDB is invalid post registering schema

    Hi all, We have an Windows 2008R2 Oracle 11g 11.2.0.3 database. I am trying to register xml schema but we now have a problem. Please advice how to resolve this:
    Regards, Nick
    Warning: XDB now invalid, invalid objects found:
    object_name                                 object_type
    XDPvR/1dI8T7Sgbi6W3+hdRw==                   XML SCHEMA
    XDpjNsY48sTPS2U0FTcntpeA==                   XML SCHEMA
    XDc47y7s7IRAiROOzbxAxxHw==                   XML SCHEMA
    XDSKZf8PoBQYOsi3xhlK/eIQ==                   XML SCHEMA
    XDgWRTQYoXReCeOSe0Pdx9iw==                   XML SCHEMA
    XDwNX9aokgQEKPpaPog31zoA==                   XML SCHEMA
    PL/SQL procedure successfully completed.
    SQL> select schema_url from dba_xml_schemas, dba_objects
      2  where int_objname = object_name and status = 'INVALID';
    SCHEMA_URL
    OSDNFFeatures.xsd
    OSImageMetadata.xsd
    OSOrthoMetadata.xsd
    OSQueryResult.xsd
    OSIMIngestionMetadata.xsd
    OSIMProductMetadata.xsd
    6 rows selected.
    Try to delete the registered schema but fails:
    SQL> BEGIN
      2  DBMS_XMLSchema.deleteSchema(
      3  schemaurl=>'/XML_SCHEMA/EGISPROD/OSDNFFeatures.xsd',
      4  delete_option=>DBMS_XMLSchema.Delete_Cascade_Force);
      5  END;
      6  /
    BEGIN
    ERROR at line 1:
    ORA-31000: Resource '/XML_SCHEMA/EGISPROD/OSDNFFeatures.xsd' is not an XDB
    schema document
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 122
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 106
    ORA-06512: at line 2
    Even doing by this way:
    SQL> exec DBMS_XMLSCHEMA.PURGESCHEMA('3EF47FD5D23C4FB4A06E2E96DFE85D47');
    BEGIN DBMS_XMLSCHEMA.PURGESCHEMA('3EF47FD5D23C4FB4A06E2E96DFE85D47'); END;
    ERROR at line 1:
    ORA-31050: Access denied
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 109
    ORA-06512: at line 1

    <body><p>thanks guys, i was eventually able to delete the xml schema using the below commnand
    begin
    dbms_xmlschema.deleteschema('OSDNFFeatures.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    on a sepertate note, i use the below sql to create a new resource for a XSD file but how does one do for a DTD file?
    Adding a XSD
    declare
    v_result boolean;
    v_schema xmltype := xmltype(bfilename('XML_VALIDATION', 'feature.xsd'), nls_charset_id('UTF8'));
    begin
    v_result := dbms_xdb.CreateResource('/XML_SCHEMA/EGISPROD/feature.xsd', v_schema);
    end;
    Adding a DTD file:
    SQL> declare
      2  v_result boolean;
      3  v_schema xmltype := xmltype(bfilename('XML_VALIDATION', 'XMLSchema.dtd'), n
    ls_charset_id('UTF8'));
      4  begin
      5  v_result := dbms_xdb.CreateResource('/XML_SCHEMA/EGISPROD/XMLSchema.dtd', v
    _schema);
      6  end;
      7  /
    declare
    ERROR at line 1:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00247: invalid Document Type Declaration (DTD)
    Error at line 18
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 3

  • Component XDB is invalid

    Hi,
    After applying the database patchset 9.2.0.8 XDB shows invalid.
    How i make to valid.
    17:37:02 SYS@prd > select comp_id,version,status,schema from dba_registry;
    COMP_ID , VERSION , STATUS , SCHEMA
    XDB   ,                             9.2.0.8.0    ,                  INVALID  ,   XDB
    Abk

    Check this link
    http://www.experts-exchange.com/Database/Oracle/Q_23240984.html
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Failed to retrieve data from the database/invalid argument provided when employing link between two web services datasources

    Post Author: vpost
    CA Forum: Data Connectivity and SQL
    I am trying to join information from two related web services within CR XI. I have successfully set up the web services as data sources have been able to get to the point where I get good data back. However, when I try to pull in certain fields, I get an error that says "Failed to retrieve data from the database/invalid argument provided". Here's the scenario:
    The web services are structured as follows:Web Service 1 (Artist) has attributes of Artist Name and Date of Birth.Web Service 2 (CD) has attributes of CD Title and Release Date. Underneath each CD are songs, each of which have a Song Title and Artist Name.
    I have defined both web services and defined a link between Artist.Artist Name and CD/Song.Artist Name. I am able to run a report with Song Title and Date of Birth that crosses web services. I am able to run another report with Song Title and CD Title that crosses the different levels in the second web service. However, if I add CD Title to the first report or Date of Birth to the second (both of which effectively force CR to employ the link between the two web services AND the CD/Song hierarchical structure in the second web service, I get the aforementioned error.
    Any assistance understanding how multiple web services can be linked in this manner would be greatly appreciated.
    Thanks in advance.

    Post Author: Mike Wright
    CA Forum: Data Connectivity and SQL
    Not sure about your exact situation, but having similar problem with another application and have tracked down to security. Added user to group Domain Admin and it works fine. It appears to be accessing a subdirectory which it does not have permission to use and then times out and returns the "invalid....". Seems that once the query just over a certain size (and I'm not sure what triggers this) it needs to make use of temparory file disk, intead of ram.
    I'm still trying to track down which temporary it's trying to uses - so if you have any ques.
    cheers

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

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

  • Flat file to Oracle Database - Invalid Month

    Hi All
    I am New to XI and trying to create a simple interface between Legacy system (flat file) and Oracle database.
    I have some date fields in the Oracle table.
    When i run the interface it says "invalid month" with some SQL exception number.
    I am using (mm/dd/yyyy) format for the date.
    Is there any conversion i need to do. I am using XML SQL format for Oracle database.
    Any help is appreciated.
    Thanks
    Nagakishore

    Hello,
    Oracle is very picky with the way date is stored. Assume that you have a field datefield that you need to save. In mapping add an attribute hasqQuote and set it to "NO". When mapping the value to the node use to_date as shown below.
    <DateField hasQuot="No">
       TO_DATE("2004-07-20", "yyyy-mm-dd hh:mi:ss")</DateField>
    cheers,
    Naveen

  • 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

  • Mysql database "Invalid authorization specification:"

    Hi,
    we are using mysql database in our server. i ve created one database name and restored the data into that and i ve granted the all previliges for that user with one username and password. Now i ve written a java program to access that data base. and i am running that java program in server using one script. while i am running my java program in server. i am getting following exception message.
    Database: jdbc:mysql://ip. . . /xxxtesst
    user: xxxtest
    password: xxxtest
    <DbCall> doSomething Error 1: null
    java.sql.SQLException: Invalid authorization specification: Access denied for user 'xxxtest'@'app1.dmz.mysite.com' (using password: YES)
    java.sql.SQLException: Invalid authorization specification: Access denied for user 'xxxtest'@'app1.dmz.mysite.com' (using password: YES)
    at org.gjt.mm.mysql.MysqlIO.init(Ljava.lang.String;Ljava.lang.String;)V(Unknown Source)
    at org.gjt.mm.mysql.Connection.connectionInit(Ljava.lang.String;ILjava.util.Properties;Ljava.lang.String;Ljava.lang.String;Lorg.gjt.mm.mysql.Driver;)V(Unknown Source)
    at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Ljava.lang.String;ILjava.util.Properties;Ljava.lang.String;Ljava.lang.String;Lorg.gjt.mm.mysql.Driver;)V(Unknown Source)
    at org.gjt.mm.mysql.Driver.connect(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
    at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;Ljava.lang.ClassLoader;)Ljava.sql.Connection;(Unknown Source)
    at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.sql.Connection;(Unknown Source)
    at escrow.LandamDbremove.findnewrecords()V(LandamDbremove.java:205)
    at escrow.LandamDbremove.main([Ljava.lang.String;)V(LandamDbremove.java:761)
    Exception in Main : java.sql.SQLException: Invalid authorization specification: Access denied for user 'xxxtest'@'app1.dmz.mysite.com' (using password: YES)
    Note: i ve given currect username, password, database name in my program.

    When setting up users it is possible to restrict access by ip. You may have full priviledges as 'slai@localhost" but not as '[email protected]' . Check the user tables and see.

  • DP content source location not written to database - Invalid path \\server\share format needed - 80070002

    Hi All, i just wanted to ask if anyone else had experienced this issue yet?
    We have ~200 Pull DP's and for some time have been having issues with OSD Task Sequences randomly failing with the error 80070002.
    More specifically:
    Invalid path. \\server\share format needed
    Failed to find an available source location
    Our Task sequence is configured to access content directly from the DP.  We checked the PackageShare$ and validation state and both were fine.  Next we inspected WMI (root\sccmdp:SMS_PackagesInContLib) and this was fine as well.  Until today,
    we had been redistributing the failing package to remediate, but this is very time consuming with some of the large WIMs and Driver Packages, especially over some very slow WAN links.
    Today I decided to explore this a little further by examining the Database..This led me to the table ContentDPMap and the two columns in particular 'URL' and 'URLSubPath'.
    I noticed that the packages we were having issues with had a URL of the ServerName in UNC format, and a URLSubPath of just '\'.  Other packages had a fully qualified UNC path to the package for URL and a full sub path for URLSubPath.
    When we queried the DB further, we revealed 1190 packages to be in this state (for packages supposed to be in the share) out of a total of 42,000 records.
    The query we used for this was:
    select ContentID,ServerName,AccessType,URL,URLSubPath,URLProtocol,vpkg.Name from ContentDPMap as cdpm
    join v_Package as vpkg on vpkg.PackageID = cdpm.ContentID
    where cdpm.AccessType = 2 --UNCProtocol
    and cdpm.URLSubPath not like '%SMS%' --Packages with issues only have a '\'
    and vpkg.PkgFlags = (vpkg.PkgFlags | 0x80) --Limit to only show packages with the 'Copy To Package Share' flag set
    Also of note, when a package is marked with a State = 2 the values for URL/URLSubPath are NULL. (State =2 is In Progress).
    So my question:
    Firstly, has anyone else encountered this?
    Secondly - how should I fix it - we tested in our DEV and found that updating the entries remediates the issue with Clients not being able to locate content, but realise this is is an unsupported method.
    I will also log this on Connect as it appears to me to be a Bug.
    Cheers,
    David

    Our Task sequence is configured to access content directly from the DP.  We checked the PackageShare$ and validation state and both were fine.  Next we inspected WMI (root\sccmdp:SMS_PackagesInContLib) and this was fine as well.  Until today,
    we had been redistributing the failing package to remediate, but this is very time consuming with some of the large WIMs and Driver Packages, especially over some very slow WAN links.
    Hi,
    So redistributing the failed package could resolve this issue?
    How about using prestaged content to distribute these large contents?
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to confirm that XDB database is installed properly

    hi,
    are there any th;umbrules/ ways to confirm that xdb is working fine? To my understanding, its more related to converteing oracle db data (comound data types) into xml .... is this right? We need to convert LCRs to xml and are getting exceptions:SQLERRM:: ORA-31021: Element definition not found; debugging which said taht xmlddb should be installed.
    We are using oracle 10G R2 (10.2.0.4) db (only db and no app server or etc).

    Why not use DBCA? It can install all major DB options. Other then that, the script is catqm.sql:
    Rem Copyright (c) 1900, 2007, Oracle. All rights reserved.
    Rem
    Rem NAME
    Rem catqm.sql - CAtalog script for sQl xMl management
    Rem
    Rem DESCRIPTION
    Rem Creates the tables and views needed to run the XDB system
    Rem Run this script like this:
    Rem catqm.sql <XDB_PASSWD> <TABLESPACE> <TEMP_TABLESPACE>
    Rem NOTES
    Rem Must be run connected as SYS

  • Unable to connect to database , invalid username/password

    hi ,
    i am currently using oracle discoverer 10g (10.1.2.3) and db is 11.2.0.1 , OS is RHEL 5
    iam unable to connect to DB from viewer
    it gives invalid username/password
    the most recent activity i performed was to import eul (version 5) from another instance
    i have checked with permissions of dbc file
    anyhting else i might have to look on ?

    Pl re-post in the Discoverer forum - Discoverer
    HTH
    Srini

  • Database registry status invalid

    hi
    I got status of catproc as invalid in my dba_registry.
    I have tried with (DBMS_REGISTRY_SYS.VALIDATE_CATPROC)
    procedure but not posative.
    I have also used catproc.sql script but agian no effect.
    Is there any way to make it valid?

    Pl post details of OS and database versions. Have you opened an SR ? Pl see if these MOS Docs can help
    560893.1 - Oracle Xml Database Invalid On Dba_registry
    1105245.1 - XDB Is INVALID In DBA_REGISTRY After Having Revoked Privileges: What Privileges Are Needed?
    753041.1 - How To Diagnose Components With NON VALID Status In DBA_REGISTRY After an Upgrade
    HTH
    Srini

  • Discoverer Desktop Connections Fails With Invalid Username/Pass in r12

    Hi all;
    I have problem. I can login Discoverer Administrator from my localmachine and i can see what ppl did it there.. But when i try to login Discoverer Desktop from my localmachine its gives me Invalid Username/Pass. error.
    I even cant login my system from browser :
    http://xx.com:7778/discoverer/plus << pages comes and i fill in the blanks area like:
    Connect to : Oracle Application
    Username: sysadmin
    pass: ***
    Database: VIS
    I found some document from forums. Whihc is :
    Discoverer Is Unable to Connect to Oracle Applications database: invalid username/password      Doc ID: Note:467919.1
    Discoverer 10g (10.1.2) Connectons To Oracle E-Business Suite 12 Fails With 'Invalid Username/Password'      Doc ID: Note:443661.1
    But before i apply those patch i want to take advice from you. Coz i can login Discoverer Administrator and can use it but cant login Discoverer Desktop...its kind of wierd... i already checked what i have done in installtion and its all seems correct.
    Any idea;
    Regards
    Helios

    Discoverer supports two kinds of connections - database schema connections and apps connections. For Disco Admin, you login using a database schema, which, as you stated, works. For Disco User you login using an Apps user account (for which there is a no equivalent database scherma). To enable such a connection, you need to check the "oracle applications user" check box on the 10g Disco login screen. Also, under Tools --> Options, in the Connection tab, make sure that "connect to both standard and applications EULs" radio button is selected.
    HTH
    Srini

  • How to clear invalid item value?

    Hi, All.
      I have two items: selectOneChoice and inputComboboxListOfValues. The second item list of values depends on the first item selected value. When the value of the first item is changed, the second item should be reset. I do this by
    calling setValue(null) on the second item. The partialTriggers property of the second item is set to the first item id. If the second item has a valid value, then everything works well. But if the second item has an invalid value, for
    example, the user after entering an incorrect value, clicks on another item, the setValue(null) does not reset the value.
      Moreover, it is possible that a user saves to the database invalid data. For example:
      1. Select a valid value on the second item.
      2. Remove some characters making the invalid value.
      3. Go to some other item by clicking the mouse.
      4. Change value in the first item. (At this time will invoke setValue(null), and the list of values of the second item will change.)
      5. Edit the value in second field to the value set in the first paragraph (this value is not valid after changing the value in the first element).
      6. After that the document can be saved, no further checks are not happening.
    Version of JDeveloper is 11.1.2.4.
    How to set null value and how to ensure that in the second item it was impossible to enter not valid value?
    Regards,
    Alexey

    OK, I looked into the issue. There are two problems:
    1) your data model does not check the entries in the SOME_DOCUMENTS. You only check the FK against the master tables. You need to check if hte combination of the keys are valid. On solution would be to use model driven dependent lov. Check Andrejus Baranovskis's Blog: Cascading LOV's in JDeveloper 11.1.2.3.0 for a sample. Next the VO you use is based on multiple EO which is not necessary if you use Andrejus's approach.
    2) There might be a bug in the af:inputComboboxListOfValues in this scenario when you you allow to enter values (or parts of it) in the inputText. However, if you validate the keys correctly, you can't insert something invalid. This problem has it's root in your data model. If you use the dependent lov and don't allow user input you can't change the selected value to something invalid. So my advice is to use dependent lov and don't allow input in the inputComboboxListOfValues (set editMode='select'), the user can still search or select the value, but only the valid ones.
    The inputComboboxListOfValues error need some more investigation which need more time. I'll see if I find out something more.
    Timo

Maybe you are looking for