ORA-03113 error message

Dear all
I write down a storeprocedure,then I wanna mount it on DB
When I using Quest Toad software to mount this storeprocedure.
It returns error message ORA-03113 EOF channel.
Then it is broken with DB connection.
I have shutdown my ORACLE Service several times.
It still echo the same error message.
God~~who can tell me how to solve this problem.
Thanks!!!!!

this error will normally occurs
dur to network failure;
first u check u r connect to oracle by sql* plus or not.
for more information
read this
http://www.orafaq.com/error/ora-03113.htm
hope it will help u
kuljeet pal singh

Similar Messages

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

  • KR TAX LOCALIZATION REPORT 실행시의 ORA-20000, ORA-06512 ERROR MESSAGE

    제품 : FIN_AP
    작성날짜 : 2002-12-02
    KR TAX LOCALIZATION REPORT 실행시의 ORA-20000, ORA-06512 ERROR MESSAGE
    ===================================================================
    PURPOSE
    Multi-Org 환경속에서 Kr Tax Localization Report 실행시의 ORA-20000, ORA-06512 Error Message 를 해결한다.
    Problem Description
    Kr Tax Localization의 Reports가 Error를 발생하고, View Log를 통해 확인한 Message가 다음과 같을 경우
    ORA-20000: APP-00001: Unable to find message:
    AR_NO_ROW_IN_SYSTEM_PARAMETERS
    ORA-06512: "APPS.ARP_STANDARD", 줄 999에서
    ORA-06512: "APPS.ARP_STANDARD", 줄 2246에서
    ORA-06512: "APPS.ARP_UTIL", 줄 29에서
    ORA-06512: "APPS.ARP_UTIL_TAX", 줄 111에서
    ORA-06512: "APPS.ARP_TAX_EXTRACT", 줄 6178에서
    ORA-06512: 줄 1에서
    Workaround
    Solution Description
    1) fnd_client_info.set_org_context(<org_id>);
    or
    2) v_org_id varchar2(10);
    v_org_id := fnd_profile.value('ORG_ID');
    fnd_client_info.set_org_context(v_org_id);
    .rdf 의 경우 : Before Report Trigger 에 추가
    .sql (Package Body, Procedure) 의 경우 : 각 Begin 절 이후
    Reference Documents
    -------------------

    제품 : FIN_AP
    작성날짜 : 2002-12-02
    KR TAX LOCALIZATION REPORT 실행시의 ORA-20000, ORA-06512 ERROR MESSAGE
    ===================================================================
    PURPOSE
    Multi-Org 환경속에서 Kr Tax Localization Report 실행시의 ORA-20000, ORA-06512 Error Message 를 해결한다.
    Problem Description
    Kr Tax Localization의 Reports가 Error를 발생하고, View Log를 통해 확인한 Message가 다음과 같을 경우
    ORA-20000: APP-00001: Unable to find message:
    AR_NO_ROW_IN_SYSTEM_PARAMETERS
    ORA-06512: "APPS.ARP_STANDARD", 줄 999에서
    ORA-06512: "APPS.ARP_STANDARD", 줄 2246에서
    ORA-06512: "APPS.ARP_UTIL", 줄 29에서
    ORA-06512: "APPS.ARP_UTIL_TAX", 줄 111에서
    ORA-06512: "APPS.ARP_TAX_EXTRACT", 줄 6178에서
    ORA-06512: 줄 1에서
    Workaround
    Solution Description
    1) fnd_client_info.set_org_context(<org_id>);
    or
    2) v_org_id varchar2(10);
    v_org_id := fnd_profile.value('ORG_ID');
    fnd_client_info.set_org_context(v_org_id);
    .rdf 의 경우 : Before Report Trigger 에 추가
    .sql (Package Body, Procedure) 의 경우 : 각 Begin 절 이후
    Reference Documents
    -------------------

  • Forms Developer: ORA-12560 error message

    I am a novice Oracle 10g user, and have reached a dead-end regarding opening an existing form (.fmb) in Forms Builder. The ORA-12560 error message is generated:
    "TNS protocol error". Consulting OTN, I learned that the Oracle SID service is required to be started for a form to be displayed in a web browser. When I checked the services window in XP Professional, I found OracleServiceOrcl to be started. I also specifed iexplore.exe to in the Runtime tab in Forms Builder Preferences. Any assistance with this issue will be appreciated.
    Jim Elgie

    The URL looks quite strange to me:
    http://lap_top:8888/forms90/f90servlet?form=E:\cis355@userid=scott\tiger@buffer_records=no@debug_message
    Looks like the "@" is used to separate the parameters which is new to me. Normally it's either "&" or "+". You can set the separator somewhere, cannot thou remember where? Registry? Also the userid isn't complete. The database name is missing, and even if it was there. How could the server know what's what? I mean, connect is done by user/pass@db, and if "@" is used as a separator...
    Try this URL:
    http://lap_top:8888/forms90/f90servlet?form=E:\cis355.fmx&userid=scott/tiger@orcl
    Regards,
    Martin Malmstrom

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

  • 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

  • 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*

  • ORA - 01591 error message

    Hello there!
    I wonder if anyone could help us on this. We are using Oracle 7.3.4 and have created a public db link with another database that resides in a mainframe. We took an ORA - 01591 error message when we tried to update a table of the remote database from a stored procedure(using the db link). The strange thing is that noone was dealing with the specific table at the moment !!
    What happened?? I lost the tables that took part in the transaction because we couldn't rebuild them neither could we manually end the in doupt transaction.
    Any ideas why that kind of thing happened ??? How possible is to take the same error message??

    Hello dear,
    We use oracle7 Release 3.3.4.0.
    I could not connect to the database through the SQL.
    The error message ORA_12203 TNS- unable to connect to destination prompts at every attempt.
    I have checked the net easy configuration for the protocols and the sqlnet and tnsnames in the admin files of the network folder
    Please can somebody help me out there

  • ORA-17008 error message

    Hello users, I'm having a connection problem in SQL Developer and am not able to run any queries on the SQL worksheet.
    I get either a popup window with the following ORA-17008 error message:
    "An error was encountered performing the requested operation"
    Closed Connection
    Vendor code 17008
    Or this msg on the Script Output window: "SQL Error: No more data to read from socket"
    I've been using SQL Developer for months now and this is the first time I encounter this problem. I ran the same queries last week
    succesfully so this is not a syntax issue. I'm using version 2.1.0.62 with a Basic connection.
    Does anybody know how to fix this? so far I haven't found any solutions. Thanks,

    I saw a similar problem once on a completely different application running on an IBM AIX box with IPv6 enabled by default, it was related to a problem in the JDBC driver which could not handle really well connections with IPv6 and it was solved by disabling the IPv6 features of the OS.
    Please post your OS details, and while you are at it you can try disabling IPv6 if you have recently turned it on.
    If you are in a hurry you can switch from JDBC based connection to OCI, but you will need to install an 11G client (or instant client).

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

  • ORA-03113 error when running the Java stored proc demos

    Hi there,
    Has anyone else run into this issue. When attempting to transfer an object type from Java to Oracle - through a Java stored proc - the session crashes with:
    ORA-03113: end-of-file on communication channelLooking in the trace file generated the error message looks something like:
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [0x8fe04468] [SIGTRAP] [unknown code] [0x8FE59034] [] []
    Current SQL statement for this session:
    select pointruntime.jdistance(point(1, 2), point(2, 3)) from dual
    ----- Call Stack Trace -----
    calling              call     entry                argument values in hex     
    location             type     point                (? means dubious value)    
    ksedmp+764           call     ksedst               0 ? 2C4F4A ? 2C ? 98968000 ?
                                                       DB02C ? 27A50000 ?
    ssexhd+956           call     ksedmp               3 ? 0 ? 8FE5E790 ? 5905870 ?
                                                       8FE0434C ? 40895E4 ?
    0x9012c860           call     ssexhd               5 ? BFFEEF70 ? BFFEEFB0 ? 0 ?
                                                       0 ? 0 ?As you can see from the trace snippet above, I was attempting to run one of the Oracle Java stored procedure demos. Has anyone successfully run those demos? Specifically the ones where complex types (table objects or the Point object) are passed back to Oracle from the JVM.
    I would appreciate some help with this. The code works fine in a Windows or Solaris environment but barfs on Apple. Truly annoying....
    Anyone?
    Thanks in advance,
    Alex

    Yes,
    Apologies for not stating that information, Steve. Was a bit naughty of me! I guess the reason I didn't was because I just wanted to hear if anyone else running Oracle on Mac received such errors when executing the Java stored proc demos (specifically, the execution of PointRuntime.jDistance). Nevertheless, here's the relevant info from the trace file:
    Dump file /Users/oracle/admin/sandbox/udump/sandbox_ora_1861.trc
    Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    ORACLE_HOME = /Users/oracle/product/10.1.0/db
    System name:     Darwin
    Node name:     maczilla.local
    Release:     8.3.0
    Version:     Darwin Kernel Version 8.3.0: Mon Oct  3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC
    Machine:     Power Macintosh
    Instance name: sandbox
    Redo thread mounted by this instance: 1
    Oracle process number: 10
    Unix process pid: 1861, image: [email protected] for the Java version, according to the readme file in the javavm directory, I am running 1.4.1:
    1.5  Java Compatibility
    This release has been thoroughly tested with Sun's Java Compatibility
    Kit for the JDK 1.4.1. Oracle is committed to OracleJVM keeping pace
    with Java and other Internet standards.

  • 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

  • ORA:03113 Error occuring when trying to recompile a Trigger

    Hi ,
    I am facing ORA-03113 end-of-file on communication channel Error.
    My V$version ouput is as follows
    BANNER
    Oracle9i Enterprise Edition Release 9.0.1.5.0 - Production
    PL/SQL Release 9.0.1.5.0 - Production
    CORE 9.0.1.2.0 Production
    TNS for Linux: Version 9.0.1.4.0 - Production
    NLSRTL Version 9.0.1.5.0 - Production
    I searched in google and in all actions to be performed is to submit a request to Oracle Support.
    Is there any another way to resolve this problem?
    Please guide me.
    Thanks & Regards
    Salih KM

    Hi APC,
    I am posting the lines from alert log file and trace files.
    Alert Log Entries
    Mon Sep 18 17:46:35 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_9368.trc:
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:46:35 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_9368.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:46:35 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_9368.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:47:27 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_10718.trc:
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:47:27 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_10718.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:47:27 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_10718.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Trace File
    (10718)
    *** 2006-09-18 17:47:26.998
    *** SESSION ID:(28.39) 2006-09-18 17:47:26.998
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x8, PC: [0x94c245f, ptmak()+111]
    *** 2006-09-18 17:47:27.060
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:47:27.197
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:47:27.344
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Trace File (9368)
    Oracle9i Enterprise Edition Release 9.0.1.5.0 - Production
    With the Partitioning option
    JServer Release 9.0.1.4.0 - Production
    ORACLE_HOME = /mnt1/oracle/orainfra
    System name:     Linux
    Release:     2.4.9-e.25
    Version:     #1 Wed Sep 1 12:40:42 EEST 2004
    Machine:     i686
    Instance name: paws
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Unix process pid: 9368, image: [email protected] (TNS V1-V3)
    *** 2006-09-18 17:46:34.557
    *** SESSION ID:(21.124) 2006-09-18 17:46:34.552
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x8, PC: [0x94c245f, ptmak()+111]
    *** 2006-09-18 17:46:35.515
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    NAME: TEST_TABLE_TRG
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 9/18/2006 1. Created this trigger.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: TEST_TABLE_TRG
    Sysdate: 9/18/2006
    Date and Time: 9/18/2006, 6:01:02 PM, and 9/18/2006 6:01:02 PM
    Username: (set in TOAD Options, Proc Templates)
    Table Name: TEST_TABLE (set in the "New PL/SQL Object" dialog)
    Trigger Options: (set in the "New PL/SQL Object" dialog)
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:46:35.814
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    NAME: TEST_TABLE_TRG
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 9/18/2006 1. Created this trigger.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: TEST_TABLE_TRG
    Sysdate: 9/18/2006
    Date and Time: 9/18/2006, 6:01:02 PM, and 9/18/2006 6:01:02 PM
    Username: (set in TOAD Options, Proc Templates)
    Table Name: TEST_TABLE (set in the "New PL/SQL Object" dialog)
    Trigger Options: (set in the "New PL/SQL Object" dialog)
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:46:35.968
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    NAME: TEST_TABLE_TRG
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 9/18/2006 1. Created this trigger.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: TEST_TABLE_TRG
    Sysdate: 9/18/2006
    Date and Time: 9/18/2006, 6:01:02 PM, and 9/18/2006 6:01:02 PM
    Username: (set in TOAD Options, Proc Templates)
    Table Name: TEST_TABLE (set in the "New PL/SQL Object" dialog)
    Trigger Options: (set in the "New PL/SQL Object" dialog)
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Please guide me in this issue.
    I'm also studying the link given by oradba
    Thanks & Regards
    Salih KM
    Message was edited by:
    kmsalih

  • Remote Connection Timeouts - ORA-03113 Errors

    I have two Sun Solaris servers running Oracle 10.1.0.4. One is our production server, the other is our test server. Both servers are using the same parameters in the SQLNET.ORA file located on each server. All Oracle Net files are located under /var/opt/oracle. The TNS_ADMIN environmental variable is set to /var/opt/oracle on both servers.
    When I connect to the production server via TOAD, OEM, or SQL*Plus from my desktop, I can remain connected as long as I like. If after two hours, I want to run another SQL, I type it in and it runs.
    When I connect to the test server via TOAD, OAM, or SQL*Plus from my desktop, I can remain connected for only 30 mins of inactivity. After which, if I issue a new SQL statement, I receive an ORA-03113 end-of-file communication channel error.
    I believe I've checked everything on both servers and they appear identical. Both of these server sit behind a firewall. So my feeling is that only the firewall could be causing the idle timeout connections to be dropped on the test server.
    Anyone have any ideas on this??
    P.S. - I realize that killing idle connections is actually a good thing, but I'm trying to verify the reason for the difference and not whether this is or is not a good networking practice.

    user583592 wrote:
    I have two Sun Solaris servers running Oracle 10.1.0.4. One is our production server, the other is our test server. Both servers are using the same parameters in the SQLNET.ORA file located on each server. All Oracle Net files are located under /var/opt/oracle. The TNS_ADMIN environmental variable is set to /var/opt/oracle on both servers.
    When I connect to the production server via TOAD, OEM, or SQL*Plus from my desktop, I can remain connected as long as I like. If after two hours, I want to run another SQL, I type it in and it runs.
    When I connect to the test server via TOAD, OAM, or SQL*Plus from my desktop, I can remain connected for only 30 mins of inactivity. After which, if I issue a new SQL statement, I receive an ORA-03113 end-of-file communication channel error.
    I believe I've checked everything on both servers and they appear identical. Both of these server sit behind a firewall. So my feeling is that only the firewall could be causing the idle timeout connections to be dropped on the test server.
    Anyone have any ideas on this??
    P.S. - I realize that killing idle connections is actually a good thing, but I'm trying to verify the reason for the difference and not whether this is or is not a good networking practice.The firewall could very well be the culprit. I had that problem at a previous employer. Why not check with your network guys and find out?

Maybe you are looking for