ORA-04062: Signature of package ... has been changed

We've had a repeated situation where an unaltered package spec has been recompiled, which was in excess since only the package body has incurred a change. But, our Oracle Forms application throws the ORA-04062 error nonetheless when trying to access the package.
I originally assumed that the spec had actually changed when this error came up, and didn't do any additional research. But this time around, I checked, and only the package body is different. The spec, though compiled, is identical to the version that was there prior.
What makes up the "signature" and why does Forms keep thinking that a recompile equates to a signature change?
--=Thanks
Chuck

chuckers wrote:
We've had a repeated situation where an unaltered package spec has been recompiled, which was in excess since only the package body has incurred a change. But, our Oracle Forms application throws the ORA-04062 error nonetheless when trying to access the package.
I originally assumed that the spec had actually changed when this error came up, and didn't do any additional research. But this time around, I checked, and only the package body is different. The spec, though compiled, is identical to the version that was there prior.
What makes up the "signature" and why does Forms keep thinking that a recompile equates to a signature change?
--=Thanks
Chuck
04062, 00000, "%s of %s has been changed"
// *Cause:  Attempt to execute a stored procedure to serve
//          an RPC stub which specifies a timestamp or signature that is
//          different from the current timestamp/signature of the procedure.
// *Action: Recompile the caller in order to pick up the new timestamp.default behavior is TIMESTAMP change which can be over rode to
only force (re)compile what number or parameter type changes

