Help! ORA-03113 while compiling certain packages!

Hello everyone
Recently we migrated our PLSQL code from Oracle 8.1.7.0 to 9.2.0.4.
While compiling our packages in 9i, we are getting the ORA-03113: end-of-file on communication channel error.
This happens only when we compile two particular packages.
And then when we connect again immediately, and recompile the same package, it gets compiled.
This is only happening for two packages, frequently. All other packages are not giving this error.
Why could this be happening? Any pointers to this would really help.
Thanks
Bob

ORA-3113 often throws a .TRC file in the USER_DUMP_DEST directory. That might give you a clue.
Cheers, APC

Similar Messages

  • ORA-00900 while compiling package in 11gR1(11.1.0.7)

    Hello Folks,
    In our apps(Ebs) instance we are recently encountering an issue,we have some packages(seeded ones) which are invalid one of them I am mentioning below:
    SQL> select object_name,object_type,status from dba_objects where object_name='MSC_AATP_PVT';
    OBJECT_NAME
    OBJECT_TYPE STATUS
    MSC_AATP_PVT
    PACKAGE BODY INVALID
    MSC_AATP_PVT
    PACKAGE VALID
    Now when I am trying to compile this package I get the following message:
    SQL> alter package MSC_AATP_PVT compile body
    2 /
    alter package MSC_AATP_PVT compile body
    ERROR at line 1:
    ORA-00900: invalid SQL statement
    ORA-00900: invalid SQL statement
    ORA-00900: invalid SQL statement
    Even If I try to compile the body which is been shown as Valid I get the same:
    SQL> alter package MSC_AATP_PVT compile;
    alter package MSC_AATP_PVT compile
    ERROR at line 1:
    ORA-00900: invalid SQL statement
    ORA-00900: invalid SQL statement
    ORA-00900: invalid SQL statement
    This can't be an Apps issue as we have the same version of package running(Valid) in our other instances which is on same configuration as this one .
    Is this a Database Bug on 11g and anybody around here is aware of any workaround which can helps us get out of this issue.
    Thanks

    It means package body MSC_AATP_PVT has an invalid sql statement. Get package body source code and compile it. Check line number giving you the error.
    SY.

  • Error While compiling a Package

    Hi,
    When am compiling a package am getting a error like
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01631: max # extents (505) reached in table SYS.IDL_UB2$
    Can you pls any one help in this reg...
    Thanks,
    Adhi...

    if you look into sql.bsq in your oracle_home/rdbms
    directory, table IDL_UB2$ has storage parameter
    extents defined as maxextents.
    check out the parameter of your IDL_UB2$ table.
    By the way what is your oracle version?
    For a long time, modifying the sql.bsq file was
    frowned upon, but there is a section in the Tuning
    guide about modifying this file now.
    Reference chapter 15.
    Jaffar
    Message was edited by:
    The Human FlyBut why do you need to modify the sql.bsq file when this problem can be analyzed by checking the availability of free space in SYSTEM tablespace.
    And what benefit will you get by modifying this file after the database has been already created?
    This file is the seed of the database and I think careful consideration must be taken before even thinking of touching this file. Also you must be fully aware of the aftermath.

  • ORA-03113 while connect from 8i client to 7 Server

    Hi,
    I have a Oracle 7.3.3 Server running on a SCO OpenSever 5.0.5 and a Oracle 8i Client 8.1.6.0.0 on a RedHat Linux 6.2.
    When I try to connect from the client to the server by issue command "sqlplus user@test", it responses me "Error while trying to retrieve text for error ORA-03113". But when I run "netasst" to test the connection, it says the connection was sucessful.
    Can anyone help? Here are my configuration files:
    Listener.ora on Server side:
    LISTENER=
    (ADDRESS LIST=
    (ADDRESS =
    (COMMUNITY=TCP.world)
    (PROTOCOL=TCP)
    (Host=10.128.64.52)
    (Port=1526)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST=
    (SID_DESC =
    (SID_NAME = test)
    (ORACLE_HOME = /usr/app/oracle/product/7.3.3
    (PRESPAWN_MAX=10)
    tnsnames.ora on client side:
    TEST.888.COM
    (DESCRIPTION =
    (ADDRESS_LISTS =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = 10.128.64.52)
    (PORT = 1526)
    (CONNECT_DATA =
    (SID = test)
    )

    Hi,
    I don't have a 64 bit instance, but maybe another test will be usefull, try to get a connection with sqlplus on the server but via sqlnet like "user/passwd@tnsentry" I think if that also is not possible it is not the 64 bit issue but more that the listener itself coundn't etsablish a db connection, be aware tnsping is only testing if the listener is running and do not check if the listener is able to connect to the db.
    Hope this helps a little to find your real proble ;-), Olaf

  • ORA-03113 while importing a file

    Hi all.
    I know this is a very general error but, I need some help trying to figure out the workaround or the cause of this error.
    I am importing a big export file (like half a gig) created in a 10.2 environment, into a brand new 11.1.0.7 environment. I have tried 2 or 3 times and I always get the same ORA-03113 at the same line in the export file where it is trying to import a procedure. Any hints?
    Thanks in advance,
    Ignacio.

    Thanks Amand.
    Yes, there are several trace files generated at the time of the error.
    In one of them, there is a ORA-07445: Exception encountered: core dump ... Address not mapped to object.
    It also generated a dump file.
    What should I do next?
    Thanks for your support,
    Ignacio.

  • Ora-02068 following severe error & ora-03113 while connecting thru DB LINK

    Hi All,
    I am trying to connect to remote Database by using DB Link facing the below error.
    ora-02068 following severe error & ora-03113 end of communication channel.
    Version of Database - 8.0.6 ( source Database)
    Target Database version - 11g ( Target Database)
    Oracle Client s/w used - 9i
    TNSPING from 8 version database to 11g is successful
    C:\Documents and Settings\user>tnsping prdd
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 30-MAY-20
    13 10:40:02
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    D:\oracle9i\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (host =xx.xxx.xxx.xx) (Port = 1631))) (CONNECT_DATA =(SID = PRDD)))
    OK (30 msec)
    Connection successful from 8 to 11 Database remotely
    C:\Documents and Settings\user>sqlplus
    SQL*Plus: Release 9.2.0.1.0 - Production on Thu May 30 10:43:00 2013
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter user-name:username/pwd@prdd
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, Oracle Label Security, OLAP
    Data Mining, Oracle Database Vault and Real Application Testing options
    SQL>
    Connected to:
    Oracle8 Enterprise Edition Release 8.0.6.0.0 - Production
    With the Partitioning and Objects options
    PL/SQL Release 8.0.6.0.0 - Production
    SQL> select * from dual@xxx_dblink.world;
    select * from dual@xxx_dblink.world
    ERROR at line 1:
    ORA-02068: following severe error from xxx_dblink
    ORA-03113: end-of-file on communication channel
    DBLink got created successfully but when ever trying to test the DBlink as above facing the below issue,please help.
    Thanks in advance.

    8.0.6 was desupported a LOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNGGGGGGGGGGGGG time ago
    (you were probably still in your dipers)
    Sqlnet is not compatible for that many releases
    (there has been
    8.1.5
    8.1.6
    8.1.7
    9.0.1
    9.2.0
    10.1.0
    10.2.0
    11.1.0
    11.2.0
    So nine releases.
    This is software, not gasoline.
    Sybrand Bakker
    Senior Oracle DBA

  • While Compile the Package it shows "alter session set plsql_trace=false"

    Hi,
    My package was working fine and suddenly the status is invalid
    so i tried compiling the package that time sql developer got hanged, package also not getting compiled.
    i asked DBA to find out the status, they said the following query is running from your machine.
    "Alter session set plsql_trace=false". once they kill the session, sql developer got released.
    What could be the reason for this?? please help me to resolve this.......
    Thanks,
    G

    Most "set events" are workarounds or needed for Oracle support to do some debugging. Using them is at your own risk, and probably not supported by Oracle if you get into trouble.

  • Error: ORA-03113 while executing complex java code from Oracle PL/SQL

    Hi,
    I am trying to execute a complex java code from Oracle PL/SQL. The classes were resolved successfully. But in the middle of execution, I am getting the following error:
    ERROR:
    ORA-03114: not connected to ORACLE
    begin
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Process ID: 13685
    Session ID: 21 Serial number: 20
    Is there a way to debug the Java classes loaded into oracle? Or is there any utility to find out why the connection was lost?
    Regards,
    Saravana

    Hi Saravana:
    You could use simply System.out.println(..) at your Java code and see the output at the .trc files generated for your Oracle session.
    Or better than this adding Java Util Logging messages at your code, to see how to use JUL API at the OJVM please see this blog post [Using JUL API inside the OJVM|http://marceloochoa.blogspot.com/2007/11/getting-logging-entering-exiting-and.html].
    Best regards, Marcelo.
    PD: ora-0600 generally are associated with RDBMS bugs, but these bugs can be bypassed by replacing the code which throws the exception by other with a workaround.

  • Error ORA-03113 while install Oracle9i r2 on redhat Advance serer

    Hello All:
    Can anyone inform me how to correct the error ORA-03113 when I install oracle 9i on RedHat Advance Server 2.1
    This error has something to do with setting my CLASSPATH I think.
    Thank YOU
    Ezra Taylor

    Hi,
    You don't mention where exactly you were receiving this error but I was receiving this error when doing the database creation via DBCA. I was able to get around this by altering the 'shmmax' parameter. I suspect that the classpath is not the issue in this case, infact I think it should be unset (as well as other things such as JAVA_HOME).
    I initially tried the 100Mb specified at this site: http://www.e-gineer.com/instructions/install-oracle9i-on-linux.phtml
    However this wasn't enough so I went for the 'loony' option and set it to its maximum value using sysctl as root (see below):
    sysctl -w kernel.shmmax=4294967295
    Obviously you probably don't want to leave it at this size and will want to find the appropriate value. (Oracle reccomends half of physical memory - I haven't tried this yet).
    HTH,
    Gareth.

  • How does one escape special characters while compile the package.

    Hi
    The below is my function, while compiling the function in SQL plus it’s asking the substitute values, still I want to & symbol this column 'S&P Long Term Rating'
    now my question is how to avoid while compiling substitute values
    FUNCTION get_attribute_list RETURN t_ref_cursor AS
    lv_array varchar2_table_type := varchar2_table_type('Emerging Market Flag'
    ,'Region Code'
    ,'Region Name'
    ,'Moody''s Rating'
    ,'S&P Long Term Rating'
    ,'Credit Rating'
    ,'Region ISO'
    ,'Loan Country Code'
    ,'Loan Country Name'
    ,'What If Emerging Market Flag');
    lv_ref t_ref_cursor;
    lv_step_name a_run_log.step_name%TYPE;

    Frank Kulash wrote:
    SET DEFINE OFF is the best solution, as long as you don't need substritution variables elsewhere in the function.Agreed, however, just to toss out an alternative I use alot:
    anytime I encounter a "special" or "odd" character (ie &, CR, LF, TAB, whatever ...)
    I usually resort to stuffing it into a constant variable :)
    Of course, the OP's code might beg why the hardcoding in the proc? If the values being passed in via parameters, none of this is an issue. :)
    (in other words - if the OP is encountering this "issue" with a simple test - it might be worth mentioning - it might not be an issue with the "production" code - assuming things are being passed in via parameters)
    set serverout on
    declare
       lc_Amp   VARCHAR2(1) := CHR(38);   -- Ampersand
       lv_var   VARCHAR2(100);
    begin
       lv_var := 'S' || lc_Amp || 'P Long Term Rating';
       dbms_output.put_line ( lv_var );
    end;
    /

  • ORA-12571 --- Error while compiling any package body...

    Recently I am having this error when I try to compile a pacakge body it terminates my oracle session and my SQLPlus on windows NT generates a application error and shuts down. When I compile the same package body from a unix box it just goes fine. Do any of you guys encountered any similar things like this, please share your findings. I have attached the error message in the end of the message for further information.
    Thanks
    Divakar.R
    SQL> @C:\Divakar\FEA_SSR_AUTO.SQL
    Input truncated to 1 characters
    CREATE OR REPLACE Package Body FEA_SSR_Auto Is
    ERROR at line 1:
    ORA-12571: TNS:packet writer failure
    ORA-24323: value not allowed
    Error accessing package DBMS_APPLICATION_INFO
    ERROR:
    ORA-03114: not connected to ORACLE
    null

    if you look into sql.bsq in your oracle_home/rdbms
    directory, table IDL_UB2$ has storage parameter
    extents defined as maxextents.
    check out the parameter of your IDL_UB2$ table.
    By the way what is your oracle version?
    For a long time, modifying the sql.bsq file was
    frowned upon, but there is a section in the Tuning
    guide about modifying this file now.
    Reference chapter 15.
    Jaffar
    Message was edited by:
    The Human FlyBut why do you need to modify the sql.bsq file when this problem can be analyzed by checking the availability of free space in SYSTEM tablespace.
    And what benefit will you get by modifying this file after the database has been already created?
    This file is the seed of the database and I think careful consideration must be taken before even thinking of touching this file. Also you must be fully aware of the aftermath.

  • ORA-02019 while using DBMS_FILE_TRANSFER Package.

    Hi,
    I am trying to transfer the datafiles from 10.2.0.3 database residing on File-system to 11gR2 database residing on ASM. Both the DBs are on Different machines across datacenters.
    I am trying to use Transportable Tablespace to move the data. As a part of it, I am trying to use DBMS_FILE_TRANSFER package to move the 10gR2 files to 11gR2 ASM.
    I am getting the below issue while doing so:
    SQL> exec sys.DBMS_FILE_TRANSFER.GET_FILE('sdir','data01.dbf','tdir','data01.dbf','RECDB');
    BEGIN sys.DBMS_FILE_TRANSFER.GET_FILE('sdir','data01.dbf','tdir','data01.dbf','RECDB'); END;
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    ORA-06512: at "SYS.DBMS_FILE_TRANSFER", line 37
    ORA-06512: at "SYS.DBMS_FILE_TRANSFER", line 132
    ORA-06512: at line 1
    Above SQL was executed from Target Host (11gR2) to GET file from 10gR2. The above directory objects point to correct locations on respective hosts.
    RECDB - it is the DB link which is owned by SYSTEM user and will connect to 10gR2 DB as SYSTEM user.
    Strange thing is when i am querying the source 10gR2 DB from Target DB using Db link, IT is WORKING fine
    SQL> select name from v$database@RECDB ;
    NAME
    POCREC01
    Elapsed: 00:00:00.15
    SQL> select * from dual@RECDB;
    D
    X
    Elapsed: 00:00:00.12
    I also have TNS entry in target tnsnames.ora as:
    POCREC01 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pocserver.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pocrec01)
    SQL> create database link RECDB connect to system identified by <password> using 'POCREC01';
    Database link created.
    SQL> select * from all_db_links;
    OWNER
    DB_LINK
    USERNAME
    HOST
    CREATED
    SYSTEM
    RECDB
    SYSTEM
    POCREC01
    05-JAN-11
    So, I want help on whether above issue is a BUG with Package (checked in Metalink and cannot find anything) OR am I doing something wrong??
    Thanks

    Can you please use "create public database link " to create the db link as a PUBLIC link and retry.

  • Internal error while compiling a package

    When I update a view within from a pulic procedure the package compiles without any issue. However If I make the same procedure as private(no declartion in specifcation)
    the package gives an internal error

    What Oracle version?
    Please give the code and the error message.

  • ORA-03123 while using UTL_FILE package in oracle forms 10g

    hi all,
    i have created a directory 'REPORTS' as 'E:\EXCEL_TESTING_FORM\' and give grant read,write this directory to scott.
    and also given grant execute on UTL_FILE to scott;
    i have written this code in a button-pressed trigger and my file name is somename.xls file
    After printing the first line like 7369SMITH3000 in a single cell when it is going to print the second employee record it is showing
    ORA-03123 inside the loop.
    CURSOR EMP_DATA IS
         SELECT * FROM SCOTT.EMP;
    C_REF EMP_DATA%ROWTYPE;
    L_FILE UTL_FILE.FILE_TYPE;
    V_PATH VARCHAR2(200) := '';
    BEGIN
         V_PATH := 'REPORTS';
    L_FILE := UTL_FILE.FOPEN (V_PATH,P_FILE_NAME, 'W');
    OPEN EMP_DATA;
    LOOP
         FETCH EMP_DATA INTO C_REF;
         EXIT WHEN EMP_DATA%NOTFOUND;
              UTL_FILE.PUT_LINE(L_FILE, TO_CHAR(C_REF.EMPNO));
              UTL_FILE.PUT_LINE(L_FILE, C_REF.ENAME);
              UTL_FILE.PUT_LINE(L_FILE, TO_CHAR(C_REF.SAL));
    END LOOP;
    CLOSE EMP_DATA;
    UTL_FILE.FFLUSH(L_FILE);
    UTL_FILE.FCLOSE(L_FILE);
    please guide me how to avoid that error and also how to print cell wise why because it is print in a single cell.
    please reply...

    hi Andreas Weiden,
    No it is not a network-drive. i have total 0f 3 drives
    one is of c drive for wind sp2 and in d i have loaded oracle database and i have created a directory on e drive i.e 'E:\EXCEL_TESTING_FORM\'
    in that i have created a excel file i.e called taru.xls.
    so i want to know where is the problem.
    please reply...

  • ORA-06550 - while compiling the PL/SQL block.

    I am trying a to populate a table based on the below pl/sql block
    Declare
    temp source.source%type;
    tregion varchar2(40);
    tversion varchar2(40);
    tsource varchar2(100);
    Cursor c1 is
    Select * from Source;
    Begin
    Open c1;
    Loop
    fetch c1 into temp;
    select REGION, VERSION, SOURCE into tregion, tversion, tsource from QUOTE_LETTERS_MASTER where SOURCE = temp AND REGION = 'eSource';
    insert into esource values(tregion, tversion, tsource);
    Exception
    when no_data_found then
    insert into esource values('No eSource',' ',temp.source);
    exit when c1%notfound;
    End Loop;
    close c1;
    end;

    yes, there are more than one rows that is returned when i do a Select Into statement.
    I am trying to resolve by using a cursor C2 inside the already existing cursor C1, i will use a inner loop to get the select statement value to cursor c2 then i will assign the vlaues the variables, then once i read all the values of cursor c2 i will exit inner loop and go to outer loop to read the next value of c1 and then again go to cursor c2 and inner loop.
    Do you think it will work ?
    Thank you,
    rakesh
    I have pasted the code below.
    Declare
    temp1 source.source%type;
    temp2 QUOTE_LETTERS_MASTER%rowtype;
    Cursor c1 is
    Select * from Source;
    Begin
    open c1;
    loop
    fetch c1 into temp;
    cursor c2 is
    select region, version, source from QUOTE_LETTERS_MASTER where SOURCE = temp AND REGION = 'eSource';
    open c2;
    loop
    begin
    fetch c2 into temp2;
    insert into esource values(temp2.region, temp2.version, temp2.source);
    Exception
    when no_data_found then
    insert into esource values('No esource',' ',temp);
    exit when c2%notfound;
    end loop;
    close c2;
    exit when c1%notfound;
    end loop;
    close c1;
    end;
    But is giving this error : - ORA-06550: line 10, column 13:
    ***PLS-00103: Encountered the symbol "C2" when expecting one of the following:
    ***:= . ( @ % ;
    ***1. Declare***
    ***2. temp1 source.source%type;
    ***3. temp2 QUOTE_LETTERS_MASTER%rowtype;
    Edited by: rakesh119 on Apr 10, 2013 11:08 AM

Maybe you are looking for

  • How do I perform an Open VI Ref for a VI in my EXE?

    Good evening, I'm building a LV8.5 VI into an EXE using application builder.  I am trying to get a reference to a SubVI using Open VI Reference.  When I wire the subvi name as a string, I get an Error 1004 failure and the dialog says "the VI is not i

  • Can't find disk drive connected to airport extreme

    I have airport extreme 802.11n gigabite connected to a usb hub and a hard disk connected to the usb hub.. The disk is a usb disk drive the disk doen't show on the desk top and disk utility doesn't show them help

  • How to Convert Photoshop File to Illustrator?

    I have a Photoshop image file (jpg and psd) for our company that was to have been used for a label we're putting on a battery. The Photoshop image looks great, but the battery manufacturer emailed us back saying that it wasn't printing clearly on the

  • Cannot manually download music to my iPhone.

    I bought songs off of iTunes and when I go to drag them to my iPhone to be downloaded, it doesn't form the blue box around it and let me download it to my iPhone. It doesn't say anything, it just won't let the song download. The iPhone is connected v

  • Query Designer 3.5 / Link in the Query

    Hello, I want in a Report a link, whats shows a Document for hole Queries and maybe a Main Document. I start the Query, then i want to click on a link and see some document.. How can i realize it ??? Thanks...