FRM-40735 / ORA-06508 when calling an attached package's procedure

Hello all,
I've a problem when calling a procedure in one of my attached libraries. the code is :
when upper(trim(NOT_MSG_NAME)) = 'REN_MSG_REQ_REG_PERMENANT' then SERV.CLFRM_PBL_NRQP_F(:Parameter.NOTIFICATION_ID);
and it gives me FRM-40735 stating that an ORA-06508 has occurred when calling the procedure.
Important and funny thing is, when I add the path to the library , It works fine!
When I attach it, removing the path, It goes wrong like I said..
the location of the library is:D:\DevSuiteHome\cgenf61\ADMIN , the path is added in FORMS_PATH and all the other
libraries attached to the form in the same path are working fine !
I'm using forms builder 10.1.2.0.2, and the platform is windows and I've migrated from forms 9.0.4.0.19
anybody having any ideas what the problem may be?

Thank you Sarah
In fact, somebody had modified the formsweb.cfg adding two working directory directives (It's a shared PC!). I recon none of them works though no configuration error is raised. I omitted both of them and the problem is gone .
thank you again.

Similar Messages

  • SOLVED -- FRM-40735: ORA-06508 when callin RP2RRO

    Hi ,
    we made change to the call of the reports when migrating to 10gr2.
    in a when button pressed i receive the error FRM-40735: trigger raised unhandled exception ORA-06508 whe making a call to rp2rro.rp2rro_run_product.
    I've checked the forms path and seems to be ok the rp2rro.plx is reachable.
    I don't understand ???
    Any suggestion?
    Thanks
    JeanYves
    Message was edited by:
    JeanYves

    Hi Christian,
    You're rigth with the attachment.
    What is strange is that a collegue made a prototype whith rp2rro compiled and it works.
    Perhaps did he made the attachement by himself so that the name of the file location was rp2rro instead of rp2rro.pll.
    I have made a test whith a simple form calling rp2rro_run_product.
    The attachment said that rp2rro.pll is attached.
    when I place rp2rro.pll in the forms path then I have ORA-06508 but when I place rp2rro.plx then it works ! Also when I place both the plx and pll files.
    But for the others fmbs it does not work.
    Let's say another thing. the call to rp2rro is made not directly in the form but in another attached pll ( which have itself rp2rro.pll attached)
    FYI : in the forms_path i have first the pll location then after the fmb location.
    Is there an preferable order ?
    Or is there an order to compile first pll or first fmb?
    I really don't understand what goes on here. ???
    Thanks
    JeanYves

  • Frm-40735 + ora-06508

    Hi,
    I have an application developped in 10g , I compile succefully the main menu , but when i run it i have this message :
    frm-40735 trigger the pre-form has detected an exception ora-06508 untreated.
    The message is in French, and I have translated it .

    ok this is it :
    /* CGAP$TES_SEQUENCE_BEFORE */
    begin
    SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WINDOW_STATE, maximize);
    synchronize;
    end;
    /* CGYR$SET_DATE_FORMAT */
    BEGIN
    set_application_property(DATE_FORMAT_COMPATIBILITY_MODE, '5.0');
    set_application_property(PLSQL_DATE_FORMAT, 'YYYY/MM/DD HH24:MI:SS');
    set_application_property(BUILTIN_DATE_FORMAT, 'YYYY/MM/DD HH24:MI:SS');
    forms_ddl('ALTER SESSION SET NLS_DATE_FORMAT = ''YYYY/MM/DD HH24:MI:SS''');
    forms_ddl('ALTER SESSION SET CURRENT_SCHEMA = NASR');
    END;
    /* CGNV$PRE_FORM_NAVCUR */
    DECLARE
    rg_id RECORDGROUP;
    gc_wnd GROUPCOLUMN;
    gc_item GROUPCOLUMN;
    BEGIN
    CGNV$.nav_opening_wnd := FALSE;
    rg_id := create_group('CGNV$WINDOW_ITEM');
    gc_wnd := add_group_column(rg_id, 'WINDOW', CHAR_COLUMN, 80);
    gc_item := add_group_column(rg_id, 'ITEM', CHAR_COLUMN, 80);
    add_group_row(rg_id, 1);
    set_group_char_cell(gc_wnd, 1, 'WINDOW');
    set_group_char_cell(gc_item, 1, 'M_NAV.EF_USER');
    END;
    /* CGNV$PRE_FORM_NAVCCF */
    DECLARE
    rg_id RECORDGROUP;
    gc_type GROUPCOLUMN;
    gc_name GROUPCOLUMN;
    gc_parent GROUPCOLUMN;
    gc_tag GROUPCOLUMN;
    gc_extra GROUPCOLUMN;
    BEGIN
    CGNV$.nav_close_forms := TRUE;
    CGNV$.nav_opening_wnd := FALSE;
    :global.CGNV_last_closed_form := '0';
    :global.CGNV_child_form := find_form(get_application_property(FORM_NAME)).id;
    rg_id := create_group('CGSH$FORM_OBJECTS');
    gc_type := add_group_column(rg_id, 'OBJECT_TYPE', CHAR_COLUMN, 2);
    gc_name := add_group_column(rg_id, 'OBJECT_NAME', CHAR_COLUMN, 40);
    gc_parent := add_group_column(rg_id, 'PARENT_NAME', CHAR_COLUMN, 40);
    gc_tag := add_group_column(rg_id, 'ITEM_TAG', CHAR_COLUMN, 40);
    gc_extra := add_group_column(rg_id, 'EXTRA_TEXT', CHAR_COLUMN, 240);
    add_group_row(rg_id, 1);
    set_group_char_cell(gc_type, 1, 'WN');
    set_group_char_cell(gc_name, 1, 'WINDOW');
    set_group_char_cell(gc_parent, 1, '');
    END;
    /* CGHP$SET_MOD_GLOBALS */
    BEGIN
    :GLOBAL.CG$HP_HPATH := CGHP$PRE_FORM;
    :GLOBAL.ENTITE_COMPTABLE := null;
    :GLOBAL.LIB_ENTITE_COMPTABLE := null;
    END;
    Declare
    P_NB Integer;
    P_DUREE Integer;
    P_TAILLE Integer;
    P_UNITE Varchar2(1);
    I NUMBER:=1;
    BEGIN
    :global.g_nb_tent := 0;
    IF NOT FC_PARA_CONNEXION_I(P_DUREE, P_UNITE, P_TAILLE, P_NB) THEN
    QMS$ERRORS.SHOW_MESSAGE('INT-00001');
    ELSE
    :global.g_p_duree := P_DUREE;
    :global.g_p_unite := P_UNITE;
    :global.g_p_taille := P_TAILLE;
    :global.g_p_nb := P_NB;
    END IF;
    PR_ICON;
    END;

  • ORA-904 when calling a sys package from a private one (on 9.2.0.5.0)

    Hi,
    I explain:
    SELECT DBMS_PIPE.UNIQUE_SESSION_NAME
    FROM dual;
    works!!!
    CREATE OR REPLACE FUNCTION GET_NAME RETURN VARCHAR2 IS
    vc_name VARCHAR2(1000);
    BEGIN
    SELECT DBMS_PIPE.UNIQUE_SESSION_NAME
    INTO vc_name
    FROM dual;
    RETURN vc_name;
    END GET_NAME;
    works (no error at compile time)
    BUT:
    SELECT GET_NAME FROM DUAL;
    Get a ORA-00904 error:
    ORA-00904: : identificateur non valide
    ORA-06512: at "DBASYS.GET_NAME", line 4
    This mean that DBMS_PIPE.UNIQUE_SESSION_NAME
    is unknown.
    But I used it from the same session just before.
    What is the problem ?
    This example is simple, I HAVE TO use a function, in my true function, I do things before and after the call.
    Thanks.
    Christian COMMARMOND (France)

    Hi Kamal,
    Thank you for taking care of my problem...
    About:
    CREATE OR REPLACE FUNCTION GET_NAME RETURN VARCHAR2 IS
    vc_name VARCHAR2(1000);
    BEGIN
    vc_name := DBMS_PIPE.UNIQUE_SESSION_NAME;
    RETURN(vc_name);
    END GET_NAME;
    I can not even compile it, I get PLS-00021 DBMS_PIPE UNKNOWN (the message is in french so my translation could differ of the real oracle message but code is OK)
    I think that this is the problem of GRANTed objects. It seems that even if my account is DBA, my procs does not inherit of the 'public' grants and that the real owner of the object should GRANT to me the EXECUTE.
    If this is the problem, I do not have the SYS password to do the GRANT.
    Do you think there could be a work around?
    Thanks again,
    Christian COMMARMOND

  • Filling datarows before creating a new record  frm-40735 ora-01422

    Hello
    I want to create a user-control table where I Store in the Mastertable the user informations. in the 2 detail tables I store the programmnames of the first level, in the second table I store the name of the form and if the user is allowed to insert, amend or delete.
    I use a Master/2 Detail-Form. When I create a new record in the master block, I want to fill in the first and second detail block, informations of another user of the 2 detail tables. therefore I created a when-new-block-instance trigger with the following code:
    select programm
    into :k_zugriff.Programm
    from k_zugriff, K_benutzer
    where r_benutzer_zaehler=k_benutzer.zaehler
    and oracle_user='ROBERT';
    because this sql serves more than one row I receive the error code frm-40735 ora-01422
    so how could I solve the problem to insert 5-10 rows in :k_zugriff.Programm. I can not make an insert before I go to the block k_zugriff, because the user number is not commited known. Also I want to commit the form when all informations are filled in. in case of a mistake I want to exit the form with no commit;
    has anyone a usefull Idea?
    regards
    robert

    it works thank you. where can I get further information about this technik. are there any turtorials or something where I get information how to build this complex forms??
    right statement
    DECLARE
    CURsOR cr IS
    select programm
    from k_zugriff, K_benutzer
    where r_benutzer_zaehler=k_benutzer.zaehler
    and oracle_user='ROBERT';
    BEGIN
    FOR rec IN cr LOOP
    IF :SYSTEm.RECOrD_STATUS!='NEW' THEN
    CREATE_RECORD;
    END IF;
    :k_zugriff.Programm:=rec.PROGRAMM;
    END LOOP;
    END;

  • Error frm-40735 ora-01422

    Hi,
    I have two tables:
    dept(
    dept_name VARCHAR2(10),
    dept_info VARCHAR2(10),
    CONSTRAINT dept_pk PRIMARY KEY (dept_name)
    location(
    loc_name VARHCHAR2(10),
    loc_info VARCHAR2(10),
    dept_name VARCHAR2(10),
    CONSTRAINT loc_pk PRIMARY KEY (loc_name),
    CONSTRAINT loc_fk FOREIGN KEY (dept_name)
    REFERENCES dept (dept_name)
    dept has the values ('dname1', 'dinfo1'), ('dname2', 'dinfo2'), ('dname3', 'dinfo3')
    location has the values ('locname1', 'dname1', 'linfo1'), ('locname2', 'dname2', 'linfo2'), ('locname3', 'dname2', 'linfo3'), ('locname4', 'dname3', 'linfo4'), ('locname5', 'dname3', 'linfo5'),
    I have a data block based on the location table. I also have a command button with the WHEN-BUTTON-PRESSED trigger:
    BEGIN
    SELECT loc_name, loc_info
    INTO :DATABLOCK.LOC_NAME, :DATABLOCK.LOC_INFO
    FROM location
    WHERE dept_name = :DATABLOCK.DEPT_NAME;
    END;
    If I try to do a search for a dept_name that has only one value in location, the Form will work properly and retreive that row. However, if I do a search for a dept_name that has two or more values in the table, I get the FRM-40735 ORA-01422 ERROR. I can tell that the Form will not allow me to retreive more that one row at a time, but what is a way that I can retreive more than one row at a time? I have set the datablock to Tabular and display 10 records, so it could retrieve the right amount of rows. Please help.

    I have a data block based on the location table.So do you want to show all the locations in that block which match the given DEPT_NAME ?
    If your block is based on the location-table you would just set the WHERE-condition on that block and do a requery, there is no cursor needed for that, so try the following code in your WHEN-.BUTTON-PRESSED-trigger.
    SET_BLOCK_PROPERTY('LOCATION', ONETIME_WHERE, 'dept_name=' || DATABLOCK.DEPT_NAME);
    EXECUTE_QUERY;If you have to use a select to do something other with the result than populating the block, then for a select returning more than one row, you have to use a cursor, something like:
    DECLARE
      CURSOR crDept IS
        SELECT loc_name, loc_info
          FROM location
        WHERE dept_name = :DATABLOCK.DEPT_NAME;
    BEGIN
      FOR rec IN crDept LOOP
        IF :SYSTEM.RECORD_STATUS!='NEW' THEN
          CREATE_RECORD;
        END IF;
        :DATABLOCK.LOC_NAME:=rec.LOC_NAME;
        :DATABLOCK.LOC_INFO:=LOC_INFO;
      END LOOP;
    END;

  • Error frm-40735 ora-01403

    I read that this is a general purpose error for Forms, but I couldn't find an answer for my situation. I have a datablock based on a view, and a command button that has a trigger for selecting values into the block where one of the blocks fields matches those records. Here is the pl/sql code for the button's when-button-pressed trigger:
    BEGIN
    SELECT VIEW.ATTRIBUTE1, VIEW.ATTRIBUTE2
    INTO :DATABLOCK.TEXTFIELD1, :DATABLOCK.TEXTFIELD2
    FROM VIEW
    WHERE :DATABLOCK.TEXTFIELD = VIEW.ATTRIBUTE3;
    END;
    When I try to run this in Forms, I get the Error frm-40735 ora-01403. I can run similar code from SQL Plus. I would really appreciate some help.
    regards

    Let me give a better example: If I have two tables:
    create table dept (
    dept_no NUMBER,
    dept_name VARCHAR2(10),
    CONSTRAINT dept_pk PRIMARY KEY (dept_no)
    create table Location (
    loc_no NUMBER,
    loc_name VARCHAR2(10),
    dept_no NUMBER,
    CONSTRAINT loc_pk PRIMARY KEY (loc_no),
    CONSTRAINT loc_fk FOREIGN KEY (dept_no)
    REFERENCES dept(dept_no)
    and I create a master-detail form between the two. If I try to search by the loc_name, with the two tables joined by the master-detail, and have a trigger on a command button with the code:
    BEGIN
    SELECT d.dept_no, d.dept_name
    INTO :DEPARTMENT.DEPT_NO, :DEPARTMENT.DEPT_NAME
    FROM Location l, Dept d
    WHERE :LOCATION.LOC_NAME = l.loc_name;
    END;
    why do I encounter the error?

  • FRM-40735 ORA-01476

    I wrote this line in formula
    (:stot1+ :bottomcost.cmt1+ :bottomcost.cf1+ :bottomcost.oh1+ :bottomcost.ins1+ :bottomcost.naf1 + :bottomcost.com1) / nvl(:exc_rate,0)
    and there is no 0 Value but when I execute query then return this error
    FRM-40735
    ORA-01476

    I wrote this line in formula
    (:stot1+ :bottomcost.cmt1+ :bottomcost.cf1+
    :bottomcost.oh1+ :bottomcost.ins1+ :bottomcost.naf1 +
    :bottomcost.com1) / nvl(:exc_rate,0)
    and there is no 0 Value but when I execute query then
    return this error
    FRM-40735
    ORA-01476Never use / nvl(:exc_rate,0)
    If :exec_rate is null then you will get that error. Instead you use / nvl(:exc_rate,1) so if your divisor is = to zero you will return the value itself without dividing.
    Regards,
    Tony

  • ORA-23421 when calling dbms_defer_sys.schedule_purge

    Hi all,
    did anyone experience ORA-23421 when calling dbms_defer_sys.schedule_purge?
    for settimg up an updatable materialized view replication between two Oracle 9.2 databases, I followed the steps detailed in "Oracle9i Replication Management API Reference" and when calling
    DBMS_DEFER_SYS.SCHEDULE_PURGE (
    next_date => SYSDATE,
    interval => 'SYSDATE + 1/24',
    delay_seconds => 0,
    rollback_segment => '');
    on the materialized view site, I get the error ORA-23421, telling me, that job number 48 is not a job in the job queue.
    Do you have any idea, what's going wrong?
    Thanks for your assistance
    Siegfried Hartung

    The answer could be found at http://www.orafaq.com/forum/t/66106/0/
    From a previous run of the initialization scripts another user owned the job, that was adressed. The issue was resolved by changing the script in order to use the old userid (snapadmin instead of mvadmin).

  • Error when calling an Portal Package

    I get the following error when calling a portal30 package. I am logged on to
    another schema. I have run the provsyns.sql (per Doc ID: 122562.996) statement
    but it still doesn't work.
    Any help is appreciated.
    SQL> declare
    2 l_id number;
    3 begin
    4 l_id :=
    portal30.wwsec_api_private.add_portal_user(p_User_Name=>'user1');
    5 end;
    6 /
    declare
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWSEC_API_PRIVATE", line 198
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWLOG_API", line 183
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWCTX_SSO", line 849
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWCTX_SSO", line 669
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 4
    Thanks,
    Tom Henricksen
    null

    Hi,
    What is the implementation of your Web service? If it's another EJB then you have to define an ejb-local-ref in the deployment descriptor for that other EJB, like this:
    <ejb-local-ref>
        <ejb-ref-name>ejb/MyProcessorBean</ejb-ref-name>
        <ejb-ref-type>Session</ejb-ref-type>
        <local-home>your.package.BiasProcessorLocalHome</local-home>
        <local>your.package.BiasProcessorLocal</local>
    </ejb-local-ref>
    If it's not a J2EE component, there is no java:comp environment naming context (ENC) available. In this case you can look up the EJB local home from the "localejbs/" context, e.g. "localejbs/provider.name/YourAppName/YourEjbName". By default the provider name is "sap.com".
    For more information please refer to <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/accessing%20ejb%20applications%20using%20jndi.pdf">this article</a>.
    HTH!
    -- Vladimir

  • FRM-40735 with ORA-105100 when calling JavaBean in Forms6i deployed to Web

    We are encountering an ORA_JAVA error during runtime in a new simple form when trying to call an imported JavaBean in Forms 6i.
    It works when in the Forms6i Builder Run Form Client/Server mode on Linux/Motif.
    The specific error is: FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-105100
    Our form incorporates the following simple example from Metalink Note:131964.1
    How to Create a Simple Java program with the ORA_JAVA Package of Forms?
    We have confirmed that we are downloading our custom JavaDev6i.jar file in the JInitiator console during runtime when deployed on the Forms Server using sockets.
    We have turned on Forms Runtime Diagnostics (FRD), which showed the following
    ORA_JAVA.LAST_ERROR: 121
    when attempting to execute the call to the JavaBean.
    I also ran strace on the forms processes:
    strace -o/tmp/f60srvm_trc.txt -afeT -p 21192 &
    strace -o/tmp/f60webmx_trc.txt -afeT -p 9172 &
    I found libjvm.so could not be found in the LD_LIBRARY_PATH,
    so I changed /d01/oracle/visappl/admin/adovars.env from:
    LD_LIBRARY_PATH=$ORACLE_HOME/network/jre11/lib/i686/native_threads:$ORACLE_HOME/network/jre11/lib/linux/native_threads:${LD_LIBRARY_PATH:=}
    to
    JDK131_HOME=/usr/java/jdk1.3.1_20
    export JDK131_HOME
    LD_LIBRARY_PATH=$JDK131_HOME/lib/i386:$JDK131_HOME/jre/lib/i386:$JDK131_HOME/jre/lib/i386/classic:$JDK131_HOME/jre/lib/i386/native_threads:${LD_LIBRARY_PATH:=}
    This solved that library problem, but it did not fix the original problem of not being able to run a JavaBean in a deployed Form.
    I've provided our environment below from txkMPcheck.sh, but please let me know what else you need to help us with this.
    Technology Validation Utility report for 11.5.9 Maintenance Pack (some info deleted to fit in forum 3.5K limit)
    Script : ./txkMPcheck.sh (115.20)
    Context : /d01/oracle/visappl/admin/VIS_hpbox.xml
    HTTP Server Node (hpbox):
    [PASS] Oracle JInitiator version from the Applications Context file is: 1.1.8.16
    [PASS] JDK version on HTTP server node is: 1.3.1_20
    [PASS] iAS version from the Applications Context file is: ias1022
    [PASS] iAS patchset version from the OUI inventory is: 1.3.19.0.0g
    [PASS] PERL is included in the PATH variable from the APPLSYS.env file.
    [PASS] DISPLAY variable from the Applications Context file is: :0.0
    Forms Server Node (hpbox):
    [PASS] Developer 6i version from f60gen executable is: 6.0.8.21.3
    [PASS] The 806 client library version from the f60gen executable is: 8.0.6.3.0
    [PASS] Checksum of file kpuex.o confirms back port 1227566 has been applied.
    [PASS] DISPLAY variable from the Applications Context file is: :0.0
    Administration Server Node (hpbox):
    [PASS] Database version from dbms_utility is: 9.2.0.3.0
    SUMMARY:
    [ALLPASS] All the technology checks on this node needed for the 11.5.9 Maintenance Pack
    have passed. You may now proceed with next steps in the Oracle
    Applications Release 11.5.9 Maintenance Pack Installation instructions.
    More env info...
    Oracle (Red Hat) Enterprise Linux Rel 4 Upd 6 (uname: 2.6.9-67.0.0.0.1.ELsmp #1 SMP)
    Forms6i Builder 6.0.8.21.3 (Production) (on Linux)
    Already posted this to Metalink forum, but no answer in 1 week.
    Thanks for your help!

    Looks like the CLASSPATH for the server is not set correctly. Does it include the directory where your JAR file resides?
    You say that the JavaDev6i.jar is downloaded the the JInitiator, which surprises me. It looks like you are trying to import/call Java from the server side, which means it is not necessary to load the JAR client side. You only have to include it in the client side JARs if you are using Pluggable Java Components (PJC) which run client side. You are using the Java Importer which creates a PL/SQL wrapper around a server side Java class.
    This might also explain why it does work in client/server mode. Then you might have a different CLASSPATH setup when starting Forms Runtime from within Forms Builder.

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

  • ORA-06508 WHEN ALL PACKAGES EXISTS AND ARE "VALID" !!!

    Oracle 8i
    In a production release, I must change a central package (spec and body), which is used by some other packages.
    As a result, after the compile, the concerned packages are all marked as invalid.
    Now, we need to recompile all the invalid packages.
    As a final result:
    - all objects (packages, packages body, views, ...) exist
    - all objects are VALID
    BUT the application doesn't work !!!
    In some process, we receive an ORA-06508 error messages.
    Can someone tell me if he has the same problem ?
    Is it a Oracle bug ?
    I was thinking that when all objects are VALID and existing and compatible then an ORA-06508 should not be ?
    Note: as workaround, to solve the problem, I need to recompile the VALID incriminated package...
    That means doing the work two times !!
    Thank you for your help...
    Regards
    Thierry

    Sorry, but it's not the same problem...
    It's not about ORA-04068 "existing state of packages has
    been discarded".
    I know that you just need to re-execute the package in this case.
    But here I have a ORA-06508:
    ORA-06508 PL/SQL: could not find program unit being called
    Cause: An attempt was made to call a stored program that could not be found. The program may have been dropped or incompatibly modified, or have compiled with errors.
    Action: Check that all referenced programs, including their package bodies, exist and are compatible.
    I repeat, all objects are valid.
    I can re-execute the application, that means the packages too, but the error remain ...
    The only way the solve that is to re-compile the VALID package !!!! and i don't like that...
    Regards
    Thierry

  • FRM-40735 & ORA-06544 errors

    Hello Friends,
    I have installed oracle database 9iR2 and 10gR2 on my windowsXP system When I run the Dynamic_build form through Dynamic_build form using the oracle 10g connection the form runs correctly but if I am connected to database 9i with the same forms it gives me the error
    Frm-40735: WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-06544
    I am using forms 10gR2.
    Thanks
    Hardip

    From Oracle Database Documentation you'll get the following message:
    ORA-06544 PL/SQL: internal error, arguments: [string], [string], [string], [string], [string], [string], [string], [string]
    Cause: A PL/SQL internal error occurred.
    Action: Report as a bug; the first argument is the internal error number.
    I suppose you are performing some query which causes this error in 9i. You can verify this when performing this query also in sqlplus connected to your 9i Database.
    To Avoid this Error you'll probably get the advice from OSS to update your database to 9iR2 in minimum.
    regards

  • ORA-04103,FRM-40735,ORA-04062.

    Hi Expert ,
    how can resolve following error.
    After refresh the clone by prod backup ,the i have faced problem at ap module at front end level
    i have got following error
    1. FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-04062.
    2. ORA-04103: no data found--------On click Pay In Full
    3. An Unexpected Error-4062 has occured, An alert has been sent to the system administrator,
    ORA-04103: no data found
    FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04062.

    Please post the details of the application release, database version and OS.
    how can resolve following error.
    After refresh the clone by prod backup ,the i have faced problem at ap module at front end level
    i have got following error
    1. FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-04062.
    2. ORA-04103: no data found--------On click Pay In Full
    3. An Unexpected Error-4062 has occured, An alert has been sent to the system administrator,
    ORA-04103: no data found
    FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04062.Is this issue with all forms or specific ones only? If the latter, please post the form name/version and the navigation path.
    Please confirm that you have no invalid objects in the database and you have no errors in the database log file.
    Have you tried to regenerate the form manually or via adadmin and see if it helps?
    Thanks,
    Hussein

Maybe you are looking for

  • Speech Recognition stops working after a minute of nonuse

    I'm a grad student trying to keep from exacerbating my carpal tunnel and just figured out how to use the voice commands on my macbook. So far, they work great, they hear my voice, it does what I tell it to do, and I'm not constantly hitting apple+tab

  • Read only / save problem when multiple user accessing PDF

    When accessing a PDF-file from a network location (where multiple users might have the file open simultaneously) I have noticed a problem. First of all you will not get notified when opening the file that it is open elsewhere, there is no "read only"

  • What is the part number for labview fds cd media only

    what is the part number for labview fds cd media only - i'll purchase on line but can't find the part.

  • Putting library on a shared drive

    I have a 500 GB ext drive with my iTunes & iPhoto libraries on it connected to my old G5. I am ready to do away with this computer altogether & would like to move this drive to another room, connect it directly to my Airport Extreme & share it with t

  • 3 week old Galaxy s5 is shot...Verizon won't honor their transaction.

    I upgraded to this phone on my birthday.  It took hours to get the upgrade done in the store, which was frustrating.  Now, three weeks later, all of a sudden my screen with go white with multi-colored pixels, then go blank.  I called and they had me