ORA-03117: TWO-TASK SAVE AREA OVERFLOW

I have oracle 8i database and powerbuilder 7 application.
When I try to execute a store procedure through powerbuilder script ,I got a oracle error "ORA-03117: TWO-TASK SAVE AREA OVERFLOW".
That stored procedure is inside a package .
That oracle package contains more than 10 procedure , function and user define data type declarations.
The same procedure (inside package) execute properly in oracle 7 DBMS and its prompt "TWO-TASK SAVE AREA OVERFLOW" error in oracle 8i DBMS.
The profile string to connect oracle database and powerbuilder is follow:
[Profile TEST]
DBMS=O84
Database=Oracle8i
UserId=
DatabasePassword=
LogPassword=
ServerName=TEST
LogId=
Lock=
Prompt=1
DbParm=DisableBind=0,DelimitIdentifier='No',CommitOnDisconnect='No'
When I try execute other package stored procedures , it execute properly without any error through powerbuilder application.
Please anyone help me how to solve the error "ORA-03117: TWO-TASK SAVE AREA OVERFLOW' in oracle 8i DBMS
Thanks
Leela

Hello,
I think we found the explanation for ORA-03117 error in PowerBuilder environment.
Before EACH time when PowerBuilder calls stored procedure or function it runs dbms_describe.describe_procedure
It looks like at some point this function stops working and it becomes a problem. So far I found the way to discover it.
SET pagesize 0
SET trimspool ON
SPOOL c:\temp\describe.sql
SELECT 'PROMPT Object: ' || object_name || CHR(13) || CHR(10) || 'DESCRIBE ' || object_name
     FROM all_objects
     WHERE owner = 'ABC'
     AND object_type IN ('PROCEDURE', 'PACKAGE', 'FUNCTION CLASS')
     ORDER BY object_name;
SPOOL OFF
SPOOL c:\temp\describe.log
@c:\temp\describe.sql
SPOOL OFF
If you will find text "ORA-03117" in c:\temp\describe.log then this could lead you to the solution.
What's weird is that SQL*Plus can not describe package but it can execute any of its function without any problem.
I will update this thread if something new will come up.
Hope this will help,
Boris

