WEB/PLSQL ORA-06508

I generate a WEB/PLSQL application from Designer 9i and then run it and it runs correctly. Then I make a few changes in Designer and regenerate the WEB/PLSQL form, but when I attempt to run the re-generated WEB/PLSQL form I recieve the following error:
ORA-06508: PL/SQL could not find program unit being called.
Any help would be greatly appreciated.

David,
There are a few possible reasons for this. First, depending upon the database version, there was a database bug that caused this. Generally, recompiling the package will solve. (alter package <package_name> compile spec; alter package <package_name> compile body;)
Sometimes the bug would manifest in such a way that you could run the page a few thousand times and only see the error once or twice.
Another possiblity is that you have lost some grants. You must grant execute on the generated package to the user specified in the modplsql DAD (or, if not specified, whatever user logs in).

Similar Messages

  • Why web plsql apps dont alow me insert or update or delete??

    apps generated with web plsql generator dont allow me insert new records (or delete or update) Why??? (the same module with forms language goes fine...)
    thanx

    first thanx for your answer!!!! .Ok, the error is:
    ORA-06508: PL/SQL: could not find program unit being called
    i've checking Actioninsert code (code from web generator) and i think i found where is the problem. It starts when actioninsert calls to an api routine:
    cgS_table_name.ins(CURR_VAL,...);
    I changed this line for:
    insert into table_name values(curr_val);
    and it works fine,
    but i think this is an ugly solution, because i still have errors when i delete or update.
    Definitevely the problem is HOW makes designer the API for my tables, it generates something wrong, any idea????
    Thank u very much

  • Calling Report from Form Error ORA-06508

    Dear all,
    I want migrate from Fom6i to Oracle Developer Suite 10g (10.1).
    Folder Form = C:\APLIORA\IRS\FORM
    Folder Report = C:\APLIORA\IRS\REPORT
    I have modified file DEFAULT.ENV
    FORMS_PATH=C:\APLIORA\IRS\FORM;C:\APLIORA\IRS\REPORT
    i do not have problem call a form from form.
    but when i call report from form show error ORA-06508 : PL/SQL : could not find program unit being called ; -6508
    my procedure is
    PROCEDURE Call_Report IS
         list_id ParamList;
    BEGIN
    list_id := Get_Parameter_List('input_params');
    IF NOT Id_Null(list_id) THEN
    Destroy_Parameter_List(list_id);
    END IF;
    list_id := Create_Parameter_List('input_params');
    Add_Parameter(list_id,'MAXIMIZE',TEXT_PARAMETER,'YES');
    Add_Parameter(list_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'YES');
    RP2RRO.RP2RRO_RUN_PRODUCT(REPORTS,'TESTREPORT.REP',SYNCHRONOUS,RUNTIME,FILESYSTEM,list_id,null);
    END ;
    Do I miss something ?
    Can any one help ?
    Thanks

    Hi,
    Thank you for your replay.
    The problem have solved.
    This my step :
    1. Install Windows XP SP2 and Form 10.1.2.0.2 on new pc.
    2. Install Jinit version 1.3.1.28.
    3. Create report server
    3. Compile form, report and pll
    4. call report from from with this procedure :
    PROCEDURE Call_Report (vFILENAME varchar2) IS
    report_id                Report_Object;
    ReportServerJob VARCHAR2(100);
    vc_rep_status      VARCHAR2(100);
    repsvr                          varchar2(21) := 'myserv';
    userid                         VARCHAR2(100);
    pass                          VARCHAR2(100);
    Host                    VARCHAR2(100);
    BEGIN
    userid          := Get_Application_Property(USERNAME) ;
    pass          := Get_Application_Property(PASSWORD) ;
    Host          := Get_Application_Property(CONNECT_STRING) ;
    report_id:= find_report_object('REPORT');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,vFILENAME||'.jsp');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,repsvr);
    ReportServerJob:=run_report_object(report_id);
    vc_rep_status := REPORT_OBJECT_STATUS(ReportServerJob);
    WHILE vc_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED', null)
    LOOP
    vc_rep_status:=REPORT_OBJECT_STATUS(ReportServerJob);
    END LOOP;
    IF vc_rep_status='FINISHED' THEN
    WEB.SHOW_DOCUMENT('/reports/rwservlet?report='||vFILENAME||'.jsp'||'&userid='||userid||'/'||pass||'@'||Host||'&destype=CACHE&desformat=PDF&paramform=yes','_blank');
    ELSE
    message ('Report failed with error message '|| vc_rep_status);
    END IF;
    END;
    Ok, but i have another strange error. I will post new thread.
    Thank you and regards
    Teguh S

  • ORA-06508 in Forms Debugger

    Windows 2000
    Forms 6i Patch 5a
    9i Database
    I have a form that generates a ORA-06508 when in the debugger only. It runs fine else (running in the builder, client-server or web.)
    I have detached the library. Shift+Ctrl+K'd the form. Saved the form. Closed the form. Recompiled the attached library using the forms compiler. Opened the form, reattached the library, SHIFT+Ctrl+K'd the form, and the same thing occurs. I want to stress this occurs only when running in the debugger.
    Any ideas or suggestions?
    Thanks
    -Chris

    In that case you probably have two copies of a library around. In normal runtime a PLX file will always be used in preference to a PLL. In Debug mode PLX files will be ignored and the PLL only used.

  • Webutil demo error ORA-06508

    hi
    i have installed DevSuit10g(rel2) i downloanded demo for webutil i have configured every thing as described in the example but after run when i click the button GET CLIENT INFO i get the following error message.
    FRM-40375: WHEN-BUTTON-PRESSED trigger raised.....ORA-06508
    what can be the problem

    chk if u have followed following steps...
    1)     Login with user name under which u want to use webutil
    2)     Create package and package body webutil_db using file
    C:\DevSuiteHome_1\forms\create_webutil_db.sql
    Compile both of above things
    3)     Compile the file webutil.pll using Oracle Forms Compiler so webutil.plx gets created
    4)     In C:\DevSuiteHome_1\forms\server\forms.cfg , add line
    AliasMatch ^/forms/webutil/(..*) $ORACLE_HOME/forms/webutil/$1"
    5)     In C:\DevSuiteHome_1\j2ee\DevSuite\application-deployments\forms\formsweb\ orion-web.xml
    Add line
    <virtual-directory virtual-path="/webutil" real-path="C:\DevSuiteHome_1/forms/webutil" />
    6)     In C:\DevSuiteHome_1\forms\server\formsweb.cfg file add line
    WebUtilArchive=frmwebutil.jar,jacob.jar
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm.
    baseHTML=webutilbase.htm.
    7)     In C:\DevSuiteHome_1\forms\server\default.env file
    In FORMS_PATH variable add path of webutil.pll as
    FORMS_PATH=C:\DevSuiteHome_1\forms;D:\Projects\DBF
    (by default webutil.pll is under forms, but if we use in our own folder then path of that should also be appended as shown above.
    WEBUTIL_CONFIG=C:\DevSuiteHome_1\forms\server\webutil.cfg
    CLASSPATH=C:\DevSuiteHome_1\forms\java\frmwebutil.jar;C:\DevSuiteHome_1\jdk\jre\lib\rt.jar
    Note: The JACOB can be downloaded from libraries from http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
    8)     Copy Jacob.dll and paste into C:\DevSuiteHome_1\forms\webutil
    9)     Copy Jacob.jar and paste into C:\DevSuiteHome_1\forms\java
    10)     Sign frmwebutil.jar and Jacob.jar files from command prompt
    Go to C:\DevSuiteHome_1\forms\webutil directory give command
    Sign_webutil C:\DevSuiteHome_1\forms\java\frmwebutil.jar
    After siging 1 file insign_webutil.bat file change SET JAR_KEY=webutil2 to SET JAR_KEY=webutil3. Then sigh the following file.
    Sign_webutil C:\DevSuiteHome_1\forms\java\jacob.jar
    11)     In webutil.cfg file add lines
    transfer.appsrv.enabled=TRUE
    transfer.appsrv.accessControl=FALSE
    transfer.appsrv.read.1=c:\temp
    transfer.appsrv.write.1=c:\temp
    12)     In FORMS_BUILDER_CLASSPATH REGISTRY entry append following if not there
    C:\DevSuiteHome_1\forms\java\frmwebutil.jar;C:\DevSuiteHome_1\forms\java\frmall.jar;C:\DevSuiteHome_1\forms\webutil.pll;C:\DevSuiteHome_1\forms\webutil.pll; C:\DevSuiteHome_1\forms\webutil.olb; C:\DevSuiteHome_1\forms\webutil\jacob.dll;C:\DevSuiteHome_1\forms\java\jacob.jar;C:\DevSuiteHome_1\jdk\jre\lib\rt.jar
    13)     Copy ffisamp.dll file into C:\DevSuiteHome_1\forms\webutil\ directory (thie file is supplied with webutil demo)
    14)     In C:\DevSuiteHome_1\forms\server\formsweb.cfg file see if the following line is present if not then add/append the line archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
    15)     Add line install.syslib.0.user.1=ffisamp.dll|40960|1.0|true into wenutil.cfg file

  • FRM-40735: ON-ERROR triggers raised unhandled exception ORA-06508

    I get the following error message: FRM-40735: ON-ERROR triggers raised unhandled exception ORA-06508
    after login in a Web forms application.
    I tried the solution as described in the Headstart Manual, e.g. recompiling the libraries in the specified order.
    All the libraries are in the working directory and has been included in FORMS60_PATH.
    All the involved stored procedures and packages are valid.
    the same application works fine as C/S.
    Any clue?
    Used configuration:
    Forms 6i
    Designer 6i r 4.11
    Headstart 6.5
    Oracle 8.1.7.4
    Oracle 9ias r 1 running on Sun Solaris 64bit version 5.8

    This is actually a pretty generic error and I would suggest running through the debugger to see the line of code it is actually failing at - that may make it easier to track.
    Regards
    Grant Ronald
    Forms Product Management

  • WebUtil gives FRM-40735 When-Custom-Item-Event ORA-06508 when starting form

    I have downloaded and installed/configured webutil on RH Linux AS2.1 per the manual and readme file.
    ( jacob.jar and webutil.jar signed on NT machine per instruction then loaded on LINUX server webutil/lib )
    I have incorporated webutil with an existing form as follows:
    1. linked webutil.pll
    2. subclassed webutil from webutil.olb
    3. compiled all
    4. compiled module
    Form was deployed on 9iAS.
    When the applet loads the following is displayed in the java console:
    Downloading http://myserver.mydomain.com:7779/forms90/webutil/webutil.jar to JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/pfs.jar from JAR cache
    Downloading http://myserver.mydomain.com:7779/forms90/webutil/jacob.jar to JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/pfs.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    connectMode=HTTP, native.
    Forms Applet version is : 90270
    When the form containing webutil is called, the following is displayed in the java console and the error mentioned in this topic's subject is given:
    2003-Jul-10 16:53:32.607 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.707 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.738 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.758 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.798 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.998 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:33.38 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:33.58 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    Why can't webutil find the bean method/function?

    Per a previous suggestion, I have created a simple form module with one block containing a single push_button.
    The when-button-pressed trigger contains a simple call to client_get_file_name.
    I then:
    1. Attached the webutil.pll
    2. subclassed webutil from webutil.olb
    3. compiled all plsql
    4. created then deployed fmx
    The same errors are generated when this simple form loads without any calls to webtuil.
    I added the following debug code to the when-custom-item-event triggers of each bean area item in the webutil block:
    declare
    dataType pls_integer;
    dataPayload varchar2(32000 char);
    begin
    WEBUTIL_CORE.CustomEventHandler(:SYSTEM.CUSTOM_ITEM_EVENT,:SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS);
    exception
         when others then
         get_parameter_attr(:system.custom_item_event_parameters,'WUC_DATA',dataType, dataPayload);
         pfsutil.dbug(get_application_property(current_form_name)||'-WebUtil: '||'Item: '||:system.trigger_item||' Event: '||:system.custom_item_event||' :'
         ||'Data: '||dataPayload||' Error: '||sqlerrm);
    end;
    The following information is captured in the log:
    17:07:59 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_CLIENTINFO_FUNCTIONS Event: WUC_REGISTER :Data: WUI|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:55 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_FILE_FUNCTIONS Event: WUC_REGISTER :Data: WUF|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:58 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_HOST_FUNCTIONS Event: WUC_REGISTER :Data: WUH|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:59 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_SESSION_FUNCTIONS Event: WUC_REGISTER :Data: WUS|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:00 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_FILETRANSFER_FUNCTIONS Event: WUC_REGISTER :Data: WUT|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:01 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_OLE_FUNCTIONS Event: WUC_REGISTER :Data: WUO|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:03 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_C_API_FUNCTIONS Event: WUC_REGISTER :Data: WUL|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:04 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_BROWSER_FUNCTIONS Event: WUC_REGISTER :Data: WUB|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    This may be initiated by Webutil_core.initWebUtil and the result of Webutil_core.registerBean?
    This following error information is captured when the push button is pressed:
    17:09:08 WEBUTILTEST-WebUtil: Item: MAIN_BLK.TEST_BUT Event: WUC_REGISTER :Data: WUB|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    Hope this helps.
    Thank you for the quick responses.

  • Forms Migration 9i to 10g.............ORA-06508

    Hi All,
    i have a form to call report using RP2RRO library, now i am migrating forms 9i to 10g form compiled successfully but when i click button "Run Report" it is giving error FRM-40735 ON-ERROR trigger raised unhandled excption ORA-06508.
    Same problem occurred when i was migrating master and transaction forms, i renamed all plsql units of library and library name as well. now these forms are working fine, i do the same thing with report calling forms but i am unable to resolve the issue.
    is there any other method to rectify this problem?
    Rgds,
    RHA

    is there any solution?

  • ORA-06508 - PL/SQL: could not find program unit being called

    Hi,
    I'm working on an Oracle Database 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option.
    Since 2 weeks I'm facing problems with a job.
    The job executes
    dispatch.pk_process.check_geofence;every 2 seconds, forces to run on instance 1.
    Some time, now it's once a day, in a different moment, the job start failing returning the ORA-06508.
    The job body is:
      PROCEDURE check_geofence
      IS
        CURSOR tt IS
          SELECT id_data, id_device, id_vehicle, date_event, date_write
            FROM t_process
           WHERE id_type_process = ln_process_geofence
           ORDER BY date_event;
        id_user_ NUMBER;    
        errc_    NUMBER;
        errm_    VARCHAR2(500);
        i        NUMBER;
      BEGIN
        id_user_ := dispatch.pk_security.login_hard('process_geofence','process_geofence');
        i := 0;
        FOR t IN tt LOOP
          BEGIN
            pk_space_target.check_inout_space_target (
                   in_id_data    => t.id_data,
                   in_id_device  => t.id_device,
                   in_id_vehicle => t.id_vehicle,
                   id_date_event => t.date_event,
                   id_date_write => t.date_write
          EXCEPTION
            WHEN OTHERS THEN
              errm_ := 'process geofence: '||SUBSTR(SQLERRM, 1, 500)||' - '||DBMS_UTILITY.FORMAT_ERROR_BACKTRACE;
              errc_ := SQLCODE;
              INSERT INTO t_data_error (id_data, date_error, error_number, error_message)
                   VALUES (t.id_data, SYSDATE, errc_, errm_);
          END;
          DELETE FROM t_process WHERE id_data = t.id_data AND id_type_process = ln_process_geofence;
          i := i + 1;
          IF i mod 100 = 0 THEN COMMIT; END IF;
        END LOOP;
        id_user_ := dispatch.pk_security.logout;
      END;the error is returned while executing the procedure
    pk_space_target.check_inout_space_targetI know the ORA-06508 could happen on open connections after a recompile.
    But I did not recompile anything.
    The only solution that works is to compile package pk_space_target introducing some error (decompile it) and re-compile without the error.
    Than to the same with pk_process.
    After the last recompile, everything start to work fine again.
    Do you have any suggestion on how/what investigate?
    I cannot find any cause!!
    Thanks in advance,
    Samuel

    At the end I opend a SR and the problem was a timestamp mistmatch between 2 packages:
    Connected to:
    Oracle Database 11g Release 11.1.0.6.0 - 64bit Production
    With the Real Application Clusters option
    SQL> alter session set nls_date_format='dd-mon-yy hh24:mi:ss';
    Session altered.
    SQL> select do.name dname, po.name pname, p_timestamp, po.stime p_stime
    2 from sys.obj$ do, sys.dependency$ d, sys.obj$ po
    3 where p_obj#=po.obj#(+)
    4 and d_obj#=do.obj#
    5 and do.status=1 /*dependent is valid*/
    6 and po.status=1 /*parent is valid*/
    7 and po.stime!=p_timestamp /*parent timestamp does not match*/
    order by 2,1; 8
    DNAME
    PNAME
    P_TIMESTAMP P_STIME
    PK_EVOLUTION
    PK_SPATIAL
    15-sep-11 08:50:11 09-oct-12 10:01:32Then I re-compiled the pk_evolution, and the row disappeared:
    SQL> r
    1 select do.name dname, po.name pname, p_timestamp, po.stime p_stime
    2 from sys.obj$ do, sys.dependency$ d, sys.obj$ po
    3 where p_obj#=po.obj#(+)
    4 and d_obj#=do.obj#
    5 and do.status=1 /*dependent is valid*/
    6 and po.status=1 /*parent is valid*/
    7 and po.stime!=p_timestamp /*parent timestamp does not match*/
    8* order by 2,1
    no rows selectedThis solved the problem.
    Samuel

  • Error : ORA-06508: PL/SQL: could not find program unit being called

    Hi
    I got surprise issue while testing my Oracle code . Let me explain first the environment detail . Our appliaction built on
    Java/J2EE(Weblogic) and backend is Oracle 11g re2 . While calling from java it call thru different user which have been provide
    synonym and exectue option for corresponding procdure ,
    I created on package EXTRACT_CUSTOMER_INFO_PK which will exract data to text file using UTL_FILE ( direcory , UTL_FILE grant is provided to DB user).
    Now this package has been called from rp_execute_procedure_pr -- Here I is the code
    CREATE OR REPLACE PROCEDURE RP_EXECUTE_PROCEDURE_PR
    i_atlas_job_schedule_fk IN atlas_job_schedule.atlas_job_schedule_pk%TYPE,
    i_job_id IN atlas_job.job_id%TYPE,
    i_parm_value IN atlas_job_schedule.parm_value%TYPE,
    o_status_code OUT NUMBER,
    o_status_mesg OUT VARCHAR2
    IS
    -------Other old code which is not relevent for this issue ----
    --------Other old code which is not relevent for this issue ----
    ----Below code I added ----
    ELSIF l_job_id = 'CUST_EXTRACT' THEN
    EXTRACT_CUSTOMER_INFO_PK.customer_report ( i_parm_value ,
                   o_status_code,
    o_status_mesg ) ;
    -- o_status_code := -99999999;
    --o_status_mesg := 'PARTHA PARTHA PARTHAcess terminated!';
    ELSE
    o_status_code := -20300;
    o_status_mesg := 'Job Id : ' || l_job_id || ' NOT found. Process terminated!';
    END IF;
    update_log_auto
    ajs_rec.atlas_job_schedule_pk ,
    'Processing End Time (GMT): '
    EXCEPTION
    WHEN eProcError THEN
    o_status_code := SQLCODE;
    o_status_mesg := SUBSTR(vMsg ||'-'||SQLERRM, 1, 200);
    WHEN OTHERS THEN
    o_status_code := -20300;
    o_status_mesg := SUBSTR(SQLERRM, 1, 200);
    update_log_auto
    ajs_rec.atlas_job_schedule_pk ,
    'Error : '||SQLERRM||' '
    update_log_auto
    ajs_rec.atlas_job_schedule_pk,
    'Processing End Time (GMT): '
    END RP_EXECUTE_PROCEDURE_PR;
    Now It compiled sucesfully . And while I did SIT then RP_EXECUTE_PROCEDURE_PR run fine and extracted txt file . But while I called it from Java procedure It gives us error like
    Error : ORA-06508: PL/SQL: could not find program unit being called 02-AUG-2012 13:16:51.
    As I told RP_EXECUTE_PROCEDURE_PR old proc and used by other proc , So I first suspect issue is newly added code or may be some grant or synonym ( Although it should not be )
    so I created public synony amd gave execute grant to my pkg to public .
    But it repeat same error .
    I did lot of R&D on my pkg but nothing happen . Finally I remane my new pkg RP_EXTRACT_CUSTOMER_INFO_PK and it works fine
    I need to know what is the RCA for it . I donot think any dependecy issue as renaming pkg is working fine .
    NB my DB user is iATLAS and Javauser is SUDEEP
    Thanks in Advance
    Debashis Mallick

    First of all If i run the main procedure in like below in my Schema it is working fine
    begin
    -- Call the procedure
    rp_execute_procedure_pr(i_atlas_job_schedule_fk => :i_atlas_job_schedule_fk,
    i_job_id => :i_job_id,
    i_parm_value => :i_parm_value,
    o_status_code => :o_status_code,
    o_status_mesg => :o_status_mesg);
    end;
    So thre is no question of parameter .... or Invalid state etc . If it is parameter or Invalid state issue it will give other error.
    Here problem is not syntax issue .
    let me give u more detail regards this issue
    1.. All objects corresponding to procedure all Valid
    2.. If I test on the proc on my schema like above code . It works fine
    3.rp_execute_procedure_pr is a old procudere which called for differner report generartion based on parameter passing . Also as extract_customer_info_pk called with in rp_execute_procedure_pr So there is no question of synonym or privilage issue for new procedure.
    4. Suprising thing is if I rename and recreate package like extract_customer_info_pk _1 or rp_extract_customer_info_pk . Which are exactly same as extract_customer_info_pk and replace those new one with extract_customer_info_pk then it work fine in my java application
    I think I make it clear the issue
    Edited by: debashisora on Aug 3, 2012 5:31 AM
    Edited by: debashisora on Aug 3, 2012 5:40 AM

  • EXP-00008 + ORA-06544 + ORA-06553 + ORA-06508 error while exporting schema

    HI,
    i am exporting schema defnition from database;
    bash-2.05$ exp userid=pin/pin file=pin.dmp log=pin.log owner=pin rows=no
    i am getting this error:
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - 64bit Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - 64bit Production
    Export done in US7ASCII character set and UTF8 NCHAR character set
    server uses UTF8 character set (possible charset conversion)
    Note: table data (rows) will not be exported
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 6544 encountered
    ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56319]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
    . exporting foreign function library names for user PIN
    . exporting object type definitions for user PIN
    About to export PIN's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export PIN's tables via Conventional Path ...
    . . exporting table 109_31OCT2008
    . . exporting table 109_gl_juntooct2008
    . . exporting table ACCOUNT_BALANCES_BACKUP_T
    . . exporting table ACCOUNT_BALANCES_T
    . . exporting table ACCOUNT_BALANCES_THRESHOLDS_T
    . . exporting table ACCOUNT_BALANCES_T_06NOV01
    . . exporting table ACCOUNT_BALANCES_T_31MAR07
    . . exporting table ACCOUNT_EXEMPTIONS_T
    . . exporting table ACCOUNT_INTERNAL_NOTES_BUF
    :. exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting snapshots
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    EXP-00008: ORACLE error 6544 encountered
    ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56319]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
    . exporting statistics
    Export terminated successfully with warnings.
    please could any body guide me what is the exact problem.
    Thanks
    Prakash

    Hi,
    bash-2.05$ exp pin/pin file=mypinfile.dmp log=mypinfile.log rows=N
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - 64bit Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - 64bit Production
    Export done in US7ASCII character set and UTF8 NCHAR character set
    server uses UTF8 character set (possible charset conversion)
    Note: table data (rows) will not be exported
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 6544 encountered
    ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56319]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
    . exporting foreign function library names for user PIN
    . exporting object type definitions for user PIN
    About to export PIN's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export PIN's tables via Conventional Path ...
    . . exporting table 109_31OCT2008
    . . exporting table 109_gl_juntooct2008
    . . exporting table ACCOUNT_BALANCES_BACKUP_T
    . . exporting table ACCOUNT_BALANCES_T
    . . exporting table ACCOUNT_BALANCES_THRESHOLDS_T
    . . exporting table ACCOUNT_BALANCES_T_06NOV01
    .. . exporting table YOU_VRC_TRANS_DETAILS_T
    . . exporting table YOU_VRC_TRANS_T
    . . exporting table ZONEMAP_DATA_DERIVED_T
    . . exporting table ZONEMAP_DATA_RAW_T
    . . exporting table ZONEMAP_T
    . . exporting table cust_balance19
    . . exporting table cust_balance_ason_19June12AM
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting snapshots
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    EXP-00008: ORACLE error 6544 encountered
    ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56319]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
    . exporting statistics
    Export terminated successfully with warnings.
    i think it some problem with SYS.DBMS_REPCAT_RGT_EXP package
    SQL> select status, object_type, LAST_DDL_TIME from dba_objects where object_name='DBMS_REPCAT_RGT_EXP';
    STATUS OBJECT_TYPE LAST_DDL_
    VALID PACKAGE 25-DEC-08
    INVALID PACKAGE BODY 02-SEP-01
    Thanks
    Prakash
    T

  • 11.5.10.2 to R12.1.1 upgrade: Error loading seed data for GL_DEFAS_ACCESS_SETS:  DEFINITION_ACCESS_SET = SUPER_USER_DEFAS,  ORA-06508: PL/SQL: could not find program unit being called

    Hello,
    EBS version : 11.5.10.2
    DB version : 11.2.0.3
    OS version : AIX 6.1
    As a part of 11.5.10.2 to R12.1.1 upgrade, while applying merged 12.1.1 upgrade driver(u6678700.drv), we got below error :
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ATTENTION: All workers either have failed or are waiting:
               FAILED: file glsupdas.ldt on worker  3.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 adwork003.log
    Restarting job that failed and was fixed.
    Time when worker restarted job: Wed Aug 07 2013 10:36:14
    Loading data using  FNDLOAD function.
    FNDLOAD APPS/***** 0 Y UPLOAD @SQLGL:patch/115/import/glnlsdas.lct @SQLGL:patch/115/import/US/glsupdas.ldt -
    Connecting to APPS......Connected successfully.
    Calling FNDLOAD function.
    Returned from FNDLOAD function.
    Log file: /fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log/US_glsupdas_ldt.log
    Error calling FNDLOAD function.
    Time when worker failed: Wed Aug 07 2013 10:36:14
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 US_glsupdas_ldt.log
    Current system time is Wed Aug  7 10:36:14 2013
    Uploading from the data file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt
    Altering database NLS_LANGUAGE environment to AMERICAN
    Dumping from LCT/LDT files (/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0), /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt) to staging tables
    Dumping LCT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0) into FND_SEED_STAGE_CONFIG
    Dumping LDT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt into FND_SEED_STAGE_ENTITY
    Dumped the batch (GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS , GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS ) into FND_SEED_STAGE_ENTITY
    Uploading from staging tables
      Error loading seed data for GL_DEFAS_ACCESS_SETS:  DEFINITION_ACCESS_SET = SUPER_USER_DEFAS,  ORA-06508: PL/SQL: could not find program unit being called
    Concurrent request completed
    Current system time is Wed Aug  7 10:36:14 2013
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Below is info about file versions and INVALID packages related to GL.
    PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG is invalid with error component 'GL_DEFAS_DBNAME_S' must be declared.
    I can see GL_DEFAS_DBNAME_S is a VALID sequence accessible by apps user with or without specifying GL as owner.
    SQL> select text from dba_source where name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG') and line=2;
     TEXT
    /* $Header: glistdds.pls 120.4 2005/05/05 01:23:16 kvora ship $ */
    /* $Header: glistddb.pls 120.16 2006/04/10 21:28:48 cma ship $ */
    /* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */
    /* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */ 
    SQL> select * from all_objects where object_name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG')
      2 ; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
    EDITION_NAME
    APPS GL_DEFAS_ACCESS_DETAILS_PKG 1118545 PACKAGE 05-AUG-13 05-AUG-13 2013-08-05:18:54:51 VALID N N N 1 
    APPS GL_DEFAS_ACCESS_SETS_PKG 1118548 PACKAGE 05-AUG-13 06-AUG-13 2013-08-05:18:54:51 VALID N N N 1 
    APPS GL_DEFAS_ACCESS_SETS_PKG 1128507 PACKAGE BODY 05-AUG-13 06-AUG-13 2013-08-06:12:56:50 INVALID N N N 2 
    APPS GL_DEFAS_ACCESS_DETAILS_PKG 1128508 PACKAGE BODY 05-AUG-13 05-AUG-13 2013-08-05:19:43:51 VALID N N N 2 
    SQL> select * from all_objects where object_name='GL_DEFAS_DBNAME_S'; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
    EDITION_NAME
    GL GL_DEFAS_DBNAME_S 1087285 SEQUENCE 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1 
    APPS GL_DEFAS_DBNAME_S 1087299 SYNONYM 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1 
    SQL> conn apps/apps
    Connected.
    SQL> SELECT OWNER, OBJECT_NAME, OBJECT_TYPE, STATUS
    FROM DBA_OBJECTS
    WHERE OBJECT_NAME = 'GL_DEFAS_ACCESS_SETS_PKG'; 2 3 OWNER OBJECT_NAME OBJECT_TYPE STATUS
    APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE VALID
    APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE BODY INVALID SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE; Warning: Package altered with compilation errors. SQL> show error
    No errors.
    SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE BODY; Warning: Package Body altered with compilation errors. SQL> show error
    Errors for PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG: LINE/COL ERROR
    39/17 PLS-00302: component 'GL_DEFAS_DBNAME_S' must be declared 
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>cat $GL_TOP/patch/115/sql/glistdab.pls|grep -n GL_DEFAS_DBNAME_S
    68: SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
    81: fnd_message.set_token('SEQUENCE', 'GL_DEFAS_DBNAME_S');
    SQL> show user
    USER is "APPS"
    SQL> SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
      FROM dual; 2                         -- with GL.
      NEXTVAL
      1002
    SQL> SELECT GL_DEFAS_DBNAME_S.NEXTVAL from dual;               --without GL. or using synonym.
      NEXTVAL
      1003
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdab.pls|grep '$Header'
    REM | $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ |
    /* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdas.pls |grep '$Header'
    REM | $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ |
    /* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */

  • Webutil and ORA-06508

    Sometimes, but not always I am getting ORA-06508 when using Webutil. But I am only getting this error when calling webutil_file_transfer.client_to_as_with_progress
    I aslo use webutil_clientinfo, and that works just fine.
    /Vidar

    You don't find what ?
    Open the webutil.pll in the Forms Builder, then compile it then generate the executable with Ctrl+T
    Francois

  • Forms 6i, ORA-06508, and Character Functions

    Hi,
    We have an installation of Forms 6i, and when we run our form(s), an ORA-06508 error is received. The problem has been drilled down to pl/sql usage of built-in character functions such as SUBSTR, INSTR, etc.
    For example:
    myvar := substr(myothervar,1,10);
    If these functions are used within sql only, they work fine.
    For example:
    select substr(myothervar,1,10)
    into myvar
    from dual;
    We are only having this problem on one PC. The same forms work fine on all others.
    When I open the Forms Designer, I can see the character functions under the built-ins in the navigator.
    I'm thinking we have a .dll or .pll that is missing from our install on this particular PC.
    Does anyone know where the built-in functions are stored, like in a .pll or .dll for instance?
    Thank you,
    Bret Goldstein

    I would suggest 2 things:
    1) Make sure that if there are libraries (PLX) you have the right versions on the questionable worstation.
    2) Recompile the failing form (using compile all option) but make sure that the compiling environment is using the righ version of the libraries (PLL)

  • ORA-06508 PL/SQL: could not find program unit being

    Hi all,
    I'm having the following problem: I have a trigger that gets fired before update of a field. The trigger source code calls a function from a package. This function calls another function.
    When the trigger was executed I got the following error ORA-06508 PL/SQL: could not find program unit being call(referring to the second function called).
    This trigger works well, but from time to time gets this error. (The database has a lot of users and there is a chance that more users fire the same trigger).
    What can I do to solve this problem as it's very inconvenient? Any suggestions?
    Thanks.

    Try running the following query:
    select *
    from
    v$db_object_cache
    where sharable_mem > 10000
    and type in ('PACKAGE','PACKAGE BODY','FUNCTION','PROCEDURE')
    and KEPT='NO'
    order by sharable_mem desc
    See which objects are taking up a lot of SGA memory, you may need to pin them to prevent fragmentation. If you see DBMS_STATS in there it means that you Oracle is dynamically collecting stats which is not good - you need to set up a background task to do that.

