Cannot register schema in repository :(

Hi!
I tried to register my esixting schema (8.1.7) in Repository 6i following the instructions:
begin
jr_registration.register('KRUPENN', TRUE, TRUE, TRUE, 'e:\oracle\admin\logs', 'jr_reg.log', FALSE, TRUE);
end;
but running the script would result in error message:
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "REPUSER.JR_REG", line 903
ORA-06512: at "REPUSER.JR_REGISTRATION", line 112
ORA-06512: at line 2
Please guide me to make the correct actions.
Andrei.

Have you given the following privileges to the repository user?
CREATE ANY INDEX
CREATE ANY PROCEDURE
CREATE ANY SEQUENCE
CREATE ANY SYNONYM
CREATE ANY TABLE
CREATE ANY VIEW
SELECT ANY SEQUENCE
SELECT ANY TABLE.
John

Similar Messages

  • [JR_Registration;6iR4.2;8.1.7.3.0] Various error messages trying to register schemas

    Hello !
    I've a problem to register schemas. These schemas depend on each others (i.e. Schema #2 references Schema #1 with a foreign key ).
    The designer's repository (6i R4.2) is on a 8.1.7.3.0 Database.
    I have three question using jr_registration.generate (up to now :-> )
    Question #1:
    ============
    Starting with the base schema (no FK) SQL*Plus comes up with
    ORA-00001 unique constraint (<repos_owner>.RM_LINK_PROPERTIES_PK) violated
    ( all error messages continue the same:
    ORA-06512: in "COLANI.JR_REG", Zeile 903
    ORA-06512: in "COLANI.JR_REGISTRATION", Zeile 112
    ORA-06512: in Zeile 2
    logfile information:
    06-Mai-2002 17:23:36 : Creating Link Properties for Table : <the table_name>
    link property (M end) : new id : <number #1>
    link property (1 end) : new id : <number #2>
    link property (1 end) : new name : <name #1>
    link property (M end) : new id : <number #3>
    link property (1 end) : new id : <number #4>
    link property (1 end) : new name : <name #2>
    link property (M end) : new id : <number #1, allready used !!!>
    ------------------------------------------------------- end of logfile ---
    How do I solve this ?
    Question #2
    ===========
    ORA-01403 no data found
    logfile information:
    Failed to query element type mapped to PK table : <primary key>
    ------------------------------------------------------- end of logfile ---
    This primary key is contained in an other (therefore not now existing) schema.
    Seems acceptable :->
    The <primary key> just reads <constraint_name> and not <schema_owner>.<constraint_name>.
    This leaves me with the question:
    Is it any possible to generate/register the required schema dependencies ?
    Question #3
    ===========
    I tried another schema referencing a not now existing schema (which doesn't seem to be the problem here).
    Although the table did not contain any data:
    ORA-01401 inserted value too large for column
    logfile information:
    Setting schema irid : <irid> , ivid : 1
    06-Mai-2002 17:46:11 : Table : <table_name>
    06-Mai-2002 17:46:11 : Table : <table_name>
    ------------------------------------------------------- end of logfile ---
    The <DATA_TYPE>s for the last table reads
    DATE
    NUMBER (10,0)
    NUMBER
    various VARCHAR2 (1-80)
    The <DATA_TYPE>s for the possible next table ( according to <DBA_TABLES> ordered by <Table_name> ):
    DATE
    NUMBER
    various VARCHAR2 (1-80)
    What could be the reason ?
    Thanks for your help

    I found an answer on Metalink for question 1:
    Issue logged as <Bug:1391592> Cannot Register a Table with the Same Column in more than one Foreign Key

  • Error while registering a new repository on Data Services 4.0

    Hi all,
    I've a BO Enterprise Platform 4.0 + Data Services 4.0 installation, and I'm trying to register a new local repository in addition to the installation default one. I followed these steps:
    1) Create a new database schema for the repository
    2) Created the local repository with repository manager
    3) Created a new job server associated with the new repository through the server manager
    4) Tried to register the new repository in the CMC
    I wasn't able to complete the step 4 since i got the following error "unable to connect to profile server".
    Any clue?
    Thank you very much
    Pietro
    Edited by: Pietro Castelli on Jan 30, 2012 12:03 PM

    what is the complete version of DS 4.0 ? also check the REPO_TYPE in AL_VERSION table, for local repo this will be NULL

  • ORA-31000 when register schema in oracle 10g

    I am trying to register a schema in oracle10g rel2. The schema contain "<xs:include schemaLocation="papiNetCommonDefsV2R31.xsd"/>" and papiNetCommonDefsV2R31.xsd is successfully registered in Oracle repository. But i am still getting the error as
    1 begin
    2 dbms_xmlschema.registerSchema
    3 ('http://localhost:8080/home/xdb/xsd/PurchaseOrderV2R31.xsd',
    4 xdburitype('/home/xdb/xsd/PurchaseOrderV2R31.xsd').getCLOB(),
    5 FALSE,
    6 TRUE,
    7 FALSE,
    8 TRUE
    9 );
    10* end;
    SQL> /
    begin
    ERROR at line 1:
    ORA-31000: Resource 'papiNetCommonDefsV2R31.xsd' is not an XDB schema document
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 20
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 31
    ORA-06512: at line 2.
    I can view 'papiNetCommonDefsV2R31.xsd' when i run the query - select schema_url from user_xml_schemas

    Hi Glyn,
    Can you create a script that recreates the problem?
    I have a similiar problem, but can not recreate the exact operations sequance that cause the ORA-07445.
    Avi.

  • Register Schema: ORA-20001: enable_hierarchy_internal

    Hi,
    I'm trying to register an XML Schema and get the following errors:
    16:45:28 SQL> BEGIN
    16:45:28 2      DBMS_XMLSCHEMA.registerSchema(
    16:45:28 3      SCHEMAURL     => 'http://www.sample.net/phoenix/xsd/data_exchange.xsd',
    16:45:28 4      SCHEMADOC     => XDBURIType('/phoenix/DataSupplier20080528-2.xsd').getCLOB(),
    16:45:28 5      GENTABLES     => TRUE
    16:45:28 6      );
    16:45:28 7      COMMIT;
    16:45:28 8 END;
    16:45:28 9 /
    BEGIN
    ERROR at line 1:
    ORA-20001: enable_hierarchy_internal
    ORA-06512: at "XDB.DBMS_XDBZ", line 28
    ORA-06512: at line 1
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 20
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 31
    ORA-06512: at line 2
    18:13:31 SQL>
    Database Version: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 (Linux)
    In my previous attempts I've seen that the types and tables will be created and removed after the error occurred...
    Does anybody know what the problem is?
    TIA
    Andreas

    Hi Mr.Mdrake,
    I am working on XML Type Views, and I did created an XML Type view and it did worked well. Later on there is a change of envirnoment for the development team. So, I tried to deploy my XML Type View scripts in the new environment. While registering the Schema(locally) to the repository I encountered the fallowing error
    Error report:
    ORA-20001: enable_hierarchy_internal
    ORA-06512: at "XDB.DBMS_XDBZ", line 28
    ORA-06512: at line 1
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
    ORA-06512: at line 2
    I have gone through your threads realted to this kind of error and verified wethere I have previleges or not ? Well, there seems to be no problem regarding that(looks like I have all the previlages).
    And one more question I would like to ask is do I have to register the schema globally or locally? The script that worked for me in the previous environment I did register the schema globally using the default.
    Here, even if I try to register the schema locally or globally I am facing the error. The error i am getting while i resiter the schema globally is
    Error report:
    ORA-31086: insufficient privileges to register schema "http://www.oracle.com/MBR_TYPE.xsd"
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
    ORA-06512: at line 2
    31086. 00000 - "insufficient privileges to register schema \"%s\""
    *Cause:    An attempt was made to register a schema without
    sufficient privileges.
    *Action:   Make sure that the user has sufficient privileges to register
    the schema.
    The suggestion that you have
    "1. Registering a Schema as SYS.
    This is not supported, please don't do it." is that mean schema should be registered globally??
    Pardon my ignorance if I say anything which is meaning less.
    Thanks in advance

  • SAP CRM - Genesys: ICI: Cannot register phone line

    Hi,
    I am working on SAP CRM to Genesys integration over ICI and I am stuck at the first step. We have Genesys setup and I have followed SAP instruction on configuring SAP CRM in site /people/john.burton/blog/2009/11/11/how-to-implement-computer-telephony-integration-cti-with-the-sap-crm-interaction-center
    However I get the following error as seen on ICI trace.
    Exception CX_CRM_MCM_EXCEPTION
    Exception text General error in the multichannel layer 
    Message class CRM_IC_APPL_UI_CHMSG
    message number 551
    message Cannot register phone line
    Program name CL_CRM_MCM_SESSION============CP
    Include name CL_CRM_MCM_SESSION============CM01P
    row number 78 
    The ICI trace error is
      <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
      <faultcode>Server</faultcode>
      <faultstring>fault. see details</faultstring>
    - <detail>
    - <IciErrorCodes>
      <areaCode>2</areaCode>
      <errorCode>15</errorCode>
      <errorText>1 is not available</errorText>
      <errorRetry>false</errorRetry>
      </IciErrorCodes>
      </detail>
      </SOAP-ENV:Fault>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>
    Has anyone come across this issue and what would the possibel issue be?
    Best Regards
    Loy
    Edited by: Loy Pereira on Jul 19, 2010 10:29 PM

    HI,
    We resolved the issue. It was Genesys config. It was defined as user defined seating instead of free seating.
    Regards
    Loy
    Edited by: Loy Pereira on Jul 20, 2010 11:49 AM

  • Register Schema / privilege

    Hi,
    I have read through the topic on registerschema but I'm still having a pb.
    I have a stored procedure which register a schema but if I'm not logged as sys/***@sid as sysdba when I exec the proc, I get an error insufficient privilege.
    The test user I use has all priviliges/roles : XDBAdmin, DBA, connect, resource, ...
    This user can create, delete anything in the repository without any pb, the only thing refused is register schema.
    Any clue?
    Vlad

    Here is one example of schema :
    <?xml version = '1.0'?>
    <xsd:schema xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
    <xsd:element name="ROWSET" xdb:defaultTable="XML_GENERATED_CONGE" xdb:global="false">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ROW" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ID_CONGE" type="xsd:long" minOccurs="0"/>
    <xsd:element name="ID_CHEMINOT" type="xsd:long" minOccurs="0"/>
    <xsd:element name="DATE_DEBUT" type="xsd:string" minOccurs="0"/>
    <xsd:element name="DATE_FIN" type="xsd:string" minOccurs="0"/>
    <xsd:element name="ACCORD" type="xsd:string" minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="num" type="xsd:integer"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I hava added xdb:global="false" but it does not change the error:ORA-01031: insufficient privileges

  • I am trying to finish a book in InDesign CS2 with another person. My old XP computer became unstable and I had to get a Windows 7 computer. I was able to install CS2 on the Virtual XP Machine on my Windows 7 computer, but I cannot register or activate it.

    I am trying to finish a book in InDesign CS2 with another person. My old XP computer became unstable and I had to get a Windows 7 computer. I was able to install CS2 on the Virtual XP Machine on my Windows 7 computer, but I cannot register or activate it. Adobe no longer supports activation. Is there a way I can keep using CS2? I need to get files back and forth to my coauthor. I also have CS6. I understand that files can go form 2 to 6, but not backwards. Thanks Robert

    you can download a new installer and serial number from Adobe at Adobe - CS2 Downloads

  • Cannot register my CC and I do not know why

    I cannot register my CC to purchase. There is no problem with information, what to do?

    What do you mean you cant delete? Are they still in your contact app or they come up when you text or call them?

  • Ctxsys.context index on registered schema xmltype column

    9iR2
    Is it possible to create a text index (indextype is ctxsys.context) on a schema registered xmltype column?
    I tried it, the index creation works fine.
    After the first insert statement the Oracle process seems to hang. (CPU 100%, increasing memory consumption)

    Yes, I previously entered some data.
    Test case:
    1. register schema
    begin
    DBMS_XMLSCHEMA.REGISTERSCHEMA('http://localhost/JobPositionSeeker-1_1.xsd',
    getDocument('JobPositionSeeker-1_1.xsd'), TRUE, TRUE, FALSE, FALSE
    end;
    2. create table
    CREATE TABLE application_xml of XMLType
    XMLSCHEMA "http://localhost/JobPositionSeeker-1_1.xsd" ELEMENT "JobPositionSeeker"
    3. entered some data
    4. created the index
    create index applicant on application_xml ( SYS_NC_ROWINFO$)
    indextype is ctxsys.context
    5. select using index
    select value(a).getClobVal() from application_xml a
    where contains( value(a),'%ai% INPATH(//PersonalData/PersonName/FamilyName)')>0
    6. insert another record
    -> crash

  • Hello - I live in the UAE and my itunes account is regsitered here. Unfortunately the choice of music is not as good as when my account was registered in the UK. I cannot register my account in the UK as my bank details are all in the UAE now. HELP!

    Hello - I live in the UAE and my itunes account is regsitered here. Unfortunately the choice of music is not as good as when my account was registered in the UK. I cannot register my account in the UK as my bank details are all in the UAE now. HELP!

    Sorry, but no help is possible. You can only use the UAE iTunes Store, and Apple can only offer what content they are able to license for sale in that country. You'll have to look elsewhere for content. Whether there are any other download stores able to sell in the UAE I don't know. You may need to purchased CDs and import them into iTunes.
    Regards.

  • Seeburger EDI Adapter Deployment Error: Cannot register EarLoader

    Hello,
    we currently have updated our SAP Netweaver Development Environment 2004s to SP20. This installation runs on IBM iSeries.
    We also have to deploy a Seeburger EDI Adapter (Version 1.8) but we faced following error in the deployment:
    ---snipped
    PM Error: Aborted: development component
    'SeeFunctionsEar'/'seeburger.com'/'SEEBURGER
    AG'/'20090701183537.1.8.1'/'1', grouped by software component
    'SeeXIExtendedTools'/'seeburger.com'/'LOCAL'/'20090701183537.1.8.1''/'1':
    Caught exception during application deployment from SAP J2EE Engine's
    deploy service:
    java.rmi.RemoteException: Cannot register EarLoader for application
    seeburger.com/SeeFunctionsEar..
    Reason: null; nested exception is:
    java.lang.NullPointerException
    (message ID:
    com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    ---snipped
    We've deployed not only with the JSPM but also with developer Studio. (The SDM-Tool has a big problem after upgrating to SP20 - SAP knows the error and with the next SP this will be fixed. So this tool cannot be used!)
    First of all, I think it is very useful for us to know what is the EarLoader but unfortunately we can't find any information on the sap help, documentation or here in the SDN. Neither on the Web .....
    Could someone explain the issue to me, please?
    Thanks in advance.
    Christian Sperlich

    Hi,
    1)Can you check your class path, whether it is configured correctly
    2)Check whether you have included the latest class file while importing
    3)Check whether you have activated the objects after you have made changes are imported
    Regards
    Agasthuri Doss

  • Bug in 10.1.3 production: Cannot register Custom ViewCriteriaAdapter

    Hi
    I think there is a bug in JDeveloper 10.1.3 production. I cannot register a custom ViewCriteriaAdapter (see also Thread BUG in 10.1.3 EA: Can't register custom ViewCriteriaAdapter
    This is my code:
    public class myAdapter implements ViewCriteriaAdapter
      public String getViewCriteriaClause(ViewObject viewobject, ViewCriteria viewcriteria)
        System.out.println("***** \"myAdapter\" successfully called ***** ");
        return "My ViewCriteria Clause";
    public class tester
      public static void main(String[] args)
        System.out.println("Check if you see a line which states that, that myAdapter was successfully called:");
        AppModuleImpl module = (AppModuleImpl) Configuration.createRootApplicationModule("project1.AppModule", "AppModuleLocal");
        ViewObjectImpl vo = module.getArticlesView1();
        vo.setViewCriteriaAdapter(new myAdapter());
        ViewCriteria vc = vo.createViewCriteria();
        ViewCriteriaRow vcRow = vc.createViewCriteriaRow();
        vcRow.setAttribute("ArticleNo", "like 'DV%'");
        vc.addElement(vcRow);   
        vo.applyViewCriteria(vc);
        vo.executeQuery();
        System.out.println("You didn't see such a line? This means 'myAdapter' has not been called, which is a bug!");
    }

    Some investigations discovered that the problem seems to be, that method "applyViewCriteria" in ViewObjectImpl resets the Custom ViewCriteriaAdapter.
    So the problem seems to be solved if you override ViewObjectImpl.applyViewCriteria() like this:
        public void applyViewCriteria(ViewCriteria viewcriteria)
          super.applyViewCriteria(viewcriteria);
          setViewCriteriaAdapter(new myAdapter());
        }Another workaround is to set property "jbo.ViewCriteriaAdapter" to "project1.myAdapter" in the Configuration of all ApplicationModules (or at least in the one which is first instantiated).
    Hope this helps.
    Frank Brandstetter

  • I downloaded photoshop elements 13 and cannot register it.

    I downloaded photoshop elements 13 and cannot register it or find a code.  I received no email. I have followed all the various instructions with no luck.  What can I do?

    Photoshop Elements is not part of the Cloud, I will move this to that forum
    Photoshop Elements Forum http://forums.adobe.com/community/photoshop_elements
    Select a topic, then click I STILL NEED HELP to activate Photoshop Elements Online chat
    -http://helpx.adobe.com/contact.html?product=photoshop-elements or
    http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-installation-photoshop-elements- premiere.html

  • Registered schema lost one byte of Chinese character at certain position

    Hello all,
    I registered a schema as below. When viewing the registered schema in the Enterprise Manager, I found a byte was lost for the Chinese character at the position of byte 4200 ( or 0x1068 ).
    before registration:
    22 B2 FA C6 B7 CA FD C1 BF B5 A5 CE BB 22 20 ; "产品数量单位"
    after registration:
    22 B2 FA C6 B7 FD C1 BF B5 A5 CE 3F 20 ; "产品康ノ?
    My database (9.2.0.1 & 9.2.0.3) has the character set of SIMPLIFIED CHINESE_CHINA.ZHS16GBK.
    Connect test/test;
    DECLARE
    samplexmldoc clob := '<?xml version="1.0" encoding="GB2312"?>
    <xs:schema xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <!--This is a test This is a test This is a test -->
         <xs:element name="产品目录">
              <xs:complexType xdb:SQLType="ST产品目录">
                   <xs:sequence>
                        <xs:element ref="第一种产品目录"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="第一种产品目录">
              <xs:complexType xdb:SQLType="ST第一种产品目录">
                   <xs:sequence>
                        <xs:element name="产品分类名称" type="xs:string"/>
                        <xs:element name="产品分类概况" type="xs:string"/>
                        <xs:element name="产品数量单位" type="xs:string"/>
                        <xs:element name="产品存放总分布图" type="xs:anyURI"/>
                        <xs:element name="产品样本" type="xs:anyURI"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>
    BEGIN
    dbms_xmlschema.registerSchema('http://www.antu.com.cn/metaxml.xsd',samplexmldoc,True,True,False,FALSE);
    End;
    Because we have to generate schemas by program, it's not acceptable to adjust the schema text manually.
    What shall I do? Thanks for any help.
    Chen Hui

    Please open a tar with your local support organization...
    Chen
    Please excuse me if I ask some basic questions here, I've no previous experience working with documents containing Chinese Character sets.
    I assume that if I look at your post with my Brower character set to simplifiedChinese.GB2312 I will see the schema document posted correctly..
    Can you test wether or not this problem occurs if the document is encoded in UTF8 and loaded into an AL32UTf8 database. Also, do you see , rather than GB2312. Also are the characters still missing if you view it from SQL*PLUS...

Maybe you are looking for