Similar Messages

  • Java.sql.SQLException: ORA-04062: timestamp of function has been changed

    Hi,
    Environment:
    We host our java 1.5 , j2ee application on multi-clustered environment connecting 2 app servers to 1 node of oracle RAC cluster.
    We have batch jobs running daily in the morning, that does a new data upload to the production DB. (Load to a Tmp table, Drop the production table, rename Tmp table to production table and re-create indexes.)
    Recent Change:
    We recently migrated from Oracle 10.0 version to 10.1...
    Issue:
    With the recent change, we started facing the error, 'ORA-04062: timestamp of function has been changed' for the STORED PROCEDURES that we use in the application. And I am sure that this is because of the job that runs in the morning, as it re-creates the tables that are used by the stored-procedures. So the stored-procedures become invalid and requires recompile. And we did recompile as well, but still the same error. And then changed the mode from 'TIMESTAMP' to 'SIGNATURE', but still the same error(ORA-04062: TIMESTAMP (and not SIGNATURE) of function has been changed)...
    We are stuck here not knowing what to do. It would be helpful if you can assist me here with any idea on why this is happening? The only solution we found right now is to restart the tomcat on application servers. This resolves the issue to 100%. Would this mean there is a problem with my database connection in the application?
    Thank you,
    Pradeep.

    The only solution we found right now is to restart the tomcat on application servers. This sounds to me as though TomCat is caching information about procedures & functions & does not know they have changed.
    04062, 00000, "%s of %s has been changed"
    // *Cause:  Attempt to execute a stored procedure to serve
    //          an RPC stub which specifies a timestamp or signature that is
    //          different from the current timestamp/signature of the procedure.
    // *Action: Recompile the caller in order to pick up the new timestamp.

  • ORA-04062: signature of package Error

    Dear Members :
    In VISION instance, when trying to query order# in Shipping->Transctions; getting the following error:
    APP-WSH-231210: An unexpected error occured for line 388286.
    The Error is: ORA-04062: signature of package
    "APPS.WSH_DELIVERY_DETAILS_INV" has been changed
    Could anyone please suggest some remedy ?
    Thanks in advance.
    Atanu

    Hello,
    I always ask my DB colleagues to compile something :) I am not specialist in it. Try to compile sales order form example http://www.allguru.net/oracle-apps-dba/compile-fmb-mmb-pll/ or use adadmin to http://www.allguru.net/search/adadmin/page/11/ look at generate application files.
    Look at: ORA-04062 signature of package has been changed
    Regards,
    Luko
    Edited by: Luko on 2010-07-25 20:03

  • ORA-04062: signature of package "APPS.OE_HOLDS_PUB" has been changed

    Hi All,
    We are getting the below message while entering a sales order .
    ORA-04062: signature of package "APPS.OE_HOLDS_PUB" has been changed
    FRM-40735: WHEN-NEW-BLOCK-INSTANCE trigger raised unhandled exception ORA-04062.
    Please help me.
    Regards,
    Dash

    Hi,
    Was this working before? If yes, what changes have been done recently?
    Do you still have any invalid objects after compiling it?
    Please go through the steps in (Note: 550364.1 - FRM-40735: Pre-Update Trigger Raised Unhandled Exception ORA-04062) and see if it helps in fixing the issue.
    Regards,
    Hussein

  • ORA-04062: signature of package "SYS.UTL_RAW" has been changed

    I have a form that was migrated from 6i to 10g.
    I get the following error in the form in 10g.( Not in 6i )
    ORA-04062: signature of package "SYS.UTL_RAW" has been changedIf I execute the same code from sqlplus in 10g. It works..no errors
    This is the code
    set serveroutput on
    Declare
       P_chksum  Varchar2(40);
    Begin
       P_chksum := DBMS_OBFUSCATION_TOOLKIT.MD5(input_string => 'P-STRS');
       dbms_output.put_line('P_chksum='||P_chksum);
       P_chksum := UTL_RAW.CAST_TO_RAW(P_chksum);
       dbms_output.put_line('P_chksum='||P_chksum);
    End;
    SQL> start test_cksum.sql
    P_chksum=Ì]\š#³³MÝÜ~Jèo²
    P_chksum=CC5D5C9A23B3B34DDDDC7E4AE86FB209
    PL/SQL procedure successfully completed.Any idea why I get this error in forms 10g only?
    Thanks

    Issue resolved. Something to do with compilation of the form.

  • ORA-04062: signature of package In Invoice Work Bench.

    Hi All,
    When i am clicking on the invoice tab in invoice batch i got following note and i got same when i am selecting the invoice date,and payment terms.
    ORA-04062: signature of package.
    "Apps.IBY_DISBURSEMENT_COMP_PUB" has been changed.
    I did not get payment method also, when i am seleting the payment method it is not showing any payment method.
    It shows one message that is "FRM-41830: List of values contains no entries".
    But we have assigned the payment for this supplier at site level and header level also.
    For this reason we are not able to create the invoices.
    Regards,
    Raju.

    Hi,
    seems to be a bug with oracle .... try recompiling the form first, if it does not work...try selecting some other supplier and see payment method value gets populated or not ... if not, follow steps stated in the below oracle reference ...
    References
    IBY_DISBURSEMENT_COMP_PUB ORA-01422: exact fetch returns more than requested number of rows [ID 1362346.1]
    Regards,
    Ivruksha

  • Signature of package APPS.FND_GLOBAL has been changed

    On Opening the R12 forms, getting the pop error
    APP-FND-01926 The custom event WHEN-RESPONSIBILITY-CHANGED raised unhandled exception
    ORA-04062 signature of package APPS.FND_GLOBAL has been changed.
    On Clicking OK, it opens switch responsbility form and then it shows the same error.
    APPS.FND_GLOBAL package is valid too. How to rectify this? Plz help

    Enabled the trace and got the below information.
    Error Message: FRM-40815: Variable GLOBAL.IGI_INSTALLED_GLOBAL_VAR does not exist.
    Error Message: FRM-40815: Variable GLOBAL.IGI_INSTALLED_GLOBAL_VAR does not exist.
    Error Message: FRM-40815: Variable GLOBAL.IGI_PREV_ORG does not exist.
    Error Message: FRM-40815: Variable GLOBAL.IGI_INSTALLED_ORG_VAR does not exist.
    Error Message: FRM-40815: Variable GLOBAL.OPM_GML_INSTALLED1 does not exist.
    Error Message: FRM-40735: WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-04062.
    Error Message: FRM-40400: Transaction complete: 1 records applied and saved.
    Error Message: FRM-40735: WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-04062.
    Plz help on this !!!
    Karthik
    Edited by: cRazy DBA on Jan 3, 2012 5:24 AM

  • ORA-04062 (Signature has been changed)

    Hi Sir,
    I need to ask about Developer Forms problem?
    We have one software version for many clients, but somtime we get runtime
    message ... ORA-04062 (Signature has been changed)... on our forms ... and we
    have to recompile the form source ... but in some cases this is not posible
    because we don't have the apropiate enviroment... get it?
    Now my question, Is there some way to catch (Database way maybe) why the
    signature problem is showing ?, in other words, How can I get the extactly
    declaration or specification or whatever, is causing the problem ... basically
    because we don't have the enviroment and the time to go watching into the code
    source...
    Thanks in advanced,

    Hi,
    We are using remote_dependecy_mode = 'Signature'.
    And we don't change the package spec frequently.
    Our situation is like this :-
    We have 3 schemas Development, Test, Production.
    All of the above three schemas are completely identical.
    Now, we develop a form in development schema, Test it in Test schema and deploy it in production schema. We use forms 6i application server.
    Now, the form that is development schema is deployed in Test/ Production schema in Application server we get the error ORA-04062 (Signature has been changed).
    Is there anything that we are missing. Can anyone suggest how to get rid of this error. Previously we were using Oracle 8.1.7 and everything was fine. Recently we migrated our database Oracle 9i release 1 and we started getting this error in above situations.
    Thanks,
    --Malay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ORA-04068: existing state of packages has been discarded

    I work on an order entry system that is up 24x7 running Oracle version 8.0.5. I want to compile a fix to a procedure contained in a package body. I only will be recompiling the package body. Since the package body has no dependent objects, I should not invalidate any stored procedures that call this procedure in my package. However, should I worry about causing an "ORA-04068: existing state of packages has been discarded" error? What causes this error and when does it occur?

    Please ensure that DBMS_ROWID is created in SYS schema and not in any ordinary user's schema. If it exists in any user's schema drop it from there.
    If the problem persists, drop the package from sys schema as well and run two script files in the following order:
    1) ORACLE_HOME\rdbms\admin\dbmsutil.sql
    2) ORACLE_HOME\rdbms\admin\prvtutil.plb

  • SQL Plus session - "schema.package" has been invalidated on making any chng

    Hi
    I am in the process of testing a stored procedure. Whenever I make changes to the procedure I am executing it from the SQL Plus session. But whenever I make a change to the procedure - i have to close that particular SQL Plus session and open another one. I get the message:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-04061: existing state of has been invalidated
    ORA-04061: existing state of package body
    "schema.package" has been invalidated
    ORA-04065: not executed, altered or dropped package body
    Is there a way that I do not have to open a new SQL Plus session everytime I make change to the package?

    It does not help :(. I get this problem in a SQL+ session only when I make a change in a JDev session. I have to log off the SQL+ session and log back in and it is OK again without re-compling anything. I don't have a problem with two SQL+ session. Isn't that strange?
    ben

  • Existing state of package has been discarded...

    If application is running and it uses cursors/prepared statements for procedures and functions in packages and
    new version of package is inserted into database, then an error message 'existing state of package has
    been discarded' is raised.
    However, there are packages where there is no 'existing state of package'. And for application purposes
    new version of this package should be used without this error message.
    Enhancement: There should be a pragma stating that package is 'stateless' and new version ot it is used if it
    exists without an error situation.
    This feature would be beneficial e.g. in 3-tier architecture where servers are running constantly.
    Or can this be accomplished with any other way (without parsing statement with every call ) ?

    When session references a package for the first time package is instantiated in session memory. If package is recompiled since, Oracle assumes it possibly changed and package instance in session memory is no longer valid. That's why any reference to that package made by such session will raise an error.
    Session 1:
    SQL> create or replace
      2  package pkg1
      3  is
      4  g_n number;
      5  procedure p1;
      6  end;
      7  /
    Package created.
    SQL> create or replace
      2  package body pkg1
      3  is
      4  procedure p1
      5  is
      6  begin
      7  for rc in (select * from emp) loop
      8  dbms_output.put_line(rc.empno);
      9  end loop;
    10  end;
    11  end;
    12  /
    Package body created.
    SQL> exec pkg1.p1;
    PL/SQL procedure successfully completed.
    SQL>This instantiated package PKG1 is session1. Then session 2:
    SQL> alter package pkg1 compile body;
    Package body altered.
    SQL> Back to session 1:
    SQL> exec pkg1.p1;
    BEGIN pkg1.p1; END;
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04061: existing state of package body "SCOTT.PKG1" has been invalidated
    ORA-04065: not executed, altered or dropped package body "SCOTT.PKG1"
    ORA-06508: PL/SQL: could not find program unit being called: "SCOTT.PKG1"
    ORA-06512: at line 1
    SQL>SY.

  • Re : apn of smartone hong kong has been changed

    the apn of smartone hong kong is changed to "internet" now and would like to see an update soon.
    thank u.
    Message Edited by cs15user on 21-Jan-2010 09:45 PM

    The only solution we found right now is to restart the tomcat on application servers. This sounds to me as though TomCat is caching information about procedures & functions & does not know they have changed.
    04062, 00000, "%s of %s has been changed"
    // *Cause:  Attempt to execute a stored procedure to serve
    //          an RPC stub which specifies a timestamp or signature that is
    //          different from the current timestamp/signature of the procedure.
    // *Action: Recompile the caller in order to pick up the new timestamp.

  • Existing state of packages has been discarded...

    Hi all,
    I know this is a long shot and probably you need more details to help, but please take a look in case you've encountered something similar before... It is a pretty interesting problem.
    Ok, I have two packages, say, A and B. Package A is composed of utility functions, and package B makes use of those functions. These packages are compiled as part of the schema installation, where package A is always compiled first. I also have unit test scripts for each procedure in each package.
    Now, after schema installation, when I run the unit test for some procedures in package B, I get the following error:
    ORA-04068: existing state of packages has been discarded
    ORA-04065: not executed, altered or dropped stored procedure "my_schema.pkg_A"
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at "my_schema.pkg_B", line 18
    ORA-06512: at line 5
    Some interesting notes:
    - I can run the unit test of all pkg A procedures. I can also describe the package. Which seems to me that pkg A has been compiled successfully.
    - If I log into a sqlplus session, run the unit test for a pkg B procedure, which then fails with the above message. Then I run a unit test of a pkg A proceudre, which succeeds. Then I run the same pkg B unit test, it will work then. And all the other pkg B procedures will work from this point on.
    - But if I log out from sqlplus session, and log in again, and run the pkg B procedure unit test again, it will fail as before.
    - Certain procedures in pkg B have no problem running. They also call pkg A procedures. However, the pkg A procedures are always invoked in the where or order by clauses in these cases. The pkg B procedures that call pkg A procedure in a standalone statement will always fail.
    - The fact above made me suspect that function-based indexes (which were created using pkg A procedures) were used in cases where pkg B procedures work. And that in those cases pkg A hasn't really been invoked. However, when I monitor those indexes using v$object_usage, it shows they are not used. (I have a very small set of data.)
    - After schema installation, if I compile pkg B again, the problem will disappear.
    Does this ring a bell to anyone? Any help will be appreciated.
    Thanks,
    Gloria Chung

    Thanks for reading and responding.
    I'm compiling both header and body for both packages.
    I ran the following query after schema installation, which returned 0:
    select count(*) from user_objects where status='INVALID';
    The schema installation involved putting new copies of both package A and B.
    If I only recompile the package body after installation, it will still 'cure' the problem. I.e. if I run any of the affected pkg B unit test, it will run successfully.
    It is assumed there is no schema before 'schema installation'.
    Thanks,
    Gloria

  • ORA-04061: existing state of  has been invalidated

    Hi,
    In Development Database Information
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE     11.2.0.2.0     Production"
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Solution required for this oracle error
    I am getting this Error - ORA-04061: existing state of has been invalidated
    package pkg1 -> Main pkg
    pkg1 calling another package pkg2
    i am modified and recompiled the package pkg2.
    After executing the package PKG1 it throwing this Error ORA-04061.
    i am checking user_objects and it status are VALID.
    In both package doesnt have the any variables.
    Please suggest the above issue.
    Thanks in advance.
    Regards,
    Sudhakar P

    BluShadow wrote:
    Karthick_Arp wrote:
    Sudhakar P wrote:
    Hi,
    how to reload it into memory - SGA ?.Please suggest me.
    Regards
    Sudhakar P.I guess you dint get my point. So may be read this {message:id=3488533}:) Saves me re-posting it.Still remember reading it way back then :). I much appreciate the time you spend on explaining it in detail.

  • Urgent:Tnsname host has been changed for informatica

    Hi All,
    I am new to informatica,
    my tnsname host has been changed in tnsnames.ora file. i wnt to makes the changes for the informatica where it uses the same host. kindly let me know the places where i have to change the host name in informatica.
    Thanks,
    rajitha.

    Hi ,
    In workflow manager Connections-->Relational path create new connection with new DSN name related to your new TNS entry and assign this connection to your workflow connections.
    Thanks

