ORA-1403, ORA-00604 and ORA-20000

Kindly help... is we face two errors

Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
AMT for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production

Alerts log error:

ORA-1403 encountered alert server SMG-4120

---------------------------------------------------------------------------------------------------------------------------


After importing the DB, the following error message is displayed by creating materialized views.

ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-20000: Trigger xdb_installation_trigger does not support the creation of objects of
type of snapshot

PL don't post duplicates - ORA-1403, ORA-00604 and ORA-20000

Tags: Database

Similar Questions

  • ODI the Package execution fails with ODI-1228 and ORA-20000 not sufficient privileges to analyze

    Hello

    I am trying to execute the package to ODI to have this error:

    Header 1

    ODI-1228: GATHER_SCHEMA_STATS-DW_STAGE (procedure) task fails when connecting ORACLE target ORACLE_SERVER.

    Caused by: java.sql.SQLException: ORA-20000: not sufficient privileges to analyze an object in the schema

    ORA-06512: at "SYS." DBMS_STATS", line 24867

    ORA-06512: at "SYS." DBMS_STATS", line 24945

    ORA-06512: at "SYS." DBMS_STATS", line of 24899

    ORA-06512: at line 2

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)

    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3954)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1539)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)

    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)

    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)

    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

    at java.lang.Thread.run(Thread.java:744)

    (1) DW_STAGE and DW_REPORT have "ANY ANALYSER" and "UNLIMITED TABLESPACE" privilege and roles "S/n", 'CONNECT' and 'RESOURCE '.

    (2) agents are all running

    (3) tested ORACLE_SERVER and he succeeded

    Need for emergency assistance.

    Thanks in advance-

    ADI

    OK, I solved it.

    As part of Oracle under Technologies--> Oracle in the Studio of the ODI, I gave in the uid and password for DW_STAGE and it fixed the problem!

    Thank you all for your help and suggestions!

    ADI-

  • Db - ORA-20000 R12 upgrade error: ORA-00955

    Hi all

    As part of our upgrade of the EBS R12 database I'm re creation of grants and synonyms for applications. One of the working process is run following error message:

    ERROR on line 1:

    ORA-20000: ORA-00955: name is already used by an existing

    Object:create_grants_and_synonyms(1,GL,APPLSYS,apps): create_base_gs (GL, APPS):

    In the synonyms

    Loop: create_synonym (GL, GL_DAILY_RATES_INTERFACE_BKP, APPS, GL_DAILY_RATES_INTERFAC

    (E_BKP): do_apps_ddl (APPS, CREATE SYNONYM "GL_DAILY_RATES_INTERFACE_BKP" FOR)

    GL. "" ""GL_DAILY_RATES_INTERFACE_BKP"):

    ORA-06512: at line 5

    There are three items of the same name - GL_DAILY_RATES_INTERFACE_BKP - database:

    A synonym in a schema created by us and by two tables: one GL and a pattern of APPS. So what should I do to solve this problem?

    Kind regards

    Vinod

    GL_DAILY_RATES_INTERFACE_BKP should not be seeded table. Perform a backup user someother and drop it.

    concerning

    Pravin

  • ORA-20000: ORU-10027: buffer overflow, of 1000000 bytes

    Hi all

    on 11.2.0.4 on Win 2008,.

    for only 3 rows

    I get

    ORA-20000: ORU-10027: buffer overflow, of 1000000 bytes

    When executing:

    exec dbms_output.enable (10000000);

    declare

    cursor c is

    Select name, LES_PETITS of)

    SELECT name, count (*) AS LES_PETITS of members, e loans

    where e.CREELE > add_months (sysdate,-10)

    and e.MEMBRE = members. NUMBER

    Group name, COUNT (*) ASC agenda e.MEMBRE)

    where rownum < 4.

    MyName MEMBERS. NOM% TYPE;

    mycnt number (3);

    BEGIN

    OPEN C;

    LOOP

    extract the c in MyName, mycnt;

    DBMS_OUTPUT. Put_line (' == > ' | MyName |) ' ' ||

    mycnt);

    END LOOP;

    END;

    /

    As you can see that 3 lines should:

    SQL > select name, LES_PETITS)

    2. Select name, count (*) AS LES_PETITS of members, e loans

    3 where e.CREELE > add_months (sysdate,-10)

    4 and e.MEMBRE = members. NUMBER

    Group 5 in order of name, COUNT (*) CSA e.MEMBRE)

    6 where rownum < 4.

    NAME LES_PETITS

    --------------- ----------

    LOMOBO 1

    1 INGRAND

    ANN 2

    I don't want to run DBMS_OUTPUT. ACTIVATE (buffer_size = > NULL);  because it will never stopping and server hungs up

    Thanks for help.

    The loop is never - ending that's the problem.

    Why do you use PL/SQL at all here?

  • ORA-20000: JServer JAVA Virtual Machine component found in R12, 11 2 GR

    Salvation: next notes 741818 , 1, I had "installed Java Virtual Machine" by launching the sqlplus system $ / [system password] @aujv1120.sql - no error. Then run the sqlplus system $ / @aumsc1120.sql [password system] FAKE SYSAUX TEMP1. But I got some errors:-ERROR at line 1: ORA-20000: JServer JAVA Virtual Machine component not found. JServer JAVA Virtual Machine must be installed before the multimedia installation of the Oracle. ORA-06512: at the level of the line 3 - SQL > select ComputerName, version, dba_registry; ComputerName VERSION STATUS - Oracle XML Database 11.2.0.3.0 catalog of Oracle database VALID views 11.2.0.3.0 VALID Oracle database packages and Types 11.2.0.3.0 VALID Oracle Real Application Clusters 11.2.0.3.0 INVALID JServer JAVA Virtual Machine LOADING that I missed? The JServer JVM load even after a few days. It is a part of the migration of UX to the Linux project. Thank you.

    -From 2014-04-14 15:10:29 - initjvm.sql

    This indicates that the aujv1120.sql script has not finished/completed.

    Please re - run the script again and make sure that it ends successfully.

    Thank you

    Hussein

  • ORA-20000

    Hello

    My version of the database is 10.2.0.3 and windows 2003 server. I've done defragmentaion using ALter table move command. After that, I calculated the statistics of entire database. When I collect statistics on the table, I get the following error.

    Error on line 1:
    ORA-20000: index 'AMS '. "' IACPT_MER$ PRIM" or a partition of this index is unusable.
    ORA-06512: at "SYS." DBMS_STATS", line 13198
    ORA-06512: at "SYS." DBMS_STATS", line 13218
    ORA-06512: at line 28

    but there is no index or the partition table in our database.

    Now, I'm not able to collect statistics.

    Please help me.
    Kind regards
    Out straggler

    Published by: user11280437 on June 17, 2009 21:38

    Please perform following sql

    Select LAST_ANALYZED, BLEVEL, INDEX_NAME, STATUS, INDEX_TYPE dba_indexes where index-name = "& ind_name."

    Select OBJECT_NAME, CREATED, LAST_DDL_TIME from dba_objects where object_name = '& index_name;

    If index is a bitmap, then you must delete and re-create the index. If not check the last time ddl and the State.

  • ORA-20000: the individual user has no lien upon the abcd schema.

    Hi, friends
    I am facing this problem: -.

    ORA-20000: the individual user has no lien on the REFRIGERATED schema.

    We receive this error when we create a new workspace.



    Maury

    At what stage in which Assistant, that is, exactly what the page, are you on when this happens?

    You use XE?

    What is the apex version?

    Scott

  • ORA-20000: Schema does not exist or insufficient privileges

    Salvation of DBA

    I do the upgrade from 9.2.0.6 to 10g database
    I'm following ID. doc. 316889.1 - step 7
    I get the following error while taking backup existing statistics as follows:

    SQL > exec dbms_stats.export_schema_stats ('WMSYS', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('WMSYS', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: WMSYS Schema does not exist or not sufficient to analyze privileges a
    object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1

    SQL > exec dbms_stats.export_schema_stats ('XDB', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('XDB', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: XDB Schema does not exist or not sufficient to analyze privileges a
    object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1


    SQL > exec dbms_stats.export_schema_stats ('WKSYS', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('WKSYS', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: WKSYS Schema does not exist or not sufficient to analyze privileges a
    object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1


    SQL > exec dbms_stats.export_schema_stats ('LBACSYS', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('LBACSYS', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: LBACSYS Schema does not exist or not sufficient to analyze privileges
    an object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1


    SQL > exec dbms_stats.export_schema_stats ('DMSYS', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('DMSYS', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: DMSYS Schema does not exist or not sufficient to analyze privileges a
    object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1


    SQL > exec dbms_stats.export_schema_stats ('SI_INFORMTN_SCHEMA', 'dictstattab', statown = > 'SYS');
    BEGIN dbms_stats.export_schema_stats ('SI_INFORMTN_SCHEMA', 'dictstattab', statown = > 'SYS'); END;

    *
    ERROR on line 1:
    ORA-20000: SI_INFORMTN_SCHEMA Schema does not exist or insufficient privileges
    to analyze an object it contains
    ORA-06512: at "SYS." DBMS_STATS", line 4984
    ORA-06512: at "SYS." DBMS_STATS", line 5007
    ORA-06512: at "SYS." DBMS_STATS", line 5409
    ORA-06512: at line 1

    Please guide me to solve the problem above.

    Thank you
    SG

    SG,

    You can ignore these errors.

    Note: 359483.1 - upgrade from 9.2.0.6 to 10.1.0.4.2 with Applications 11.5.10.2
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=359483.1

    Kind regards
    Hussein

  • ORA-00604 and ORA-00036

    Today on another data base that we get this error:
    ORA-00604: ERROR OCCURRED AT THE SQL LEVEL RECURSIVE 51
    ORA-00036: MAXIMUM NUMBER OF LEVELS OF RECURSIVE SQL (50) EXCEEDED.

    Today has been deployed a new web application...

    Take a look at these notes:
    ORA-600 [17281] [36] and ORA - 36 during trigger execution against unowned object [ID 1017051.102]
    Connect fails with Oracle ORA-00603 Server Session completed [338484.1 ID]

  • ORA-00604 and ORA-01450 during index creation

    Hi all


    While trying to create the index on a partitioned table online, I confronted the following errors:

    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-01450: length maximum key (3215) exceeded

    I'm on oracle 10G and Linux OS.


    Here's the query I use to the index:

    CREATE INDEX DBNAME.TABLE_NAME_NAME1_SN_IDX ON DBNAME.TABLE_NAME
    (NAME1_SN)
    
      TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
      INITRANS   2
    
      MAXTRANS   255
    
    NOLOGGING
    
    LOCAL (  
    
      PARTITION INDEXNAME_ABC_20080101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080201
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080301
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080401
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080501
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080601
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080701
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080801
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080901
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20081001
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20081101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20081201
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090201
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090301
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090401
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090501
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090601
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090701
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090801
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090901
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20091001
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20091101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20091201
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20100101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20100102
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20100103
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20100104
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201005
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201006
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201007
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201008
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201009
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201010
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201011
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201012
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201102
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201103
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201104
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201105
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201106
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201107
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201108
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201109
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201110
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_MAX
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   )
    
    )
    
    NOPARALLEL online;
    Any suggestions...


    Thanks and greetings
    KK

    Hello

    as already indicated the error: exceeded key length. So how is the column as defined name1_sn? If she varchar2 (4000) os, then you get this kind of error. Then, one must look for Oracle Text index these fields.

    Herald tiomela
    http://htendam.WordPress.com

  • ORA-20000: Oracle text error: 10599-DRG: column is not indexed

    Hi all

    I am using Oracle 11.2, and DRG-10599 error when I used contains and have ctxsys.context index as follows:

    create the table tb_nm
    (
    VARCHAR2 (32) nm.
    addr clob
    );

    create index idx_addr on tb_nm (addr) indextype is ctxsys.context
    parameters (' storage idx_addr lexer TEXT_LEXER sync (on commit) ");

    Select * from tb_nm where contains (addr, "How are") > 0;

    Any suggestion?

    Thank you!

    Then you have the answer. Most likely, something was wrong during the import. Let drop and re-create the index.

    SY.

  • ORA-20000: icxr12ug.sql (100):

    Salvation;

    I try to do a r11 r12 upgrade and now I'm in driver steps American enghlish upgrade patch... There are 4200 worker and I got this error:

    file worker icxr12ug.sql 1 poduct icx as ICX username

    everyone has encountered this error before

    Thank you

    Hello

    Yes, please. It would be great if you share the solution with us once you have this fixed number.

    Kind regards
    Hussein

  • SOAP_API, UTL_HTTP, ORA-2000

    Hello

    Version of DB 11.2.0.3.0

    Oracle Linux 6.2 OS

    UTL_HTTP package

    I'm consuming a webservice to sample using UTL_HTTP and SOAP_API package borrowed from Tim Hall. Here's the code.

    CREATE OR REPLACE PACKAGE soap_api AS
    -- --------------------------------------------------------------------------
    -- Name         : https://oracle-base.com/dba/miscellaneous/soap_api.sql
    -- Author       : Tim Hall
    -- Description  : SOAP related functions for consuming web services.
    -- License      : Free for personal and commercial use.
    --                You can amend the code, but leave existing the headers, current
    --                amendments history and links intact.
    --                Copyright and disclaimer available here:
    --                https://oracle-base.com/misc/site-info.php#copyright
    -- Ammedments   :
    --   When         Who       What
    --   ===========  ========  =================================================
    --   04-OCT-2003  Tim Hall  Initial Creation
    --   23-FEB-2006  Tim Hall  Parameterized the "soap" envelope tags.
    --   25-MAY-2012  Tim Hall  Added debug switch.
    --   29-MAY-2012  Tim Hall  Allow parameters to have no type definition.
    --                          Change the default envelope tag to "soap".
    --                          add_complex_parameter: Include parameter XML manually.
    --   24-MAY-2014  Tim Hall  Added license information.
    -- --------------------------------------------------------------------------
    
    TYPE t_request IS RECORD (
      method        VARCHAR2(256),
      namespace     VARCHAR2(256),
      body          VARCHAR2(32767),
      envelope_tag  VARCHAR2(30)
    );
    
    TYPE t_response IS RECORD
    (
      doc           XMLTYPE,
      envelope_tag  VARCHAR2(30)
    );
    
    FUNCTION new_request(p_method        IN  VARCHAR2,
                         p_namespace     IN  VARCHAR2,
                         p_envelope_tag  IN  VARCHAR2 DEFAULT 'soap')
      RETURN t_request;
    
    
    PROCEDURE add_parameter(p_request  IN OUT NOCOPY  t_request,
                            p_name     IN             VARCHAR2,
                            p_value    IN             VARCHAR2,
                            p_type     IN             VARCHAR2 := NULL);
    
    PROCEDURE add_complex_parameter(p_request  IN OUT NOCOPY  t_request,
                                    p_xml      IN             VARCHAR2);
    
    FUNCTION invoke(p_request  IN OUT NOCOPY  t_request,
                    p_url      IN             VARCHAR2,
                    p_action   IN             VARCHAR2)
      RETURN t_response;
    
    FUNCTION get_return_value(p_response   IN OUT NOCOPY  t_response,
                              p_name       IN             VARCHAR2,
                              p_namespace  IN             VARCHAR2)
      RETURN VARCHAR2;
    
    PROCEDURE debug_on;
    PROCEDURE debug_off;
    
    END soap_api;
    /
    SHOW ERRORS
    
    
    CREATE OR REPLACE PACKAGE BODY soap_api AS
    -- --------------------------------------------------------------------------
    -- Name         : https://oracle-base.com/dba/miscellaneous/soap_api.sql
    -- Author       : Tim Hall
    -- Description  : SOAP related functions for consuming web services.
    -- License      : Free for personal and commercial use.
    --                You can amend the code, but leave existing the headers, current
    --                amendments history and links intact.
    --                Copyright and disclaimer available here:
    --                https://oracle-base.com/misc/site-info.php#copyright
    -- Ammedments   :
    --   When         Who       What
    --   ===========  ========  =================================================
    --   04-OCT-2003  Tim Hall  Initial Creation
    --   23-FEB-2006  Tim Hall  Parameterized the "soap" envelope tags.
    --   25-MAY-2012  Tim Hall  Added debug switch.
    --   29-MAY-2012  Tim Hall  Allow parameters to have no type definition.
    --                          Change the default envelope tag to "soap".
    --                          add_complex_parameter: Include parameter XML manually.
    --   24-MAY-2014  Tim Hall  Added license information.
    -- --------------------------------------------------------------------------
    
    g_debug  BOOLEAN := FALSE;
    
    PROCEDURE show_envelope(p_env     IN  VARCHAR2,
                            p_heading IN  VARCHAR2 DEFAULT NULL);
    
    
    
    -- ---------------------------------------------------------------------
    FUNCTION new_request(p_method        IN  VARCHAR2,
                         p_namespace     IN  VARCHAR2,
                         p_envelope_tag  IN  VARCHAR2 DEFAULT 'soap')
      RETURN t_request AS
    -- ---------------------------------------------------------------------
      l_request  t_request;
    BEGIN
      l_request.method       := p_method;
      l_request.namespace    := p_namespace;
      l_request.envelope_tag := p_envelope_tag;
      RETURN l_request;
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    PROCEDURE add_parameter(p_request  IN OUT NOCOPY  t_request,
                            p_name     IN             VARCHAR2,
                            p_value    IN             VARCHAR2,
                            p_type     IN             VARCHAR2 := NULL) AS
    -- ---------------------------------------------------------------------
    BEGIN
      IF p_type IS NULL THEN
        p_request.body := p_request.body||'<'||p_name||'>'||p_value||'</'||p_name||'>';
      ELSE
        p_request.body := p_request.body||'<'||p_name||' xsi:type="'||p_type||'">'||p_value||'</'||p_name||'>';
      END IF;
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    PROCEDURE add_complex_parameter(p_request  IN OUT NOCOPY  t_request,
                                    p_xml      IN             VARCHAR2) AS
    -- ---------------------------------------------------------------------
    BEGIN
      p_request.body := p_request.body||p_xml;
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    PROCEDURE generate_envelope(p_request  IN OUT NOCOPY  t_request,
                                    p_env      IN OUT NOCOPY  VARCHAR2) AS
    -- ---------------------------------------------------------------------
    BEGIN
      p_env := '<'||p_request.envelope_tag||':Envelope xmlns:'||p_request.envelope_tag||'="http://schemas.xmlsoap.org/soap/envelope/" ' ||
                   'xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">' ||
                 '<'||p_request.envelope_tag||':Body>' ||
                   '<'||p_request.method||' '||p_request.namespace||' '||p_request.envelope_tag||':encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">' ||
                       p_request.body ||
                   '</'||p_request.method||'>' ||
                 '</'||p_request.envelope_tag||':Body>' ||
               '</'||p_request.envelope_tag||':Envelope>';
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    PROCEDURE show_envelope(p_env     IN  VARCHAR2,
                            p_heading IN  VARCHAR2 DEFAULT NULL) AS
    -- ---------------------------------------------------------------------
      i      PLS_INTEGER;
      l_len  PLS_INTEGER;
    BEGIN
      IF g_debug THEN
        IF p_heading IS NOT NULL THEN
          DBMS_OUTPUT.put_line('*****' || p_heading || '*****');
        END IF;
    
        i := 1; l_len := LENGTH(p_env);
        WHILE (i <= l_len) LOOP
          DBMS_OUTPUT.put_line(SUBSTR(p_env, i, 60));
          i := i + 60;
        END LOOP;
      END IF;
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    PROCEDURE check_fault(p_response IN OUT NOCOPY  t_response) AS
    -- ---------------------------------------------------------------------
      l_fault_node    XMLTYPE;
      l_fault_code    VARCHAR2(256);
      l_fault_string  VARCHAR2(32767);
    BEGIN
      l_fault_node := p_response.doc.extract('/'||p_response.envelope_tag||':Fault',
                                             'xmlns:'||p_response.envelope_tag||'="http://schemas.xmlsoap.org/soap/envelope/');
      IF (l_fault_node IS NOT NULL) THEN
        l_fault_code   := l_fault_node.extract('/'||p_response.envelope_tag||':Fault/faultcode/child::text()',
                                               'xmlns:'||p_response.envelope_tag||'="http://schemas.xmlsoap.org/soap/envelope/').getstringval();
        l_fault_string := l_fault_node.extract('/'||p_response.envelope_tag||':Fault/faultstring/child::text()',
                                               'xmlns:'||p_response.envelope_tag||'="http://schemas.xmlsoap.org/soap/envelope/').getstringval();
        RAISE_APPLICATION_ERROR(-20000, l_fault_code || ' - ' || l_fault_string);
      END IF;
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    FUNCTION invoke(p_request IN OUT NOCOPY  t_request,
                    p_url     IN             VARCHAR2,
                    p_action  IN             VARCHAR2)
      RETURN t_response AS
    -- ---------------------------------------------------------------------
      l_envelope       VARCHAR2(32767);
      l_http_request   UTL_HTTP.req;
      l_http_response  UTL_HTTP.resp;
      l_response       t_response;
    BEGIN
      generate_envelope(p_request, l_envelope);
      show_envelope(l_envelope, 'Request');
      l_http_request := UTL_HTTP.begin_request(p_url, 'POST','HTTP/1.1');
      UTL_HTTP.set_header(l_http_request, 'Content-Type', 'text/xml');
      UTL_HTTP.set_header(l_http_request, 'Content-Length', LENGTH(l_envelope));
      UTL_HTTP.set_header(l_http_request, 'SOAPAction', p_action);
      UTL_HTTP.write_text(l_http_request, l_envelope);
      l_http_response := UTL_HTTP.get_response(l_http_request);
      UTL_HTTP.read_text(l_http_response, l_envelope);
      UTL_HTTP.end_response(l_http_response);
      show_envelope(l_envelope, 'Response');
      l_response.doc := XMLTYPE.createxml(l_envelope);
      l_response.envelope_tag := p_request.envelope_tag;
      l_response.doc := l_response.doc.extract('/'||l_response.envelope_tag||':Envelope/'||l_response.envelope_tag||':Body/child::node()',
                                               'xmlns:'||l_response.envelope_tag||'="http://schemas.xmlsoap.org/soap/envelope/"');
      check_fault(l_response);
      RETURN l_response;
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    FUNCTION get_return_value(p_response   IN OUT NOCOPY  t_response,
                              p_name       IN             VARCHAR2,
                              p_namespace  IN             VARCHAR2)
      RETURN VARCHAR2 AS
    -- ---------------------------------------------------------------------
    BEGIN
      RETURN p_response.doc.extract('//'||p_name||'/child::text()',p_namespace).getstringval();
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    PROCEDURE debug_on AS
    -- ---------------------------------------------------------------------
    BEGIN
      g_debug := TRUE;
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    PROCEDURE debug_off AS
    -- ---------------------------------------------------------------------
    BEGIN
      g_debug := FALSE;
    END;
    -- ---------------------------------------------------------------------
    
    END soap_api;
    /
    SHOW ERRORS
    show_envelope(l_envelope, 'Response');
      l_response.doc := XMLTYPE.createxml(l_envelope);
      l_response.envelope_tag := p_request.envelope_tag;
      l_response.doc := l_response.doc.extract('/'||l_response.envelope_tag||':Envelope/'||l_response.envelope_tag||':Body/child::node()',
                                               'xmlns:'||l_response.envelope_tag||'="http://schemas.xmlsoap.org/soap/envelope/"');
      check_fault(l_response);
      RETURN l_response;
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    FUNCTION get_return_value(p_response   IN OUT NOCOPY  t_response,
                              p_name       IN             VARCHAR2,
                              p_namespace  IN             VARCHAR2)
      RETURN VARCHAR2 AS
    -- ---------------------------------------------------------------------
    BEGIN
      RETURN p_response.doc.extract('//'||p_name||'/child::text()',p_namespace).getstringval();
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    PROCEDURE debug_on AS
    -- ---------------------------------------------------------------------
    BEGIN
      g_debug := TRUE;
    END;
    -- ---------------------------------------------------------------------
    
    
    
    -- ---------------------------------------------------------------------
    PROCEDURE debug_off AS
    -- ---------------------------------------------------------------------
    BEGIN
      g_debug := FALSE;
    END;
    -- ---------------------------------------------------------------------
    
    END soap_api;
    /
    SHOW ERRORS
    
    

    CREATE OR REPLACE FUNCTION MYTESTFUNCTION (p_int_1  IN  VARCHAR2
                                            )
      RETURN NUMBER
    AS
      l_request   soap_api.t_request;
      l_response  soap_api.t_response;
      l_return    VARCHAR2(32767);
      l_url          VARCHAR2(32767);
      l_namespace    VARCHAR2(32767);
      l_method       VARCHAR2(32767);
      l_soap_action  VARCHAR2(32767);
      l_result_name  VARCHAR2(32767);
    BEGIN
      l_url         := 'http://10.6.3.10:9090/appsTest/dynamicsAxservice/AxServices.svc';
      l_namespace   := 'xmlns="http://10.6.3.10:9090/appsTest/dynamicsAxservice/AxServices.svc/"';
      l_method      := 'ws_add';
      l_soap_action := 'http://10.6.3.10:9090/appsTest/dynamicsAxservice/AxServices.svc';
      l_result_name := 'return';
      l_request := soap_api.new_request(p_method       => l_method,
                                        p_namespace    => l_namespace);
      soap_api.add_parameter(p_request => l_request,
                             p_name    => 'int1',
                             p_type    => 'xsd:integer',
                             p_value   => p_int_1);
      l_response := soap_api.invoke(p_request => l_request,
                                    p_url     => l_url,
                                    p_action  => l_soap_action);
      l_return := soap_api.get_return_value(p_response  => l_response,
                                            p_name      => l_result_name,
                                            p_namespace => NULL);
      RETURN l_return;
    END;
    /
    
    
    
    

      <?xml version="1.0" encoding="utf-8" ?> 
    - <wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
    - <s:element name="test">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="myVal" type="s:string" /> 
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="testResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="testResult" type="s:string" /> 
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </wsdl:types>
    - <wsdl:message name="testSoapIn">
      <wsdl:part name="parameters" element="tns:test" /> 
      </wsdl:message>
    - <wsdl:message name="testSoapOut">
      <wsdl:part name="parameters" element="tns:testResponse" /> 
      </wsdl:message>
    - <wsdl:portType name="AxServiceSoap">
    - <wsdl:operation name="test">
      <wsdl:input message="tns:testSoapIn" /> 
      <wsdl:output message="tns:testSoapOut" /> 
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="AxServiceSoap" type="tns:AxServiceSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> 
    - <wsdl:operation name="test">
      <soap:operation soapAction="http://tempuri.org/test" style="document" /> 
    - <wsdl:input>
      <soap:body use="literal" /> 
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" /> 
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:binding name="AxServiceSoap12" type="tns:AxServiceSoap">
      <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> 
    - <wsdl:operation name="test">
      <soap12:operation soapAction="http://tempuri.org/test" style="document" /> 
    - <wsdl:input>
      <soap12:body use="literal" /> 
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" /> 
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="AxService">
    - <wsdl:port name="AxServiceSoap" binding="tns:AxServiceSoap">
      <soap:address location="http://10.6.3.10:9090/appsTest/dynamicsAxservice/AxService.asmx" /> 
      </wsdl:port>
    - <wsdl:port name="AxServiceSoap12" binding="tns:AxServiceSoap12">
      <soap12:address location="http://10.6.3.10:9090/appsTest/dynamicsAxservice/AxService.asmx" /> 
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    
    
    

    I get the following error.

    SQL > SELECT MYTESTFUNCTION ('TEST') FROM DUAL;

    SELECT MYTESTFUNCTION ('TEST') OF DOUBLE

    *

    ERROR on line 1:

    ORA-20000: a: ActionNotSupported - the message with Action

    & apos; http://10.6.3.10:9090/appsTest/dynamicsAxservice/AxServices.svc' Cannot process at the

    the receiver due to a mismatch at the EndpointDispatcher ContractFilter. This is perhaps due to

    a contract mismatch (incompatible between sender and recipient shares) or a link/security

    incompatibility between the sender and the receiver.  Verify that the sender and receiver have the same

    contract and the same link (including safety requirements, for example, Message, Transport, None).

    ORA-06512: at "OPERATIONS. SOAP_API', line 130

    ORA-06512: at "OPERATIONS. SOAP_API', line 163

    ORA-06512: at "OPERATIONS. MYTESTFUNCTION', line 25

    Thank you for your support.

    Post edited by: saam001

    Hello

    Finally, it worked.

    I write the code of the other work to take advantage.

    CREATE OR REPLACE FUNCTION MYTESTFUNCTION(myvalParam  IN  varchar2)   RETURN varchar2
      AS
        l_request   soap_api.t_request;
        l_response  soap_api.t_response;
        l_return    VARCHAR2(32767);
        l_url          VARCHAR2(32767);
        l_namespace    VARCHAR2(32767);
        l_method       VARCHAR2(32767);
        l_soap_action  VARCHAR2(32767);
        l_result_name  VARCHAR2(32767);
      BEGIN
        l_url         := 'http://10.6.3.10:9090/appsTest/dynamicsAxservice/AxService.asmx';
        l_namespace   := 'xmlns="http://tempuri.org/"';
        l_method      := 'test';
        l_soap_action := 'http://tempuri.org/test';
        l_result_name := 'testResult';
        l_request := soap_api.new_request(p_method       => l_method,
                                          p_namespace    => l_namespace);
    
        soap_api.add_parameter(p_request => l_request,
                               p_name    => 'myVal',
                               p_type    => 'xsd:string',
                               p_value   => myvalParam);
    
         l_response := soap_api.invoke(p_request => l_request, p_url     => l_url, p_action  => l_soap_action);
    l_return := soap_api.get_return_value(p_response  => l_response, p_name => l_result_name, p_namespace => l_namespace);
    
      RETURN l_return;
    
      END;
    
    
    
    -
    
    -
    
    -
    
    -
    
    -
    
    -
    
    
    
    
    
    
    
    
    
    -
    
    -
    
    -
    
    
    
    
    
    
    
    
    
    
    
    
    
    -
    
    
    
    
    
    -
    
    
    
    
    
    -
    
    -
    
    
    
    
    
    
    
    
    
    -
    
    
    
    -
    
    
    
    -
    
    
    
    
    
    -
    
    
    
    
    
    
    
    
    
    -
    
    
    
    -
    
    
    
    -
    
    
    
    
    
    -
    
    
    
    
    
    
    
    
    
    -
    
    -
    
    
    
    
    
    -
    
    
    
    
    
    
    
    
    
  • ORA-06512: at "RQSYS. RQEVALIMPL', line 77

    Hello

    I test our add-on R Oracle and I get errors when I try a use of the ore.lm function using the example in the "User Guide". Here's the example and errors:

    Example 4-2 using ore.lm

    longley_of <- ore.push(longley) # Fit full model oreFit1 <- ore.lm(Employed ~ ., data = longley_of) class(oreFit1) summary(oreFit1)

    > longley_of <-ore .push (longley)

    > oreFit1 <-ore.lm (employees ~., data = longley_of)

    Error in .oci. GetQuery (Conn., instruction, data = data = prefetch prefetch,):

    ORA-20000: RQuery error internal [rqerExec, 3, 0, 0]

    ORA-06512: at "RQSYS. RQEVALIMPL', line 77

    ORA-06512: at "RQSYS. RQEVALIMPL', line 74

    Thanks Sherry for your quick response on this issue.

    We have uninstalled company Oracle R and reinstalled and everything works now. Thanks again for your support! RA

  • Impdp ORA-39083 error: INDEX could not create with object type error:

    Hi Experts,

    I get the following error when importing schema HR after a fall it. The DB is r12.1.3 11.2.0.3 & ebs


    I did export with this command.

    patterns of HR/hr = hr = TEST_DIR dumpfile = HR.dmp logfile directory expdp = expdpHR.log statistics = none

    that the user HR with the option drop waterfall.


    And try to import it HR schemas in the database by the following.

    Impdp System/Manager schemas = hr = TEST_DIR dumpfile = HR.dmp logfile directory = expdpHR.log statistics = none

    Here is the error

    imported 'HR '. "" PQH_SS_PRINT_DATA "0 KB 0 rows

    ... imdoor 'HR '. "" PQH_TJR_SHADOW "0 KB 0 rows

    . . imported 'HR '. "" PQH_TXN_JOB_REQUIREMENTS "0 KB 0 rows

    . . imported 'HR '. "" PQH_WORKSHEET_BUDGET_SETS_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQH_WORKSHEET_DETAILS_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQH_WORKSHEET_PERIODS_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_ALIEN_TRANSACTION_DATA "0 KB 0 rows

    . . imported 'HR '. "" PQP_ANALYZED_ALIEN_DATA "0 KB 0 rows

    . . imported 'HR '. "" PQP_ANALYZED_ALIEN_DETAILS "0 KB 0 rows

    . . imported 'HR '. "" PQP_EXCEPTION_REPORTS_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_EXT_CROSS_PERSON_RECORDS "0 KB 0 rows

    . . imported 'HR '. "" PQP_FLXDU_FUNC_ATTRIBUTES "0 KB 0 rows

    . . imported 'HR '. "" PQP_FLXDU_XML_TAGS "0 KB 0 rows

    . . imported 'HR '. "" PQP_GAP_DURATION_SUMMARY "0 KB 0 rows

    . . imported 'HR '. "" PQP_PENSION_TYPES_F_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_SERVICE_HISTORY_PERIODS "0 KB 0 rows

    . . imported 'HR '. "" PQP_VEHICLE_ALLOCATIONS_F_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_VEHICLE_DETAILS_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_VEHICLE_REPOSITORY_F_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_VEH_ALLOC_EXTRA_INFO "0 KB 0 rows

    . . imported 'HR '. "" PQP_VEH_REPOS_EXTRA_INFO "0 KB 0 rows

    Processing object type SCHEMA_EXPORT/TABLE/SCHOLARSHIP/OWNER_GRANT/OBJECT_GRANT

    Processing object type SCHEMA_EXPORT/TABLE/SCHOLARSHIP/CROSS_SCHEMA/OBJECT_GRANT

    Object type SCHEMA_EXPORT/TABLE/COMMENT of treatment

    Object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC of treatment

    Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_INDEX/INDEX

    Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/treatment

    Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS of treatment

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_INDEX/INDEX_STATISTICS

    Object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY of treatment

    Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT of treatment

    Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX

    ORA-39083: Type what INDEX failed to create object error:

    ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE

    ORA-20000: Oracle text error:

    DRG-50857: error oracle in drvxtab.create_index_tables

    ORA-00959: tablespace "APPS_TS_TX_IDX_NEW" does not exist

    Because sql is:

    CREATE INDEXES ' HR'.»» IRC_POSTING_CON_TL_CTX' ON 'HR '. "" INDEXTYPE IRC_POSTING_CONTENTS_TL "("NAME") IS"CTXSYS. "' CONTEXT ' PARALLEL 1

    Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA

    Work 'SYSTEM '. "" SYS_IMPORT_SCHEMA_01 "completed with error (s 1) at 11:16:07

    SQL > select count (parameter), object_type from dba_objects where owner = 'HR' group by object_type.

    OBJECT_TYPE COUNT (OBJECT_NAME)

    ------------------ -------------------

    INDEX 37 PARTITION

    SEQUENCE OF 799

    TABLE 12 PARTITION

    LOB 70

    4 BODY PACKAGE

    PACKAGE OF 4

    3 RELAXATION

    2936 INDEX

    TABLE OF 1306

    Could you please suggest.

    Thank you

    MZ

    MZ,

    I get the following error when importing schema HR after a fall it. The DB is r12.1.3 11.2.0.3 & ebs


    Export and import of individual patterns of Oracle E-Business Suite stocked are not supported as this will violate referential integrity (except for custom schemas provided, you have no dependencies).

    Thank you

    Hussein

Maybe you are looking for