Oracle package needs recompilation off and on

I am using Oracle 11.1.0.7.4 on HP UNIX. I have third party application which has several Oracle
Packages. After a few days, a package gives error (i.e., a select is not returning data from table, even though there is data in table). If I just recompile the package, things start working. After a day or two, same problem happens, then I recompile everything works.
This looks like some bug in Oracle. Can someone point what may be the cause? There are no messages generated in alert.log.

user632098 wrote:
I am using Oracle 11.1.0.7.4 on HP UNIX. I have third party application which has several Oracle
Packages. After a few days, a package gives error (i.e., a select is not returning data from table, even though there is data in table). If I just recompile the package, things start working. After a day or two, same problem happens, then I recompile everything works.
This looks like some bug in Oracle. Can someone point what may be the cause? There are no messages generated in alert.log.Could be something like, some dependency between packages goes bad, so other users already connected and running one of those packages get state errors. Are you doing DDL? Are there variables declared at the package level? What error are you getting? Are people getting privilege assigned or dropped? Does the application directly access Oracle x$ tables? It could be that some rarely executed code hits some obsolete definition if it tries to be that cute.
See MOS ORA-04068 Errors from User-Written and Oracle Packages [ID 106206.1] for some details. I'm sure I've seen blogs talk about this sort of thing, perhaps in the context of the 11.2 editions feature fixing some of these kinds of errors.