Similar Messages

  • ORA-03120: two-task conversion routine: integer overflow

    Hello DB Gurus!!
    Need your comments and help once again...
    I am trying to import a DUMP file into My Local Database ie. Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    The file exported was by different user on different Dabase of Oracle 10g i.e. Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    but while I am trying to import, I getting the following error..
    Please help.. and suggest the alternate..
    Warning: the objects were exported by XYZABC , not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    IMP-00008: unrecognized statement in the export file:
    . importing NEXOS_ADMIN_OLTP_API's objects into SHRICHANDRA_ABC123
    IMP-00003: ORACLE error 3120 encountered
    ORA-03120: two-task conversion routine: integer overflow
    . importing NEXOS_ADMIN_OLTP_TAB's objects into SHRICHANDRA_XYZ123
    IMP-00003: ORACLE error 3120 encountered
    ORA-03120: two-task conversion routine: integer overflow
    Thanks in advance..

    Thank Rajneesh,
    I suspect the same issue as you did, But unfortunately I don't have much option available, as other side all are production DB so All I can do is pull from there that is export and import to my local where I am stuck!!!
    Thanks..

  • ORA-03120 :two-task conversion routine:integer overflow Vendor code 3120

    Hi,
    I got below mentioned error message, while i run the procedure in sql developer
    ORA-03120 :two-task conversion routine:integer overflow Vendor code 3120

    What version of the database are you on? 9.2.0.8 for a guess?
    >
    ORA-03120 is associated with bug 5671074 on Oracle Enterprise Edition; Version 9.2.0.8, occurring on any platform:
    After applying the 9.2.0.8 patchset, compilation of functions and/or materialized view refreshes that reference remote databases via database links start failing with:
    ORA-04052: error occurred when looking up remote object OMS.PREMISE@JEAUSER_OMPR_L.WORLD
    ORA-00604: error occurred at recursive SQL level 1
    ORA-03120: two-task conversion routine: integer overflow
    ORA-02063: preceding line from JEAUSER_OMPR_L
    Bug 5671074 "ORA-4052/ORA-3106 on Create / Refresh of Materialized View", can cause this problem. Contrary to the bug abstract and description, this bug does not just apply to materialized view creation and refresh. It can occur for any PL/SQL that references a remote object via database link where the 'Endianness' of the two platforms differs. If one platform is 'Big-Endian', and another platform is 'Little-Endian', then this bug can be triggered between them. A list of the endianness of different platforms can be obtained from the following query (note that the v$transportable_platform view is only available in 10.1 and above):
    To resolve ORA-03120, this solution is given:
    To implement the solution, it will be necessary to apply the one-off patch for Bug 5671074 to the 9.2.0.8 database. One-off patches to 9.2.0.8 for most platforms are already available for download on MOSC. Bug 5671074 to the 9.2.0.8 database. One-off patches to 9.2.0.8 for most platforms are already available for download on MOSC.
    >
    If not, post more information: {message:id=9360002}

  • How can solve this ORA-03120: two-task conversion routine: integer overflow

    Hello everybody,
    I'm writing this query "SELECT rowid from <mytable>" and I get this error: ORA-03120
    Does anybody know how can i solve it?
    Thanks in advice

    Here is the cause and action as suggested in the Oracle Error Guide...please see if it helps you to fix the error
    ORA-03120:two-task conversion routine:integer overflow
    Cause: An integer value in an internal Oracle structure overflowed when being sent or received over a heterogeneous connection. This can happen when an invalid buffer length or too great a row count is specified. It usually indicates a bug in user application.
    Action: Check parameters to Oracle calls. If the problem recurs, reduce all integer parameters, column values not included, to less than 32767
    Regards,
    Murali Mohan

  • ORA-03120: two-task conversion

    Hi,
    I have been using OEE V8.1.6.0.0 on SUN solaris recently we installed OracleV8.1.7 on linux .I have been noticing following error message in webserver log at client end.
    "Error: ora8.c:2161:ora_get_row: error in `OCILobRead ()': ORA-03120: two-task conversion routine: integer overflow"
    I know patching the db at server end is solution.WOndering if anyone could help how to fix this problem without upgrdating at server end.Does any one have oracleV8.1.6 client on Linux ?
    Thx

    I receive the message "ORA-03120: two-task
    : conversion routine: integer overflow".
    I got this error message when I was parameters from
    a stored procedure and I had my parameter-ordinals
    reversed like this:
    if first parameter is string and second int for instance
    (I don't remember the actual call anymore) and I would get data
    with the following statements
    sText=stmt.getString(2);
    i=stmt.getInt(1);
    Hope this helps
    Jani
    null

  • ORA-013124 -Two-task internal error

    when i try to remove the data in a column table i am getting the follwoing error
    But i am able to change the data in the table
    ORA-013124 -Two-task internal error
    Pls help me in this

    Hi,
    TOAD 8.0 is quite old, you might want to grab 9.0.1 from www.quest.com (assuming you can arrange the appropriate access). But that shouldn't be causing this error.
    In addition, what version of Oracle software are you using with TOAD? ie the Oracle client software version. If this is indeed Oracle 8.0 then you need to upgrade this (and this is probably what's causing the error).
    Cheers,
    Colin

  • ORA-03118 two-task error while doing a non blocking OCI call

    Hi,
    I have an application that runs on Linux and uses OCI API (version 8.1.6).
    If I do the following in non blocking mode after polling about
    70 times I get the error:
    ORA-03118: two-task coroutine has invalid state
    do {
    call_cnt++;
    rtc = OCIStmtFetch(stmtptr->stmt, oracle_err, 1, OCI_FETCH_NEXT,
    OCI_DEFAULT);
    } while (rtc == OCI_STILL_EXECUTING);
    This doesn't happen all the time but it happens most often on big selects.
    Does anyone have any idea what is happening here?
    I have searched for related information but have come up dry. If anyone
    knows anything or maybe a better place to ask this question please tell me.
    Thanks,
    Barry
    null

    Ask your basis guys to increase the table space...
    check this thread...
    [Error : DBIF_RSQL_SQL_ERROR;
    --- Thanks...

  • Two-task conversion routine: integer overflow

    Hi!
    We're using JBuilder to connect an Oracle database remotely.
    Everything's fine when I do a stmt.executeQuery() with a single
    SQL command (like select field1 from table1). But when I use a
    SQL command using two or more fields (like Select field1, field2
    from table1) I receive the message "ORA-03120: two-task
    conversion routine: integer overflow".
    Can anyone help us with it ? We're needing this information
    fast for our graduation work of the college.
    Thanks!
    null

    I am using 8.1.6 database and 6.0.8.11.3 forms.
    I found that if I change the query stored procedure from passing the result set in a cursor variable, to a table variable the problem seems to go away. We are still testing though...
    When openning a cursor variable in a "open cursor_x for <select statement>" statement do you need to explicitly close the cursor?
    Thanks,
    Darryl

  • Two task Errors

    ORA-03120 two-task conversion routine: integer overflow
    Cause: An integer value in an internal Oracle structure overflowed when being sent or received over a heterogeneous connection. This can happen when an invalid buffer length or too great a row count is specified. It usually indicates a bug in the user application.
    Action: Check parameters to Oracle calls. If the problem recurs, reduce all integer parameters, column values not included, to less than 32767.
    client : window
    server : unix
    에서 데이터내리다 clob데이터만 익스포트가 실패했는데 원인이 저위에 에러입니다.
    원인과 해결책이..좀 궁금하네요..당연히 원격입니당.

    export 시에 buffer옵션을 사용하셨는지요? buffer가 아닌 direct=y를 통해서
    export 해보시기 바랍니다.
    buffer를 줄일 수록 0320에러가 발생할 수 있는 여지를 줄일 수 있습니다.

  • JDBC, two-task/datatype error

    I have an interesting problem. I am able to install and run JDK1.2/JDBC (thin) drivers on RH Linux, and execute sample code. Please note I can get everything to work fine on NT. All the sample code is the equivalent of 'select ename from emp', which works great. I notice, though, that if I select more than one column, two problems can occur. For instance, if I say 'select ename, ename from emp' (or any variation w/ two columns), I get either:
    <p>
    Exception in thread "main" java.sql.SQLException: ORA-03115: unsupported network datatype or representation
    <p>
    or in another table/case:
    <p>
    java.sql.SQLException: ORA-03120: two-task conversion routine: integer overflow
    <p>
    This is a problem for obvious reasons; I'd like to get more than one column at a time. The installation of Oracle is pretty vanilla and I do remind you that the same code runs properly on NT.
    <p>
    Thanks!

    Oh, actually, I lied about 1 thing. I had been using the JDBC-ODBC bridge driver on NT, not the Oracle driver, so I can't say I was using the Oracle driver in NT.
    But, I still have the problem in Linux.
    Thanks!
    null

  • ORA-3106 : fatal two-task communication protocol error

    We get the following error intermittantly in our server. We are using WebLogic 6.1. Any reason. Here is the log we are getting...
    Parsing: BEGIN gid_msg_fund.fund_get_details (:1, :2, :3, :4, :5, :6, :7, :8)
    ; END;
    Executing: BEGIN gid_msg_fund.fund_get_details (:1, :2, :3, :4, :5, :6, :7, :8
    ) ; END;
    SQLException: SQLState() vendor code(3106)
    java.sql.SQLException: ORA-03106: fatal two-task communication protocol error
    at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:240)
    at weblogic.jdbc.oci.Statement.executeUpdate(Statement.java:990)
    at weblogic.jdbc.oci.Statement.execute(Statement.java:1430)
    at ...

    ORA-03106
    ========
    Possible reasons for the ORA-03106 errors include:
    1. Incompatibilities between the client application and the RDBMS server.
    For
    example, version incompatibilities, or a client trying to use a feature not
    supported by the database kernel.
    2. When using database links or gateways.
    3. Network or SQL*Net problems.
    4. Corruptions.
    5. PL/SQL - language related.
    RDBMS - Troubleshooting two-task common errors
    ==============================================
    1. Check for NLS incompatibilities between the client and server. This is
    a very popular cause of the ORA-03106 error.
    2. Check the alert log and RDBMS trace files for any pertinent information /
    errors that coincide with receiving the ORA-03106 error.
    3. Try to get a testcase and reproduce the problem in-house.
    4. If a testcase is not possible, ask for SQL*Net trace files, SQL traces,
    and
    try setting event 3106 to obtain the error stack.
    5. In extreme circumstances, this could indicate that a shared memory
    segment
    used by Oracle is corrupted. You will have to shut down the database,
    possibly using the abort option. Make sure all semaphores have been
    released by using the IPCS command on Unix. Oracle uses semaphores to
    control concurrency between all of the background processes (pmon, smon,
    drwr, lgwr, and oracle shadow processes). Semaphores are also used to
    control Two-Task communication between the user process and the shadow
    process.
    6. Try and narrow down the code that may be causing it. For example it might
    have started to happen after increasing the number of parameters in a PL/SQL
    block or when using certain values for bind variables, etc.
    7. If we still do not make headway, file a bug under RDBMS, but we still may
    need some or all of the above information as indicated above
    hope it helps!!
    "Prasanna" <[email protected]> wrote in message
    news:[email protected]...
    We get the following error intermittantly in our server. We are usingWebLogic 6.1. Any reason. Here is the log we are getting...
    >
    Parsing: BEGIN gid_msg_fund.fund_get_details (:1, :2, :3, :4, :5, :6,:7, :8)
    ; END;
    Executing: BEGIN gid_msg_fund.fund_get_details (:1, :2, :3, :4, :5, :6,:7, :8
    ) ; END;
    SQLException: SQLState() vendor code(3106)
    java.sql.SQLException: ORA-03106: fatal two-task communication protocolerror
    at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:240)
    at weblogic.jdbc.oci.Statement.executeUpdate(Statement.java:990)
    at weblogic.jdbc.oci.Statement.execute(Statement.java:1430)
    at ...

  • ORA-03106: fatal two-task communication protocol error USING INFORMATICA

    Hi,
    We are testing Oracle 10203 with linux using INFORMATICA 8.1.1
    The user who run the informaica is getting the following error , after runing query against a remote database.
    READER_12_1_1> RR_4035 SQL Error [
    ORA-03106: fatal two-task communication protocol error
    (Please note that informatica is not using db links to open a connection against a remote db).
    The informatica client is installed on the same machine as the oracle database and they are using the same oracle client (e.g: 10203)
    I also set a trace in the sqlnet.ora at server side and at the client side.
    No error regarding ora-3106 was generated in the trace files.
    I also added: alter system set events '3106 trace name errorstack level 10', but nothing writthen to the trace file.
    Any suggestion ?
    Thanks.

    Error: ORA 3106
    Text: fatal two-task communication protocol error
    Cause: The communication path between Oracle and the user task has stopped.
    This is an internal error message not usually issued.
    Action: Contact customer support.
    ====================================================
    Unfortunately the error text doesn't lie, this error is difficult to catch. You may search metalink's knowledge base for possible reasons,but there are many. And, since this is a 3rd party application, I would ask INFORMATICA (not Oracle), do they certify against 10g? Sometimes simply the application is not ready for the used Oracle version.
    Werner

  • InitialLOBFetchSize causes ORA-03106: fatal two-task communication protocol

    After my previous problem with setting InitialLOBFetchSize to -1 (see {thread:id=2338611}) I worked with a setting of 5 KB. This works fine on our development and testing database (11.2.0.1.0 Windows x86).
    But on the database of our customer (11.2.0.1.0 Windows x64) some queries throw an "ORA-03106: fatal two-task communication protocol error" exception. This is completely reproduceable, selecting some specific rows work, but others don't work. I've also tried a value of -1 on the customers database, this seems to fail on the same rows, but with a different error: "ORA-03149: Invalid Oracle error code".
    Interestingly, the first exception (ORA-03106) is only thrown if I also set a value to FetchSize (I'm currently using 1 MB for that). If I don't modify FetchSize the app just freezes (seems like the query call never returns). But setting the FetchSize doesn't change the behaviour of InitialLOBFetchSize with a value of -1 (always ORA-03149).
    I'd really like to use InitialLOBFetchSize (either with a positive value of about 5 KB or with -1) because this brings a huge performance increase for queries that select many CLOBs. Why causes this setting so many problems? Are there any known solutions?
    I'm using ODP.NET 11.2.0.3.0 x86 with .NET 4.0.
    Edited by: user12301043 on 21.03.2012 01:32

    In case someone tracks this thread, here is an update:
    The problem on the customer database was caused by the "DB_SECUREFILE=ALWAYS" setting. Oracle Support has now created a bug report for it (Bug 14279250).

  • Spam - ORA-03106: fatal two-task communication protocol

    Hi gurus.
    I'm having this error always I import a queue.
    Before the error I continue with the "import queue" and it goes to the end, no problem.
    Could any one help me how to solve this?
    Above the abend details.
    Runtime Error          DBIF_SETG_SQL_ERROR
    Database error text........: "ORA-03106: fatal two-task communication protocol
    error"                                                                       
    Internal call code.........: "[SETG/GET /INDX_HIER ]"                         
    "DBIF_SETG_SQL_ERROR" C                      
    "SAPLSHI2" or "LSHI2U25"                     
    "STREE_READ_BUFFERED_DATA_GENER"             
    System environment:
        SAP Release.............. "640"                                                                               
    Application server....... "PCINTRA"                                                      
        Network address.......... "192.168.200.100"                                              
        Operating system......... "Windows NT"                                                   
        Release.................. "5.1"                                                          
        Hardware type............ "Intel 80686 (Mo"                                              
        Character length......... 8 Bits                                                         
        Pointer length........... 32 Bits                                                        
        Work process number...... 1                                                              
        Short dump setting....... "full"                                                                               
    Database server.......... "PCINTRA"                                                      
        Database type............ "ORACLE"                                                       
        Database name............ "NWW"                                                          
        Database owner........... "SAPNWW"                                                                               
    Character set............ "English_United State"                                                                               
    SAP kernel............... "640"                                                          
        Created on............... "Mar 21 2007 23:47:09"                                         
        Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"                 
        Database version......... "OCI_920_SHARE "                                                                               
    Patch level.............. "175"                                                          
        Patch text............... " "                                                                               
    Supported environment....                                                                
        Database................. "ORACLE 8.1.7.., ORACLE 9.2.0.."                           
        SAP database version..... "640"                                                          
        Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"               
    Thanks in advance
    Paulo

    Hi Ben,
    i m also getting the same error. we are using ORacle 10.2.2 on Linux.
    The problem is that the Updates are not getting processed and are waiting for V2 update process which is processing one of the v2 process for much time and status is running sequential read - VBdata table.
    the status of the updates are - v1 processed. Find the error log of SM21 below-
    NiConnect Unsuccessful, Return Code: -0003
    > Host: ACPLAPP
    > Service: sapgw01
    Communication error, CPIC return code 020, SAP return code 665
    > CPI-C function: CMINIT(SAP)
    SQL error 3106 . Work processes in reconnect status
    Perform rollback
    Work process has left reconnect status
    Run-time error "DBIF_SETG_SQL_ERROR" occurred
    > Short dump "070828 020442 SAPPRD AMTFINISHING" generated
    Transaction Canceled 00 671 ( DBIF_SETG_SQL_ERROR 20070828020442SAPPRD AMTFINISHING0091 )
    Perform rollback
    Update terminated
    > Update key: 46CE6156C66E4997E1000000C0A80107
    > Update module: G_PCA_0_POSTING
    SQL error 3113 . Work processes in reconnect status
    Kindly suggest
    Thnx
    Kishore

  • ORA-03106: fatal two-task communication protocol erro

    Hi,
    I have been writing an oracle client application for Linux and I am
    getting the error ORA-03106: fatal two-task communication protocol:
    fatal two-task communication protocol error".
    I am trying to do a Piecewise fetch of long data using
    OCIDefineDynamic() and a callback function. The callback is being called
    but after setting the buffer information for the data I get an ORA-03106
    error.
    If I just do this as a normal fetch it works.
    Any ideas?

    Hi,
    "Two-task common errors are generally RDBMS related issues, but could be caused by a problem with SQL*Net, or an application (i.e. Pro*C).
    ORA-03106
    ========
    Possible reasons for the ORA-03106 errors include:
    1) Incompatibilities between the client application and the RDBMS server. For example, version incompatibilities, or a client trying to use a feature not supported by the database kernel.
    2) When using database links or gateways.
    3) Network or SQL*Net problems.
    4) Corruptions.
    5) PL/SQL - language related."
    For more information, take a look at Note:1012295.102 from Oracle Metalink.
    Cheers
    Legatti

