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.

Similar Messages

  • Problem with ORA-04061: Existing state of string has been invalidated Tips

    hi,
    i'm a oracle developer and work in a IRON Industry, in our industry we have several levels of data communications, in our level 2, all of software developed on .NET platform, and in level 3 we have oracle tools such as form builder, we have a connector called ICC that developed in .Net platform, ICC gathers datas from level 2 on tcp/ip and write in a oracle database(level 3), a BEFORE INSERT trigger wrote on a table that ICC insert into it datas and calls several packages in the level 3, we have oracle database 10g R2, in this database if state of one of dependent procedures or functions that called in main package changed to INVALID then this trigger doesn't work, if any body have any suggestion to change our solution please help me.
    Thanks alot

    Arash wrote:
    hi,
    i'm a oracle developer and work in a IRON Industry, in our industry we have several levels of data communications, in our level 2, all of software developed on .NET platform, and in level 3 we have oracle tools such as form builder, we have a connector called ICC that developed in .Net platform, ICC gathers datas from level 2 on tcp/ip and write in a oracle database(level 3), a BEFORE INSERT trigger wrote on a table that ICC insert into it datas and calls several packages in the level 3, we have oracle database 10g R2, in this database if state of one of dependent procedures or functions that called in main package changed to INVALID then this trigger doesn't work, if any body have any suggestion to change our solution please help me.
    Thanks alotThis probably is not specific to your .NET application. If you can reproduce this from SQL*Plus please post this over on one of the OTN database forums, as there a lot more DBAs over there who could potentially help you.

  • 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

  • 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

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

  • Best I have been trying for a week to order greeting cards using iPhoto but do I always get the same statement: there has been an error occurred while connecting to Apple's online store try again

    Best I have been trying for a week to order greeting cards using iPhoto but do I always get the same statement:
    there has been an error occurred while connecting to Apple's online store try again

    Best I have been trying for a week to order greeting cards using iPhoto but do I always get the same statement:
    there has been an error occurred while connecting to Apple's online store try again

  • ORA-39095: Dump file space has been exhausted

    Hello Friends,
    DB Version : 10.2.0.4
    OS : SUN Solaris 10
    We have a server with 10 RAC databases running on it. From 1st node we have a scheduled export job for all the databases. All the databases are using a common script and we are passing parameters (example as below)
    /opt/oracle/admin/DBA/dbatools/expdpdb.sh -d w111pr1 (here w111pr1 is the SID)
    Out of 10 databases, full export job is working fine for 9 databases. only for 1 database (which i mentioned above), export is failing with below error
    ORA-39095: Dump file space has been exhausted: Unable to allocate 16384 bytes
    Job "OPS$ORACLE"."SYS_EXPORT_FULL_39" stopped due to fatal error at 00:06:13
    After analyzing I found that in the script we are not using '%U' option for dump file which might cause the problem. But if this is the real issue, it should fail for other 9 databases also. But even without '%U' option, it is working for other databases.
    One more thing.... all the export backups will run in a difference of 1/2 hour. Do we need anything with OS processes?
    Anyone faced this kind of issue earlier? If so please let me know what can be a better way to handle it.
    Thanks in advance...
    P.S: export is executing fine when issued manually.

    what are your dumpfile, parallel and filesize parameter values in the shell script? does the shell script has one size fits all parameter settings? Also are there any other errors? Can you share the expdp command ?
    Edited by: rjamya on Jun 7, 2012 4:41 AM

  • HT1926 unable to install new iTunes as it states it has an invalid signature. what is this.

    unable to install new iTunes as it states it has an invalid signature. what is this.

    That one suggests the installer has gotten damaged during the download.
    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • Certificate with PSE type SystemPSE has been invalid

    Hi,
    I got the following error in the log. Please advise.
    Certificate with PSE type >SystemPSE< has been invalid for 733561 days
    Regards,
    Tony

    Tony,
    If you are not currently using SSO, you may want to clean up the System PSE at any time, to eliminate those log errors.
    If you are actively using SSO, youu2019ll want to wait for off-peak hours or a maintenance window.
    The following is based on having the system certificate and the portal SSO certificate.  If you have more for other reasons, youu2019ll need to take more care and planning.
    To do this, you will need to:
    -     go to strustsso2
    -     right click on System PSE (left panel)
    -     select Delete
    -     green arrow back all the way out of strustsso2 to the main screen
    - Go back into strustsso2
    - right click on create
    - accept the default entries for u2018create PSEu2019
    - click Save
    - If you expand the System PSE on left, you should see your server name.
    - Double click the server to show the system certificate. 
    - Then double click the certificate to see the details.
    -     Finally, youu2019ll want to import your SSO certificate, add it to the Certificate List and add it to the ACL, and save.
    Of course, all of this is if you want to have a cleaner system log.  If you have any doubts before attempting, feel free to post as there are a lot of helpful people in the forums, and in this thread alone!
    If everything is working as expected and you donu2019t mind ignoring the system log messages, then you can take no action.
    Hope this helps!
    PJ

  • Just purchased a new pc. Downloaded Itunes. Downloaded some new music. Went to add the new music to my iphone off my new computer but it wants to wipe all of my existing music which has been purchased from itunes. HELP! What should i do?

    Just purchased a new pc. Downloaded Itunes. Downloaded some new music. Went to add the new music to my iphone off my new computer but it wants to wipe all of my existing music which has been purchased from itunes. HELP! What should i do?

    Kford_red wrote:
    Feel a bit gutted as spent £££'s downloading music tonight and not been able to get the songs onto my phone so far!
    The music you just downloaded tonight to your new computer is safe. The music you purchased on your phone is safe.  You shouldn't feel gutted.  It's your other music that you should have taken better care of.  That would include any music you ripped yourself or purchased outside of iTunes.  That you can't get back.
    It has always been the user's responsibility to back up and protect downloaded music.  If you didn't have a backup of your computer before it started acting funny, that's your fault.  It would be no different than if you lost a music CD.  It would not be a record store's responsibility to replace if you lost it.  Digital music is no different.  Similarly, a phone is not a backup medium.  Phone's break, get misplaced or stolen all the time and are not a substitute for a backup copy of your music and media.
    Computers WILL break.  Hard drives WILL fail.  That's why you back up your data. 

  • Getting error message that states itunesexe has been set to run in compatibilty mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it .How do i turn off compatibility mode?

    recieved error message that states" itunes exe has been set to run in compatibility mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it. How do i access compatibility mode and turn it off ? Believe i have Windows 7.

    Try the following document, only be sure that none of the boxes in the compatibility tab are checked (not just the compatibility mode box itself): 
    iTunes for Windows: How to turn off Compatibility Mode

  • When downloading the free trial of After Effects, an error states"installer has been misconfigured"

    When trying to download the free trial of After Effects, and error states "this application cannot be installed because this installer has been misconfigured"

    You can download the trial version of the software directly from the page linked below.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site or else the download will not work properly.
    CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html

  • When user click "My Site clicking My Content states: There has been an error creating the personal site. etc

    Hello community
        Using Sharepoint 2010 Server and the UI on its intranet there is a My Site.  After creating the My Site the user account that created the intranet easily can create it's My Site, My Content and My profile.  But when I logon as
    a user
    when I try to create the My site I get an error stating"  "There has been an error creating the personal site.  Contact your site administrator for more information". In the Event viewer log pasted below it says: A failure was encountered
    and User cannot be found.  So I check the UPS Synchronization and I can find the username  in UPS "Manage User Profile" and I can logon with the username I just can't create the My Content after clicking My Site.  The funny
    thing is if I click My Profile the My Profile page appears (although it is a one-way trust relationship if I use "Check Names" when I try to "Add User" to a group an error message appears stating "No match found. etc). So the
    question is how come the account that created the intranet can create 
    My Site and create My Profile and My Content but if a regular user account logs on and clicks My Site, My Profile and get a page but clicking My Content produces that error that says:  "There has been an error creating the personal site.  Contact
    your site administrator for more information". (Note: The output from Event Viewer is posted below)?
        Thank you  
        Shabeaut
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Portal Server
    Date:          7/24/2014 4:51:42 PM
    Event ID:      5187
    Task Category: Administration
    Level:         Error
    Keywords:     
    User:          NT AUTHORITY\IUSR
    Computer:      <ServerName>.<FullQualifiedDomainName>
    Description:
    My Site creation failure for user '<DomainName>\<UserName>' for site url 'http://<MySiteHostUrl>/personal/<DomainName>\<UserName>'. The exception was: Microsoft.Office.Server.UserProfiles.PersonalSiteCreateException: A failure
    was encountered while attempting to create the site. ---> Microsoft.SharePoint.SPException: User cannot be found.
       at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName,
    String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)
       at Microsoft.SharePoint.SPSite.SelfServiceCreateSite(String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String contactLogin, String contactName, String contactEmail,
    String quotaTemplate, SPSiteSubscription siteSubscription)
       at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass2.<CreateSite>b__0()
       --- End of inner exception stack trace ---
       at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass2.<CreateSite>b__0()
       at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       at Microsoft.Office.Server.UserProfiles.UserProfile.CreateSite(String strRequestUrl, Boolean bCollision, Int32 lcid).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-SharePoint Products-SharePoint Portal Server" Guid="{8b3ddd3d-2b09-4669-bf81-e2d6921feeea}" />
        <EventID>5187</EventID>
        <Version>14</Version>
        <Level>2</Level>
        <Task>1</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000000</Keywords>
        <TimeCreated SystemTime="2014-07-24T20:51:42.494Z" />
        <EventRecordID>33776</EventRecordID>
        <Correlation ActivityID="{BC4FAAA6-FA5B-4309-8C2E-0639F5BAC567}" />
        <Execution ProcessID="9600" ThreadID="9520" />
        <Channel>Application</Channel>
        <Computer><ServerName>.<FullQualifiedDomainName></Computer>
        <Security UserID="S-1-5-17" />
      </System>
      <EventData>
        <Data Name="string0"><DomainName>\<UserName></Data>
        <Data Name="string1">'http://<MySiteHostUrl>/personal/<DomainName>\<UserName>'</Data>
        <Data Name="string2">Microsoft.Office.Server.UserProfiles.PersonalSiteCreateException: A failure was encountered while attempting to create the site. ---&gt; Microsoft.SharePoint.SPException: User cannot be found.
       at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName,
    String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)
       at Microsoft.SharePoint.SPSite.SelfServiceCreateSite(String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String contactLogin, String contactName, String contactEmail,
    String quotaTemplate, SPSiteSubscription siteSubscription)
       at Microsoft.Office.Server.UserProfiles.UserProfile.&lt;&gt;c__DisplayClass2.&lt;CreateSite&gt;b__0()
       --- End of inner exception stack trace ---
       at Microsoft.Office.Server.UserProfiles.UserProfile.&lt;&gt;c__DisplayClass2.&lt;CreateSite&gt;b__0()
       at Microsoft.SharePoint.SPSecurity.&lt;&gt;c__DisplayClass4.&lt;RunWithElevatedPrivileges&gt;b__2()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       at Microsoft.Office.Server.UserProfiles.UserProfile.CreateSite(String strRequestUrl, Boolean bCollision, Int32 lcid)</Data>
      </EventData>
    </Event>

    Make sure you enable self service site creation on the MySite web application via CA
    http://technet.microsoft.com/en-us/library/cc261685(v=office.14).aspx
    You mentioned trusts and people picker.  I am having a bit of trouble understanding the exact issue here, but is the issue also coming up that the user in question cannot be found with people picker?
    searchadforest setting to make sure SP can reach to trusted domains to find users. 
    "When a Web application uses Windows authentication, People Picker searches all two-way trusted forests and all two-way trusted domains. However, if you want to search from a one-way trusted forest or a one-way trusted domain, you must run the
    setapppassword operation, and then run the peoplepicker-searchadforests
    property."
    http://technet.microsoft.com/en-us/library/cc262051(v=office.12).aspx
    http://technet.microsoft.com/en-us/library/cc263460(v=office.12).aspx
    Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com

  • Another user has accessed my account and seems to have secured a download. The email from Apple doesn't state what has been downloaded. How can I find out?

    Have been informed by Apple that a strange ID has gained access to download something unspecified without my knowledge. How can I find out what it was and how much was spent?

    Sign into your Account > Click on your account name > Click on Account > Purchase History
    iTunes Store & Mac App Store: Seeing your purchase history and order numbers - http://support.apple.com/kb/HT2727

  • Certificate with PSE type SystemPSE has been invalid for 9 days

    Hi,
    I am seeing the above message in my ERP system transaction SM21 along with Validity of certificate from list with PSE type >SystemPSE< ends in 5 days message.
    I have seen several notes and SDN threads on this and have replaced the PSE etc.  However, when I download a new verify.der file from the Portal, it still shows a valid to date of September 29, 2007.
    How do I change the valid to date to something other than what has already expired?
    Any help is greatly appreciated.
    Regards,
    Rick

    Hi
    check this note 685306
    and also look into this blog 
    Seamless SSO in spite of certificate expiration
    hope this helps you
    Regards
    Krishna.

Maybe you are looking for