Maybe you are looking for

  • Simple question about JAVA path

    Hi. I have a simple question , but I spent several hours trying to find an answer. How do I know the location of the java executable which is used by Concurrent Manager. I already know that running which java under application user will not give me t

  • IOS doesn't accept dot1x commands on 4510r+e

    I am running a 4510 with a SUP-8. I am trying to implement 802.1x for NAC, but the switch refuses the interface-level command. Below is the entire config I am trying to implement and the results. Any ideas as to why it rejects the interface level com

  • How to connect from sql*plus to Sql Server

    Dear Profs. How I can connect from sql*plus v8 on my local pc(Win XP) to Sql Server Express 2005 light weight installed in same local pc ? Thanks, Ahmed.

  • FieldFixedLengths or fieldSeparator  is missing Mandatory parameter in XI

    Hi Guys, I'am new in SAP XI version 7 ...kindly guide me..my problem is an error return in Runtime workbench here it is: 'CONTACTRECORD.fieldFixedLengths' or 'CONTACTRECORD.fieldSeparator' is missing Mandatory parameter 'CONTACTRECORD.fieldNames': no

  • Micro SIM in iPad 2

    I have moved from the UK to the USA in January and after MUCH aggrovation, have switched my iPhone from Orange to AT&T. My iPad 2 currently has a pay-as-you-go SIM from the UK.  Can this be changed to a US micro SIM? Any help gratefully received...