Similar Messages

  • ULN oracle-validated, Note 761566.1 and database packages for OEL 5.5

    I purchased the ULN to simiplify installing the packages for an Oracle E-Business installation. I'm assuming the oracle-validated is not for E-Business installation because there were several required packages from note 761566.1 that were not installed The note also has a list of 11.1.0.7 required packages. Not all of these were installed with the oracle-validated update either. Maybe i'm not doing it correctly?
    If so, how do you use the oracle-validated to apply all the required packages. What channels do I subscribe to for the oracle-validated to work correctly.
    I am on OEL 5.5
    I am subscribed to two channels the latest for 5.5 and 5.5 x64 per a previous thread.
    Packages listed in note 761566.1 that I'm having trouble with:
    There are 3 parts to the package installation section.
    1. You have to go to http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux to get a couple packages not on the OEL installation disk. Are these also on the ULN update someplace?
    •openmotif21-2.1.30-11.EL5.i3861
    •xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
    2. A list of packages for release 5 and up
    There were more than this not updated from oracle-validated from the ULN but these are the trouble ones:
    This is on the list of required:
    •glibc-2.5-18.i686 (32-bit)
    •glibc-2.5-18.x86_64
    •glibc-common-2.5-18.x86_64
    •glibc-devel-2.5-18.i386 (32-bit)
    •glibc-devel-2.5-18.x86_64
    This is what is on the server after ULN update
    glibc-2.5-49.el5_5.7 (i686)
    glibc-2.5-49.el5_5.7 (x86_64)
    glibc-common-2.5-49 (x86_64)
    glibc-devel-2.5-49.el5_5.7 (i386)
    glibc-headers-2.5-49.el5_5.7 (i386)
    Is glibc-2.5-49.el5_5.7 (i686) a newer version of •glibc-2.5-18.i686 (32-bit) ? if so, then where do I get the same version that is synonymous with •glibc-devel-2.5-18.x86_64 ?
    If i try to apply •glibc-devel-2.5-18.x86_64 I get stuck in a loop.
    This is what is on the 5.5 linux disk:.
    glibc-2.5-49.i686.rpm
    glibc-devel-2.5-49.i386.rpm
    glibc-2.5-49.x86_64.rpm
    glibc-common-2.5-49.x86_64.rpm
    glibc-devel-2.5-49.x86_64.rpm
    glibc-utils-2.5-49.x86_64.rpm
    glibc-headers-2.5-49.x86_64.rpm
    3. Additionally, the following RPMs are required for an 11gR1
    I would have thought at least these packages would have installed from the oracle-validated update, but they weren't. Maybe I'm doing it wrong.
    The following are listed in the note to be installed: I get stuck in a loop with this one too. What do I do about this?
    •elfutils-libelf-devel-0.125-3.el5.x86_64
    •elfutils-libelf-devel-static-0.125-3.el5.x86_64
    What is installed is
    elfutils-libelf-devel-0.137-3.el5 (i386)
    elfutils-libelf-devel-static-0.137-3.el5 (i386)
    # rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
    error: Failed dependencies:
    elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 is needed by elfutils-libelf-devel-0.137-3.el5.x86_64
    # rpm -ivh elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
    error: Failed dependencies:
    elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by elfutils-libelf-devel-static-0.137-3.el5.x86_6
    This is what is on the 5.5 disk:
    elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
    elfutils-libelf-devel-static-0.137-3.el5.i386.rpm
    elfutils-libelf-0.137-3.el5.x86_64.rpm
    elfutils-libelf-devel-0.137-3.el5.i386.rpm
    elfutils-libelf-0.137-3.el5.i386.rpm
    elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
    Edited by: jarymo on Jan 28, 2011 7:29 AM

    Now I really need glibc-devel-2.5-18.x86_64. My installation failed with the following which is what started this quest for what is missing in the first place.
    .end std out.
    sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory
    egrep: /u01/oracle/VIS/db/tech_st/11.1.0/appsutil/log/VIS_vicr410/adcrdb_VIS.txt: No such file or directory
    This failed on the database portion of the installation. ibclntsh.so.11.1 sh
    From DOC: 786995.1 Troubleshooting The Relink Errors When Missing RPMs on Linux x86-64
    Error :-
    /usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.11.1
    Affected Version :-
    11.1 RHEL5(x86-64)
    RPM missing :-
    glibc-devel (64-bit)
    ApplyDatabase_01281418.log
    This is on the list of required:
    •glibc-2.5-18.i686 (32-bit)
    •glibc-2.5-18.x86_64
    •glibc-common-2.5-18.x86_64
    •glibc-devel-2.5-18.i386 (32-bit)
    •glibc-devel-2.5-18.x86_64
    This is what is on the server after ULN update
    glibc-2.5-49.el5_5.7 (i686)
    glibc-2.5-49.el5_5.7 (x86_64)
    glibc-common-2.5-49 (x86_64)
    glibc-devel-2.5-49.el5_5.7 (i386)
    glibc-headers-2.5-49.el5_5.7 (i386)
    Is glibc-2.5-49.el5_5.7 (i686) a newer version of •glibc-2.5-18.i686 (32-bit) ? if so, then where do I get the same version that is synonymous with •glibc-devel-2.5-18.x86_64 so I don't have to remove all the UNL updates and apply what is on the installation disk?

  • Package body recompilation - needs BPEL process redeploy or Server restart

    Hi,
    I have a partner link which connects to a PL/SQL Package procedure using Database adapter.
    When i recompile the package body, and try a new instance of the process. I get the binding fault
    which indicates that the current state of the package is invalid.
    I have not recompiled the package specification, why should a package body recompilation cause
    problem in the binding?
    WSIF JCA Execute of operation 'AuthConfirmationService' failed due to: Error while trying to prepare and execute an API. An error occurred while preparing and executing the DEMF1BAR.DVPKS_BPEL_IRS.PR_CONFIRM_AUTH API. Cause: java.sql.SQLException: ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package body "DEMF1BAR.DVPKS_BPEL_IRS" has been invalidated ORA-04065: not executed, altered or dropped package body "DEMF1BAR.DVPKS_BPEL_IRS" ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1 ; nested exception is: ORABPEL-11811 Error while trying to prepare and execute an API. An error occurred while preparing and executing the DEMF1BAR.DVPKS_BPEL_IRS.PR_CONFIRM_AUTH API. Cause: java.sql.SQLException: ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package body "DEMF1BAR.DVPKS_BPEL_IRS" has been invalidated ORA-04065: not executed, altered or dropped package body "DEMF1BAR.DVPKS_BPEL_IRS" ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1 Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.</summary>
    <detail>ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package body "DEMF1BAR.DVPKS_BPEL_IRS" has been invalidated ORA-04065: not executed, altered or dropped package body "DEMF1BAR.DVPKS_BPEL_IRS" ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1</detail>
    Is this is a bug or a limitation? Are there any workarounds?
    Thanks,
    Senthil L

    this is not intended behaviour, and an issue of the db pool (that holds open jdbc connections, for performance). You can try setting min and max connections to 0 (for development) - which ill have the pool creating a new connection every time.
    This is as mentioned not bpel related, but a feture of the jdbc driver.
    hth clemens

  • My iTunes Store on IPhone comes up with an error ([newNullResponse]). It is just on the music tab, tv shows and movies tab works fine. I have tried restarting phone, closing app, turning my account off and on. What is the problem I need help?!!!!

    My iTunes Store on iPhone comes up with an error [newNullResponse] always when I click the music tab. The movies and tv shows tab works fine. I have tried everything from restarting my phone to turning my account off and on.

    Try a different cable and a different charger. If neither fixes it you probably need a new battery. Apple will replace it for $80 in the US; I don't know what the charge is in other locations.

  • I've ordered a new mac book pro 15" and i need to clean hard drive off my old PC...not really to move them to the mac, but just to save in case needed; mostly pics and office docs....any suggestions?

    I've ordered a new mac book pro 15" and i need to clean hard drive off my old PC...not really to move them to the mac, but just to save in case needed; mostly pics and office docs....any suggestions?

    Buy an external USB hard drive and copy your data to it.  Either that or burn them all to single or double layer DVDs (depending on amount of data you have).  Or if it's really a small amount, consider putting it all on a USB memory stick.

  • Need to switch off and on my apple tv v2 each time I want to connect my PC under vista

    Hello
    need to switch off and on my apple tv v2 each timeI I want to connect my PC under vista.
    After that, everything is going well...
    But it is not the best user experience ;-)
    Any idea if this can be fixed ?
    My PC is under Vista...
    Thanks a lot

    I'm having the same problem.  It seems to have started after the most recent firmware upgrade.  Does anybody know if Apple is looking into this?  It's rather irritating to have to reboot the Apple Tv every time I want to use it!

  • I was listening to pandora radio and my ipod touch jus turned off and went in to recovery mode and has the picture saying i need to plug it into itunes but it wont let me restore it?

    i was listening to pandora radio on my ipod touch and it jus turned off and went the screen went to the picture with cd of itunes sayig it needed to be connected and i plugged it in to restore it but it wont let me it says error and that its in recovery mode...?

    Try kicking it out of recovery mode with RecBoot. If that does not work, restore it.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • HT201407 Hello All, I bought an iPhone of eBay. It seemed fine until this morning when it switched itself off and now it won't come on unless it's plugged in. And even then it is asking that it needs to be activated, but it can't connect to iTunes. Any su

    Hello All, I bought an Iphone of eBay. It seemed fine until this morning when it switched itself off and now it won't come on unless it's plugged in. And even then it is asking that it needs to be activated, but it can't connect to iTunes

    Try Recovery Mode... http://support.apple.com/kb/HT1808

  • My ipad 2 suddenly shut off and asked me to connect to itunes it asks me to restore but it wont work need help pls

    my ipad 2 suddenly shut off and asked me to connect to itunes it asks me to restore but it wont work need help pls

    The iPad is telling you it has entered the recovery mode - you need to follow the instructions in http://support.apple.com/kb/HT1212 for connecting to a computer running iTunes by way of the recovery mode.

  • I was trying to update my iphone and it downloaded the software but when it went to install it it turned off and wnt turn back on and says i need to connect to itunes and ive tried but itunes doesnt recognize its there

    i was trying to update my iphone and it downloaded the software but when it went to install it it turned off and wont turn back on and says i need to connect to itunes and ive tried but itunes doesnt recognize its there

    Connect in recovery mode and restore, as described in this article:
    If you can't update or restore your iOS device

  • I think i got ripped off by this verizon store , I got the 4 line $140.00 edge plan, which I had to pay for the phone in monthly payment, i did the math it was 268.00 total..  At check out this guy charge me $50.00 care package for each phone and sim card

    I think i got ripped off by this verizon store , I got the 4 line $140.00 edge plan, which I had to pay for the phone in monthly payment, i did the math it was 268.00 total..  At check out this guy charge me $50.00 care package for each phone and sim card which was $10.00 , $25.00 set up with TCP and he said the rest was tax.  I had to pay $474.36.. my brother went to costco and did the same verizon deal he didn't have to pay anything...

    Welcome to this forum.
    This is a customer to customer forum only, where forum members, who are only BT customers, can help each other with BT Retail products and services.
    Anything you post here does not go to BT. Although the forum is moderated by BT, not all posts are read.
    I have asked a moderator to provide assistance, they will post an invite on this thread.
    They are the only BT employees on this forum, and are a UK based team of people, who take personal ownership of your problem.
    Once you get a reply, make sure that you are logged into the forum, then click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
    They will respond either by phone or e-mail within 5-6 working days.
    Please use the tracked e-mail, to reply, not via the forum. Thanks
    This is the form you should see when you click on the link. If you do not see this form, then you have selected the wrong link.
    When you submit the form, you will receive an enquiry number, so please keep a note of it
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Old Geezer needs HELP.  clicking on and off and on and off

    I have an ipod classic 80. It keeps clicking on and off and on and off. The little apple logo pops up on the screen when it comes on but then it shuts off again. I hear a faint "clicking" noise when it powers off. I tried pushing menu and select buttons and nothing happens. I'm old, aggravated, and sad. Please help the elderly !

    I sent the following to someone else a few minutes ago. It may help you also:
    Plug the iPod into your computer. Go to iTunes. Click on the iPod icon in the sidebar of iTunes. Click on the Summary tab. Click on the restore button. This will delete everything from your iPod, so you will have to re-sync all movies, music, pictures, contacts and anything else you have on it. If you are using the disk-mode option, it will wipe all this data too, so be sure to back these files up before you embark on the restore procedure. This is all assuming that the iPod will mount and the clicking noise isn't what I think it may be; A failed hard drive.
    If none of this works, and the hard drive has failed rather than the iPod just needing to be restored then it is almost certainly still under warranty (the 80gb Classic has only been around since last September so I think you qualify for repair).
    And you can always work your way through the Apple hints at the following link:
    http://www.apple.com/support/ipod/five_rs/classic/
    If this doesn't resolve the problem, you should probably get in touch with Apple Support:
    http://www.apple.com/support/contact/
    Good luck
    From another slightly old geezer...

  • HT200101 i make voice toggle . i cant turn it off  and my screen locked too plz i need help

    i make voice toggle . i cant turn it off  and my screen locked too plz i need help

    You're gonna have to figure out a way to call AppleCare...there is no AppleCare where you live...somewhere, & ask to talk to "Account Security". Here's a list of worldwide support numbers:
    http://support.apple.com/kb/HE57

  • HT4539 I sign up for the racing post app each month but didnt print past invoices off and now cant find them anywhere and need them for my books how do i find them

    I sign up for the racing post app each month but didnt print past invoices off and now cant find them anywhere and need them for my books how do i find them

    If you wish to submit comments to Apple, the best way is to use their feedback pages.
    http://www.apple.com/feedback/itunesapp.html
    It's not likely that anyone from Apple will see your comments here among the thousands of other posts.
    Regards.

  • My iPhone4s turned itself off and will not turn back on unless it is charge data all times. I need help and answers please.

    My iPhone4s turned itself off and will not turn back on unless it is charged at all times. I need help and answers please.

    And we would need more info. "will not turn back on unless it is charged at all times." is pretty obvious: the phone will obviously not turn on unless it is charged.
    Describe your problem clearly.

Maybe you are looking for