ORA 03113 error creating database

On Oracle 8.1.7, I've get an ORA 03113 error when creating the database. Pressing ignore leaves it hanging at 90%. I've tried creating db by copying files from CD and creating with custom parameters but same issue. There have been other threads regarding this error but no responses. I couldn't find any logs with specific error messages in my temp directory. Are there any logs I can refer to? How can I resolve this issue? I am on NT 4, SP6. Thanks.

Hi Tim,
Have you checked the setup files for the appropriate Net8 driver correctly installed on the server? I'd look at this you not have the correct Oracle networks drivers or a compatibility issue with them. Try reinstalling net8. This is really a Two-Task Common error (TTC) in the net8 stack.
HTH
Steve
On Oracle 8.1.7, I've get an ORA 03113 error when creating the database. Pressing ignore leaves it hanging at 90%. I've tried creating db by copying files from CD and creating with custom parameters but same issue. There have been other threads regarding this error but no responses. I couldn't find any logs with specific error messages in my temp directory. Are there any logs I can refer to? How can I resolve this issue? I am on NT 4, SP6. Thanks.

Similar Messages

  • Ora-03113 error with XMLTABLE inside subquery or view

    I'm getting ORA-03113 error if I use a result of XMLTABLE inside a subquery of another query (whether XMLTABLE is inline, or from a view). Code below to reproduce this - vastly simplified and now rather meaningless - but produces same error. Has anyone saw this error re. XMLTABLE or know of metalink bugs on this ? I couldn't find anything. I'm having to use deprecated table(xmlsequence) instead, which doesn't get this error.
    --DROP TABLE TEST
    CREATE TABLE TEST(ID number(10), CUST_REF varchar2(50 char), XMLDATA XMLTYPE);
    INSERT INTO TEST(ID, CUST_REF, XMLDATA) VALUES (1, 'XYZ',
    XMLTYPE('<?xml version="1.0" encoding="utf-16"?>
    <TESTXML
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="urn:ABC-123:TESTXML">
    <collections>
    <TRANSACTION_COLLECTION>
    <TRANSACTION>
    <RECORD_ID>1</RECORD_ID>
    <TRANSACTION_ID>7791786</TRANSACTION_ID>
    <AMOUNT>335</AMOUNT>
    <TYPE>I</TYPE>
    <DC>DR</DC>
    </TRANSACTION>
    </TRANSACTION_COLLECTION>
    </collections>
    </TESTXML>'));
    COMMIT;
    CREATE VIEW TEST_XMLVIEW
    AS
    SELECT
    ID,
    CUST_REF,
    xmltbl.RECORD_ID,
    xmltbl.TRANSACTION_ID,
    xmltbl.AMOUNT,
    xmltbl.TYPE,
    xmltbl.DC
    FROM TEST,
    XMLTable(XMLNamespaces(DEFAULT 'urn:ABC-123:TESTXML'),
    '/TESTXML/collections/TRANSACTION_COLLECTION/TRANSACTION' PASSING TEST.XMLDATA
    COLUMNS
    "RECORD_ID" number(10) PATH 'RECORD_ID',
    "TRANSACTION_ID" VARCHAR(200 CHAR) PATH 'TRANSACTION_ID',
    "DC" VARCHAR(200 CHAR) PATH 'DC',
    "TYPE" VARCHAR(200 CHAR) PATH 'TYPE',
    "AMOUNT" NUMBER(38,8) PATH 'AMOUNT')
    AS xmltbl;
    WITH SUM_AMOUNTS (ID, CUST_REF, SUM_1, SUM_2, SUM_3)
    AS
    (SELECT ID, CUST_REF, SUM(AMOUNT) AS SUM_1, SUM(AMOUNT) AS SUM_2, SUM(AMOUNT) + SUM(AMOUNT) AS SUM_3
    FROM TEST_XMLVIEW
    GROUP BY ID, CUST_REF)
    select
    ID,
    CUST_REF,
    SUM_1,
    SUM_2,
    SUM_3
    from SUM_AMOUNTS;
    Version Details:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE     11.2.0.2.0     Production
    TNS for 64-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    Has anyone saw this error re. XMLTABLE or know of metalink bugs on this ? I couldn't find anything.Really?
    Go to the trace directory and find the relevant trace/incident file.
    On my system, I can see something like this :
    ORA-07445: exception encountered: core dump [evaopn3()+656] [ACCESS_VIOLATION] [ADDR:0x0] [PC:0x234A5B6] [UNABLE_TO_READ] []Copy/paste that line into the ORA-00600/ORA-07445 look-up tool on My Oracle Support and run the search for your version.
    You will find this article :
    *ORA-7445 (evaopn3) [ID 860969.1]*
    and at the bottom of the page, among the known related bugs, this one :
    *Bug 12724375 : ORA-7445 [evaopn3] from XQuery with GROUP BY*

  • CTX_DDL.SYNC_INDEX  gives ORA-03113 error

    I am trying to use the CTX_DDL.SYNC_INDEX command in order to update the full Text Index on a table, which contains a word document as a binary object, but I get an ORA-03113 error every time I do this. I get the same error if the table contains an Excel file. It works perfectly OK if the table contains simple text files.

    Hi Barbara - thanks for your response.
    In answer to your questions;
    Oracle version is 9.2.0.1.0
    Table structure is created with following sql;
    CREATE TABLE DOCUMENTFILE
         (DOCUMENTFILEID      NUMBER (10,0) NOT NULL,
         DATA                LONG RAW,
         FILE_SIZE           NUMBER (10,0),
         FILENAME           VARCHAR2 (510),
         ENCRYPTIONKEY           VARCHAR2 (100),
         VALIDATIONKEY           VARCHAR2 (100),
         MIMETYPE           VARCHAR2 (255),
         FILEEXTENSION           CHAR (3),
         DELETED           NUMBER (1,0)
    Index is created with following command
    CREATE INDEX ORGANISATION_TEXT_INDEX
    ON COLLABORATOR.ORGANISATION(ORGANISATION_NAME)
    INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('');
    Resync command is as follows
    EXEC CTX_DDL.SYNC_INDEX('DOCUMENT_TEXT_INDEX');
    I am testing by runing the command via SQL Plus
    In response to question 'Are you using inso_filter or auto_filter? ' - I dont know
    Thanks for your help,
    Peter

  • Ora-03113 error in version 8.0.5

    kindly guide me through the procedure to solve ora-03113 error "end of file on communication channel" in database version 8.0.5

    after instance started up, in sqlplus type:
    SQL> show parameter background_dump_dest
    NAME TYPE VALUE
    background_dump_dest string /oracle/home92/admin/dump ->>>> this is in my caseGo to that folder (which is in your case) and there should be alert_YOUR_DB_NAME.log and open it with text editor and copy/paste last 100 lines here.
    Edited by: drop.any on Nov 2, 2009 2:53 AM

  • Deleting application results in ORA-03113 error

    I'm having trouble deleting applications from my workspace. Every time I attempt to delete an application, I get an ORA-03113 error.
    It doesn't seem to matter whether or not I choose to include the Application Definition or Supporting Objects when deleting.
    If I cancel and keep trying to delete the application, the db crashes. When this happens the .trc file shows multiple memory errors and the alert log shows multiple core dumps.
    db version = *10.2.0.1*
    apex version = *3.2*
    If anyone has experience with similar issues, any suggestions would appreciated. This problem has been a real pain.
    Keith Malay
    www.sds-cg.com

    Keith,
    There are quite a few hits on Metalink for this error. You may want to go there and see if you can find a patch (of which there seems to be several) or some other method of troubleshooting this problem.
    Here is what Doc ID: 1020463.6 has to say in the introduction:
    The ORA-3113 error is a general error reported by Oracle client tools,
    which signifies that they cannot communicate with the oracle shadow
    process. As it is such a general error more information must be collected
    to help determine what has happened.
    Than note's title is "Diagnosing ORA-3113 Errors".
    Good luck,
    Don.

  • ERROR CREATING DATABASE INSTANCE during the installation

    I try to install NW04 SP16 in my desktop. During the installation, one error occured that stop the installation process.
    I remembered last time I had the similar problem on my laptop. I reinstalled my Windows OS, and tried again, everything goes smooth.
    But now, I cannot reinstall the Windows OS in my client company.
    What seems to be the problem here?
    <i>ERROR      2006-11-03 14:38:49 [iaxxinscbk.cpp:289]
               abortInstallation
    CJS-00030  Assertion failed: in
    function sapdb_db_create(db_nm, db_host, db_ver) {
        var dep_root = sapdb_inst_root(db_nm);
        var sdb_i = new sdbInstance();
        sdb_i.dbName = db_nm;
        sdb_i.dbHost = db_host;
        sdb_i.dbVer = db_ver[0] + "." + db_ver[1];
        sdb_i.ctlUser = sapdb_get_db_user("CONTROL", db_nm, db_host);
        sdb_i.ctlUserPasswd = sapdb_get_db_user_passwd("CONTROL", db_nm, db_host);
        var actorObj = new SdbExtActor();
        actorObj.setSdbInstance(sdb_i);
        actorObj.setDbmCmd("DB_CREATE");
        actorObj.setExecutable(sapdb_dbmcli_path());
        actorObj.setDbRoot(dep_root);
        var rv = actorObj.sessionExecute();
        ASSERT(arguments.callee, rv == "OK", " SDB: ERROR CREATING DATABASE INSTANCE! Check the XCMDOUT.LOG FILE");
        var creation_ok = false;
        var i_size = actorObj.outSize();
        for (var i = 0; i < i_size; i++) {
            var s_line = actorObj.getOutputLine(i);
            if (/OK/.test(s_line)) {
                creation_ok = true;
        ASSERT(arguments.callee, creation_ok, "SDB: ERROR WHILE DB INSTANCE CREATION! CHECK THE XCMDOUT.LOG FILE! ");
    SDB: ERROR CREATING DATABASE INSTANCE! Check the XCMDOUT.LOG FILE</i>
    Thanks for advise.
    Kent

    Hi, I have exactly the same problem. How do you solved this issue?

  • Error ORA-03113 on creating a database by DBASSIST

    Hi
    I have installed Oracle 8.1.7 on a HP-UX V11.0 with no problems, but when I will be create a database on dbassist I have the error message:
    ORA-03113: end-of-file on communication channel
    Anybody know´s what is that problem....
    Thank´s
    Cristiano S. Carneiro
    Brazil

    Hi
    Now it's working ok!
    I set the SEMMNS kernel parameter to 2000 and then the database create work right.
    Thank's
    Cristiano S. Carneiro
    Brazil

  • Cannot create database ORA-03113 error

    Hi all,
    I ve just installed oracle 9i on win2k server , after installation i went to create a
    database using DBCA. After filling up the necessary, when i click on create database it gives me the following error.
    ORA-03113: end-of-file on communication channel
    Though i am getting a ignore option i preferred aborting it.
    Someone please help

    hi 477985,
    Is it some thing tat you want to create the db using wizard. you can actually save it as a script and run tat.
    Anyway, just check for disk & physical memory. Stop if any other server or service is running and give a try
    Cheers,
    kamaslesh jk

  • ORA-03113: Error while upgrading the Database from 11.1.0.6 to 11.1.0.7

    Hi,
    I am trying to upgrade the database from 11.1.0.6 to 11.1.0.7 on OEL operating system.
    After applying the patch "6890831" when trying to start the database using "Startup Upgrade" command I am getting the below error.
    ORA-03113: end-of-file on communication channel
    Process ID: 20826
    Session ID: 170 Serial number: 3
    I am getting the same error when trying to create the new database using "DBCA".
    Please provide me the probable outcomes.
    Thanks
    Amith

    Below entries found in alert_orcl.log file
    MMNL started with pid=15, OS id=20571
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = /u01/app/oracle
    Thu Dec 03 20:11:11 2009
    ALTER DATABASE MOUNT
    Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_mman_20557.trc:
    ORA-27103: internal error
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    Additional information: -1
    Additional information: 1
    MMAN (ospid: 20557): terminating the instance due to error 27103
    Instance terminated by MMAN, pid = 20557
    Below entries found in the Trace file generated
    error 27103 detected in background process
    ORA-27103: internal error
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    Additional information: -1
    Additional information: 1
    *** 2009-12-03 20:11:14.727
    MMAN (ospid: 20557): terminating the instance due to error 27103

  • ORA-30014: error while database is getting created

    hi ,
    I ma trying to create a database in oracle10g, My sql file is as follows:
    create database foo
    maxlogfiles 16
    maxlogmembers 3
    maxdatafiles 30
    maxinstances 1
    maxloghistory 100
    datafile '/db05/foo/system.dbf' size 300M
    extent management local
    sysaux datafile '/db05/foo/sysaux.dbf' size 120M
    default temporary tablespace temp tempfile '/db05/foo/temp01.dbf' size 20M
    undo tablespace undotbs1 datafile size 200M
    logfile
    group 1 (
    '/db01/foo/log1a.rdo',
    '/db01/foo/log1b.rdo'
    ) size 50M,
    group 2 (
    '/db02/foo/log2a.rdo',
    '/db02/foo/log2b.rdo'
    ) size 50M,
    group 3 (
    '/db03/foo/log3a.rdo',
    '/db03/foo/log3b.rdo'
    ) size 50M;
    I am logged in
    sqlplus /nolog
    connect as sys/xxx as SYSDBA
    startup no mount
    @create_db_foo.sql
    i am getting the following error :
    ORA-30014: operation only supported in Automatic Undo Management mode
    do u i need to change some ora files... please help ?
    rajitha

    hello
    pls check ur pfile see undo_management parameter

  • ORA-03113 error in ifsconfig 9.0.1

    Hi,
    I'm new to Oracle, and I'd like to see what IFS can do. Unfortunatelly, I get an error message when lauching ifsconfig.
    First I "complete 9Ifs configuration" on the first screen. Then I enter my TNS service name and th SYS password.
    When clicking Next, the oracle connection test begins, until it gets to the "Verifying Oracle JServ" phase (the fifth one). It then fails and I got the following error message :
    "Oracle test failed.
    The following error occured: oracle.ifs.utils.action.ActionFailedExecption:errir executing loadjava process. The output given was:
    Error while creating class oracle/ifs/installer/Testjave
    ORA-03113: end-of-file on communication channel
    The following operations failed class oracle/ifs/installer/Testjava:creation
    exiting:failures occured during processing"
    Can anyone help me ?
    Thanks.

    This error means that the JServer in Oracle database is either not configured or it is misconfigured.
    Please reconfigure your JServer if you have not already done so.
    Also note that it is JServer and not JServ. They are two totally different things.

  • Oracle 9i R2 Installation on Linux -ORA-03113 error

    I am in the process of installing Oracle 9i R2 trail version on Linux Server 2.2.4. The software did get installed but the DBCA did not create the sample database.
    The error I get is:
    ORA-03113:end-of-file on communication channel.
    I have also after the installation re-run the DBCA but get the same error. Any help will be appreciated.
    Thank you

    Please post this question in the Database - Installation forum. The URL is:
    Database Installation

  • ORA-03113 error on basic insert using XML

    I am getting this error:
    Connected to:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    SQL> desc edi_holidays
    Name                                      Null?    Type
    HOLIDAY                                            DATE
    SQL> alter session set sql_trace=true;
    Session altered.
    SQL> truncate table edi_holidays;
    Table truncated.
    SQL>       SELECT to_date(extractvalue(COLUMN_VALUE, '/SubValueMark/@Value'),
      2                       'mm/dd/yyyy') holidays
      3          FROM xmltable('/root/Record[1]/ValueMark[@Index > 10]/SubValueMark'
      4                        passing prl_bpl_api.getediholidays('edi', 'SF.PARMS'));
    HOLIDAYS
    29-MAY-06
    04-JUL-06
    04-SEP-06
    23-NOV-06
    24-NOV-06
    25-DEC-06
    26-DEC-06
    01-JAN-06
    8 rows selected.
    SQL> INSERT INTO edi_holidays
      2        SELECT to_date(extractvalue(COLUMN_VALUE, '/SubValueMark/@Value'),
      3                       'mm/dd/yyyy') holidays
      4          FROM xmltable('/root/Record[1]/ValueMark[@Index > 10]/SubValueMark'
      5                        passing prl_bpl_api.getediholidays('edi', 'SF.PARMS'));
    8 rows created.
    SQL> commit;
    Commit complete.
    SQL> select * from edi_holidays;
    HOLIDAY
    29-MAY-06
    04-JUL-06
    04-SEP-06
    23-NOV-06
    24-NOV-06
    25-DEC-06
    26-DEC-06
    01-JAN-06
    8 rows selected.
    SQL> begin
      2  INSERT INTO edi_holidays
      3        SELECT to_date(extractvalue(COLUMN_VALUE, '/SubValueMark/@Value'),
      4                       'mm/dd/yyyy') holidays
      5          FROM xmltable('/root/Record[1]/ValueMark[@Index > 10]/SubValueMark'
      6                        passing prl_bpl_api.getediholidays('edi', 'SF.PARMS'));
      7
      8  end;
      9  /
    begin
    ERROR at line 1:
    ORA-03113: end-of-file on communication channelAny idea what might be happening. I also checked this in another session (with the anonymous block).
    Connected.
    SQL> begin
      2      insert into edi_holidays select sysdate from dual;
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> select * from edi_holidays;
    HOLIDAY
    18-SEP-06

    Below is the relevant code.
    In here the procedure sys_sys_utility.processerror is a Autonomous Transaction procedure for Error Logging
    and sys_sys_utility.who_am_i is a program pretty much reused from here
    http://asktom.oracle.com/~tkyte/who_called_me/who.sql
    Also, sys_sys_soapapi is an api provided to me to implement the SOAP Protocol.
    SQL> desc edi_holidays;
    Name                                      Null?    Type
    HOLIDAY                                            DATE
    CREATE OR REPLACE PACKAGE sys_sys_soapapi IS
        TYPE t_request IS RECORD(
             method       VARCHAR2(256)
            ,namespace    VARCHAR2(256)
            ,BODY         CLOB
            ,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-ENV'
        ) RETURN t_request;
        PROCEDURE add_parameter
            p_request IN OUT NOCOPY t_request
           ,p_name    IN VARCHAR2
           ,p_type    IN VARCHAR2
           ,p_value   IN CLOB
        PROCEDURE add_parameter
            p_request IN OUT NOCOPY t_request
           ,p_name    IN VARCHAR2
           ,p_type    IN VARCHAR2
           ,p_value   IN xmltype
        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;
    END sys_sys_soapapi;
    CREATE OR REPLACE PACKAGE BODY sys_sys_soapapi IS
      FUNCTION new_request(p_method       IN VARCHAR2,
                           p_namespace    IN VARCHAR2,
                           p_envelope_tag IN VARCHAR2 DEFAULT 'SOAP-ENV')
        RETURN t_request AS
        v_request t_request;
      BEGIN
        v_request.method       := p_method;
        v_request.namespace    := p_namespace;
        v_request.envelope_tag := p_envelope_tag;
        RETURN v_request;
      EXCEPTION
        WHEN OTHERS THEN
          sys_sys_utility.processerror(SQLCODE,
                                       '[' || SQLERRM || ']',
                                       sys_sys_utility.who_am_i || 'new_request');
          RAISE;
      END;
      PROCEDURE add_parameter(p_request IN OUT NOCOPY t_request,
                              p_name    IN VARCHAR2,
                              p_type    IN VARCHAR2,
                              p_value   IN CLOB) AS
      BEGIN
        p_request.BODY := p_request.BODY || '<' || p_name || ' xsi:type="' ||
                          p_type || '">' || p_value || '</' || p_name || '>';
      EXCEPTION
        WHEN OTHERS THEN
          sys_sys_utility.processerror(SQLCODE,
                                       '[' || SQLERRM || ']',
                                       sys_sys_utility.who_am_i || 'add_parameter');
          RAISE;
      END add_parameter;
      PROCEDURE add_parameter(p_request IN OUT NOCOPY t_request,
                              p_name    IN VARCHAR2,
                              p_type    IN VARCHAR2,
                              p_value   IN xmltype) AS
      BEGIN
        dbms_output.put_line('xmlversion');
        /* p_request.BODY := p_request.BODY || '<' || p_name || ' xsi:type="' ||
        p_type || '">' || p_value.getclobval ||
        '></' || p_name || '>'; */
        p_request.BODY := p_request.BODY || '<' || p_name || ' xsi:type="' ||
                          p_type || '"><![CDATA[' || p_value.getclobval || ']]></' ||
                          p_name || '>';
      EXCEPTION
        WHEN OTHERS THEN
          sys_sys_utility.processerror(SQLCODE,
                                       '[' || SQLERRM || ']',
                                       sys_sys_utility.who_am_i || 'add_parameter');
          RAISE;
      END add_parameter;
      PROCEDURE generate_envelope(p_request IN OUT NOCOPY t_request,
                                  p_env     IN OUT NOCOPY CLOB) AS
      BEGIN
        p_env := '<?xml version="1.0" encoding="utf-8" ?><' ||
                 p_request.envelope_tag || ':Envelope xmlns:' ||
                 p_request.envelope_tag ||
                 '="http://schemas.xmlsoap.org/soap/envelope/" ' ||
                 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">' || '<' ||
                 p_request.envelope_tag || ':Body>' || '<' || p_request.method || ' ' ||
                 p_request.namespace || '>' || p_request.BODY || '</' ||
                 p_request.method || '>' || '</' || p_request.envelope_tag ||
                 ':Body>' || '</' || p_request.envelope_tag || ':Envelope>';
      EXCEPTION
        WHEN OTHERS THEN
          sys_sys_utility.processerror(SQLCODE,
                                       '[' || SQLERRM || ']',
                                       sys_sys_utility.who_am_i ||
                                       'generate_envelope');
          RAISE;
      END generate_envelope;
      PROCEDURE show_envelope(p_env IN CLOB) AS
        i     PLS_INTEGER;
        v_len PLS_INTEGER;
      BEGIN
        i     := 1;
        v_len := length(p_env);
        WHILE (i <= v_len)
        LOOP
          dbms_output.put_line(substr(p_env, i, 255));
          i := i + 255;
        END LOOP;
      EXCEPTION
        WHEN OTHERS THEN
          sys_sys_utility.processerror(SQLCODE,
                                       '[' || SQLERRM || ']',
                                       sys_sys_utility.who_am_i || 'show_envelope');
          RAISE;
      END show_envelope;
      PROCEDURE check_fault(p_response IN OUT NOCOPY t_response) AS
        v_fault_node   xmltype;
        v_fault_code   VARCHAR2(256);
        v_fault_string VARCHAR2(32767);
      BEGIN
        v_fault_node := p_response.doc.extract('/' || p_response.envelope_tag ||
                                               ':Fault',
                                               'xmlns:' || p_response.envelope_tag ||
                                               '="http://schemas.xmlsoap.org/soap/envelope/');
        IF (v_fault_node IS NOT NULL)
        THEN
          v_fault_code   := v_fault_node.extract('/' || p_response.envelope_tag ||
                                                 ':Fault/faultcode/child::text()',
                                                 'xmlns:' || p_response.envelope_tag ||
                                                 '="http://schemas.xmlsoap.org/soap/envelope/')
                           .getstringval();
          v_fault_string := v_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, v_fault_code || ' - ' || v_fault_string);
        END IF;
      EXCEPTION
        WHEN OTHERS THEN
          sys_sys_utility.processerror(SQLCODE,
                                       '[' || SQLERRM || ']',
                                       sys_sys_utility.who_am_i || 'check_fault');
          RAISE;
      END check_fault;
      FUNCTION invoke(p_request IN OUT NOCOPY t_request,
                      p_url     IN VARCHAR2,
                      p_action  IN VARCHAR2) RETURN t_response AS
        v_envelope      CLOB;
        v_http_request  utl_http.req;
        v_http_response utl_http.resp;
        v_response      t_response;
        v_rawresponse   CLOB;
        v_request_len   INTEGER;
        v_request_indx  INTEGER := 1;
        v_request_txt   VARCHAR(32767);
      BEGIN
        generate_envelope(p_request, v_envelope);
        --show_envelope(v_envelope);
        v_http_request := utl_http.begin_request(p_url, 'POST', 'HTTP/1.1');
        utl_http.set_header(v_http_request, 'Content-Type', 'text/xml');
        v_request_len := length(v_envelope);
        utl_http.set_header(v_http_request, 'Content-Length', v_request_len);
        utl_http.set_header(v_http_request, 'SOAPAction', p_action);
        --Send Request Piecewise
        v_request_indx := 1;
        LOOP
          EXIT WHEN v_request_indx >= v_request_len;
          v_request_txt := substr(v_envelope, v_request_indx, 32767);
          utl_http.write_text(v_http_request, v_request_txt);
          v_request_indx := v_request_indx + 32767;
        END LOOP;
        --Get Response
        v_http_response := utl_http.get_response(v_http_request);
        --Extract Response Text
        BEGIN
          LOOP
            utl_http.read_text(v_http_response, v_envelope);
            v_rawresponse := v_rawresponse || v_envelope;
          END LOOP;
        EXCEPTION
          WHEN utl_http.end_of_body THEN
            NULL;
          WHEN OTHERS THEN
            dbms_output.put_line('In the invoke utl_http.read_text procedure');
            RAISE;
        END;
        -- End Response
        utl_http.end_response(v_http_response);
        --Format My Response
        v_response.doc := xmltype.createxml(v_rawresponse);
        v_response.envelope_tag := p_request.envelope_tag;
        -- Remove Envelope Headers
        v_response.doc := v_response.doc.extract('/' || v_response.envelope_tag ||
                                                 ':Envelope/' ||
                                                 v_response.envelope_tag ||
                                                 ':Body/child::node()',
                                                 'xmlns:' || v_response.envelope_tag ||
                                                 '="http://schemas.xmlsoap.org/soap/envelope/"');
        /*BEGIN
          NULL;
          show_envelope(v_response.doc.getstringval());
        EXCEPTION
          WHEN OTHERS THEN
            dbms_output.put_line('Error in show envelope: ' || SQLERRM);
        END;*/
        check_fault(v_response);
        RETURN v_response;
      EXCEPTION
        WHEN OTHERS THEN
          sys_sys_utility.processerror(SQLCODE,
                                       '[' || SQLERRM || ']',
                                       sys_sys_utility.who_am_i || 'invoke');
          RAISE;
      END invoke;
      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();
      EXCEPTION
        WHEN OTHERS THEN
          sys_sys_utility.processerror(SQLCODE,
                                       '[' || SQLERRM || ']',
                                       sys_sys_utility.who_am_i ||
                                       'get_return_value');
          RAISE;
      END get_return_value;
    END sys_sys_soapapi;
      FUNCTION getediholidays(p_suser    sys_user.username%TYPE DEFAULT NULL,
                              p_transkey VARCHAR2) RETURN xmltype IS
        l_request  sys_sys_soapapi.t_request;
        l_response sys_sys_soapapi.t_response;
        --l_response_value VARCHAR2(500);
        v_action       VARCHAR2(1000);
        l_response_xml xmltype;
      BEGIN
        -- Set proxy details if no direct net connection.
        --UTL_HTTP.set_proxy('myproxy:4480', NULL);
        --UTL_HTTP.set_persistent_conn_support(TRUE);
        v_action  := v_prelude_ws_action || '/GetEdiHolidays';
        l_request := sys_sys_soapapi.new_request(p_method       => 'GetEdiHolidays',
                                                 p_namespace    => v_prelude_ws_namespace,
                                                 p_envelope_tag => 'soap');
        sys_sys_soapapi.add_parameter(p_request => l_request,
                                      p_name    => 'sAccount',
                                      p_type    => 'xsd:string',
                                      p_value   => v_prelude_ws_account);
        sys_sys_soapapi.add_parameter(p_request => l_request,
                                      p_name    => 'sUser',
                                      p_type    => 'xsd:string',
                                      p_value   => p_suser);
        sys_sys_soapapi.add_parameter(p_request => l_request,
                                      p_name    => 'sTransKey',
                                      p_type    => 'xsd:string',
                                      p_value   => p_transkey);
        l_response := sys_sys_soapapi.invoke(p_request => l_request,
                                             p_url     => v_prelude_ws_url,
                                             p_action  => v_action);
        --dbms_output.put_line('hi ' || l_response.doc.getstringval());
        SELECT extract(l_response.doc,
                       '/GetEdiHolidaysResponse/GetEdiHolidaysResult/child::node()',
                       v_prelude_ws_namespace)
          INTO l_response_xml
          FROM dual;
        RETURN l_response_xml;
      EXCEPTION
        WHEN OTHERS THEN
          sys_sys_utility.processerror(SQLCODE,
                                       '[' || SQLERRM || ']',
                                       sys_sys_utility.who_am_i || 'getediholidays');
          RAISE;
      END getediholidays;Mark, also, please feel free to comment on any improvements in the code. btw, if this doesn't work, I am planning to go and use collections to get the holidays and then make use of them.
    Message was edited by:
    rputtagunta

  • Getting ORA-32700 while creating database

    I am getting following error when creating the database :
    ORA-32700 error occurred in DIAG Group Service
    The error description is as follows :
    Cause: An unexpected error occurred while performing a DIAG Group Service operation.
    Action: Verify that the DIAG process is still active. Also, check the Oracle DIAG trace files for errors.
    The setup is as follows :
    Database : Oracle 9i Rel 2.
    OS : IBM AIX 4.3.3
    We are trying to create the database from sqlplus/dbca. It seems that in the database creation process it is throwing the error while it is trying to create the control files.
    listener.ora :
    LSNR_TSEDMDB2 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = prcsmbk1)(PORT = 1522))
    TNSNAMES.ORA
    LISTENER_TSEDMDB2 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = prcsmbk1)(PORT = 1522))
    We have IBM HACMP Cluster setup on 3 machines. This machine (prcsmbk1) on which I am getting the error while creating the database is part of that HACMP cluster. While installing the Oracle database software also it gave me a list of the 3 machines which are in HACMP cluster. We are not planning to setup RAC, but still it seems like while creating the database control files Oracle is trying to perform some group service operation.
    Alert log :
    Sat Jan 3 03:31:18 2004
    Starting ORACLE instance (normal)
    Sat Jan 3 03:31:18 2004
    Global Enqueue Service Resources = 64, pool = 4
    Sat Jan 3 03:31:18 2004
    Global Enqueue Service Enqueues = 128
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    GES IPC: Receivers 1 Senders 1
    GES IPC: Buffers Receive 1000 Send 530 Reserve 300
    GES IPC: Msg Size Regular 432 Batch 2048
    SCN scheme 3
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.4.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 117440512
    large_pool_size = 16777216
    java_pool_size = 117440512
    control_files = /u01/app/oracle/oradata/TSEDMDB2/control01.ctl
    db_block_size = 8192
    db_cache_size = 33554432
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 16
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = TSEDMDB2
    dispatchers = (PROTOCOL=TCP) (SERVICE=TSEDMDB2XDB)
    local_listener = LISTENER_TSEDMDB2
    job_queue_processes = 10
    hash_join_enabled = TRUE
    background_dump_dest = /u01/app/oracle/admin/TSEDMDB2/bdump
    user_dump_dest = /u01/app/oracle/admin/TSEDMDB2/udump
    core_dump_dest = /u01/app/oracle/admin/TSEDMDB2/cdump
    sort_area_size = 524288
    db_name = TSEDMDB2
    open_cursors = 300
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 25165824
    aq_tm_processes = 1
    Sat Jan 3 03:31:19 2004
    clUster interconnect IPC version:Oracle UDP/IP
    IPC Vendor 1 proto 2 Version 1.0
    PMON started with pid=2
    DIAG started with pid=3
    LMON started with pid=4
    LMD0 started with pid=5
    DBW0 started with pid=6
    LGWR started with pid=7
    CKPT started with pid=8
    SMON started with pid=9
    RECO started with pid=10
    CJQ0 started with pid=11
    QMN0 started with pid=12
    Sat Jan 3 03:31:24 2004
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Sat Jan 3 03:31:25 2004
    Create controlfile reuse set database TSEDMDB2
    MAXINSTANCES 1
    MAXLOGHISTORY 1
    MAXLOGFILES 50
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    Datafile
    '/u01/app/oracle/oradata/TSEDMDB2/cwmlite01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/drsys01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/example01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/indx01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/odm01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/system01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/tools01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/undotbs01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/users01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/xdb01.dbf'
    LOGFILE GROUP 1 ('/u01/app/oracle/oradata/TSEDMDB2/redo01.log') SIZE 102400K,
    GROUP 2 ('/u01/app/oracle/oradata/TSEDMDB2/redo02.log') SIZE 102400K,
    GROUP 3 ('/u01/app/oracle/oradata/TSEDMDB2/redo03.log') SIZE 102400K RESETLOGS
    Sat Jan 3 03:31:25 2004
    ORA-1503 signalled during: Create controlfile reuse set database TSEDMDB2
    MAX...
    Sat Jan 3 03:32:28 2004
    Restarting dead background process QMN0
    QMN0 started with pid=15
    Sat Jan 3 03:32:28 2004
    Shutting down instance (abort)
    License high water mark = 3
    Instance terminated by USER, pid = 47128
    Diag trace file :
    /u01/app/oracle/admin/TSEDMDB2/bdump/tsedmdb2_diag_49754.trc
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    ORACLE_HOME = /u01/app/oracle/product/9.2.0
    System name: AIX
    Node name: prcsmbk1
    Release: 3
    Version: 4
    Machine: 0002599F4C00
    Instance name: TSEDMDB2
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 0
    49754
    Number of Serviceable Networks detected is less than 2
    Disabling Transparent Network Failover Feature.
    *** SESSION ID:(2.1) 2004-01-03 03:31:19.886
    kjzcprt:rcv port created
    kjzmreg2: slos err[1 19 [HA_GS_CONNECT_FAILED] sskgxn_gs_in 19]
    [kjzmreg2]: Error [category=1] is encountered
    Node monitor problem:[32700][kjzmreg2]
    Membership is lost in DIAG group
    Any help is appreciated. Thanks in advance.

    Thanks a lot for all your responses. We found the issue. The issue was that when we installed 9i we selected Enterprise option which installed RAC also. And after that when we were trying to create database Oracle was thinking that we are trying to create database in RAC env. and most likely it was trying to create/sync the control files on all the machines in the cluster.
    The sequence of events were as below :
    1. We have 8i installed on this machine
    2. We installed 9i (9.2.0.1.0) using the same ORACLE_BASE but different ORACLE_HOME. We didn't select "Custom Install". We selected "Enterprise install" option
    3. We installed new installer (2.2.0.18.0 ) and then 9i patch (9.2.0.4.0)
    4. While creating the database (manually & through DBCA) we were getting ORA-32700
    5. We tried to uninstall (using OUI 2.2.0.18.0) 9i (including the patch) completely but it never succeeded. We noticed that when we started uninstall it did show progress for about 20 minutes and after that it didn't show any progress. It was not taking any CPU cycles and It was not writing to the log file either. Basically we were never able to cleanly uninstall 9i. We tried almost 2 to 3 times.
    6. Then we installed 9i using a new ORACLE_BASE and this time we selected "Custom Install" and we did not install RAC. This is successful
    7. Then we installed new installer (2.2.0.18.0 ) and we tried to install the 9i patch (9.2.0.4.0) using this new installer but it never succeeded. Then we tried to install the 9i patch (9.2.0.4.0) using the old installer version (2.2.0.11.0) and it was also successful.
    8. Then we tried to create database using DBCA and it was successful and then we dropped the database which was created using DBCA and then we created it manually through SQLPLUS and this was fine too.
    So basically what we learned from this exercise is that if we are installing 9i on a machine which is part of a cluster and if we don't plan to setup RAC then we shouldn't install RAC and we should do a custom install. I wish there was a option in create database stmt to tell Oracle that though we are creating database on a machine which is part of a cluster environment but we don't intend to setup RAC.
    And other thing which is still a mystery is that why does the uninstall never completes successfully. One question on this : We were using the installer version 2.2.0.18.0 to uninstall the 9i software. Do we need to use the older version (2.2.0.11.0) of the OUI?

  • ORA-03113 error occurs when trying to insert record using procedure

    I have a Database Block whose DML Data Target Type is Procedure. I have given the Insert Procedure Name, Insert Procedure Arguments and Insert Procedure ResultSet Columns. The procedure which is used to insert record into the table, resides in the database. The procedure for insert takes Table of records as argument. I am getting FRM-40735: INSERT-PROCEDURE trigger raised unhandled exception ORA-03113).
    This exception does not occur if the Procedure is place under Program Units. But, I want the procedure to be under Database Block. I am working on Oracle Forms 6i.
    Please help me out in resolving this.

    Hello,
    I think you should call the support for this kind of error.
    Francois

Maybe you are looking for