Maybe you are looking for

  • APO Product Master: New Freely Defined Attribute

    Dear Experts, We know than in the spro, you can defined up to 5 free attributes for the product Location master than appear in the Tab EXTRA. We would like to create a new one, I mean, a 6th one. The issue is that, even we are able to create it in th

  • Photomerge in bridge has disappeared

    Photomerge in bridge CS4 has disappeared. I've been using the program for a few months now, nothing has changed as far as I know (no addons, deletions, new programs, etc). I'm going to tool, but the whole menu under tool has changed since I last used

  • Photoshop keeps installing in the wrong language!

    I am based in Germany and have a window 8 machine with Creative Cloud Photoshop and Lightroom membership. Lightroom has installed correctly in English, however for some reason Photoshop keeps installing in German. I have gone into the creative cloud

  • Operating Chart of Account

    Hello SAP Gurus, I need your valuable suggetions for creating a Globla chart of account for doing reporting in IFRS, US GAAP reporting and Local coutry's reporting. Current Situation: Company codes                     Country                 Chart of

  • Why can't i download keynote

    Hello. I have a Mac book pro version 10.6.8. and I want to buy the latest keynote in the app store. I get an message that the purchase can t be completed as it requires Mac OS X version 10.7.4 or later. I completed software update but the version doe