Maybe you are looking for

  • Problem with Xcode installing

    hi,im trying to install Xcode 6.1 in AppStore for my macbook pro with Yosemite OS.in Appstore there is an install button,but when i presses it just a progress circle showed and nothing happend.i have Xcode in another mac book with maveriks OS.why i c

  • Font too small

    I downloaded the book Software Engineering for Internet Applications from Ebsco via my local library.  I have a 7 day check-out.  The fonts are WAY too small and clearly don't match what they are supposed to be since the pagination appears to lock th

  • Will the IBM Thinkpad T-40 work with this power adapter: 83H6339

    A friend of mine had an old AC Adapter laying around his garage from a real old IBM Thinkpad and gave it to me. The part number on the AC Adapter is 83H6339. My wife purchased an IBM Thinkpad T-40 that only had the docking station with power but does

  • Crash running docky from docky-bzr in AUR [SOLVED]

    When i try to run docky it crashes with this error: [Fatal 00:02:14.254] [GLib-GIO] g_file_get_path: assertion `G_IS_FILE (file)' failed Native stacktrace:     mono() [0x80da1e0]     mono() [0x81174bb]     [0xb777640c]     /usr/lib/libgobject-2.0.so.

  • Update termination when creating delivery in ECC 6.0 system

    Hi Issue: Update termination occured when creating a delivery with Order rederence from VL01N in ECC 6.0. Created a delivery from VL01N and press 'pack' button and saved. I received a message 'Delivery XXXXXXXX is created' and then when i ran VL03N i