Tricky : how to avoid this error transparent to users ?

Hello, Oracle people !
I probably have a very common problem / question ...
We use third party application (called Kintana) that has some SQL queries referencing my custom Oracle views.
Connection to Oracle via JDBC. Some of those views are also using packaged functions residing in one custom package. So when I need to change logic, I'm recompiling just PACKAGE BODY at off-hours time in production. But when next time user runs those queries via Kintana web interface they get an error :
-- The following error is thrown by the Database:
ORA-04068: existing state of packages has been discarded
ORA-04061: existing state of package body "KNTA.OM_MISC_LIBRARY_PKG" has been invalidated
ORA-04065: not executed, altered or dropped package body "KNTA.OM_MISC_LIBRARY_PKG"
But when users refresh their screen on IE browser,
error goes away. (probably Oracle calls it again and recompiles object restoring its valid state)
I understand that how Oracle works,
but I was given a task by Manager :
"Make sure that users don't see this error !"
(some of users are VIP, CIO, VPs and other "highly important" executives)
So I tried to avoid this error but can't ...
I don't know how to restore valid state of recompile package to existing user sessions without this error being seen ...
Please HELP !!!
thanx,
Steve.

I've been reluctant to tell you this since it could have some serious side effects and performance issues but you could reset the entire session package state by calling DBMS_SESSION.RESET_PACKAGE BEFORE you attempt the calls. The problem is that it resets ALL package's state information and I'm not aware of a way to do it for a single package. Unfortunately, it doesn't appear that you can call this routine after the exception occurs. For some reason, the exception seems to have to make it all the way back to the client before Oracle will acknowledge the reset.

Similar Messages

  • Pls tell me how to avoid this error

    Hi All,
    I am getting the follwing excepition while running the application.
    which jar i need to add in the class path. I am using weblogic 10.0 sever.
    pls help as soon as possible.
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/transaction/internal/TransactionHelperImpl
    at weblogic.jndi.spi.EnvironmentManager$DefaultFactoryMaker.<clinit>(EnvironmentManager.java:26)
    at weblogic.jndi.spi.EnvironmentManager.getInstance(EnvironmentManager.java:48)
    at weblogic.jndi.Environment.getContext(Environment.java:307)
    at weblogic.jndi.Environment.getContext(Environment.java:277)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at com.deceval.security.businessobjects.ServiceLocator.getContext(ServiceLocator.java:66)
    at com.deceval.security.businessobjects.ServiceLocator.getSecurityServerMgrSO(ServiceLocator.java:138)
    at com.deceval.security.securityinterface.SecuritySubSystemWin.<init>(SecuritySubSystemWin.java:121)
    at com.deceval.security.securitywindow.StartClass.<init>(StartClass.java:29)
    at com.deceval.security.securitywindow.StartClass.main(StartClass.java:47)
    Press any key to continue . . .
    thanks in advance
    krishna

    Hi,
    Check the below link:
    http://www.tek-tips.com/viewthread.cfm?qid=938138&page=6
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/

  • How to avoid this no read acess in EPC

    hi to all experts.
    im getting this error in Extended Program Check how to avoid this error .
    No read access to field string SWIFT

    Hi,
    Field swift was not read in program, which means field swift was not used in program.If swift was necessary use it with read access.
    Hope this helps you
    Regards,
    Rajani

  • HOW CAN I AVOID THIS ERROR MESAGE WHILE TRYING TO EXPORT AN IPHOTO SLIDESHOW:  The operation couldn't be completed. (OSStatus error -61.)

    HOW CAN I AVOID THIS ERROR MESAGE WHILE TRYING TO EXPORT AN IPHOTO SLIDESHOW:  The operation couldn’t be completed. (OSStatus error -61.)

    Hello,
    I believe the issue was the external HD I purchased was not formatted for Mac . . . once I took care of that - all went well!  The slide show transferred and the surprise 70th birthday party was a huge sucess.  Thank you everyone!

  • Why Memory Manager .cpp Error.How to avoid this

    I am getting getting the attached error when developing labview program.
    Why this error is coming?
    How to avoid this?
    Attached the error screen shot
    Attachments:
    MemoryCppError.png ‏33 KB

    Hi Selvan,
    we don't know your VI, thus we don't know the cause…
    Practical advice: save often, save early!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to avoid JS Error in the status bar when report doesnt contain value.

    Hi
    Whenever the tabular report doesnt show any records for the given input parameter (parameter passed using select list item).
    We are displaying error message in APex. But at the status bar, it is showing "Error" (unspecified
    error).
    Kindly let me know how to avoid this kind of error at status bar.
    Thanks
    Vijay

    Hi Vijay,
    Your javascript is probably trying to access one or more of the items within a displayed tabular form - the "f01", "f02" etc named items.
    If your script does something like:
    var x = document.getElementsByName("f01");
    ..rest of your code for f01 items..you can test if there are any "f01" items by doing:
    var x = document.getElementsByName("f01");
    if (x){
    ..rest of your code for f01 items..
    }If there are no items, x is null, so the "..rest of your.." script will not get executed and no errors will occur.
    Andy

  • Pluggin container makes flash player crash. all is up to date. How to avoid this?

    Question
    pluggin container makes flash player crash. all is up to date. How to avoid this?

    First, download and run the Flash uninstaller: [http://kb2.adobe.com/cps/141/tn_14157.html http://kb2.adobe.com/cps/141/tn_14157.html] . You probably want the 64-bit version. After that has run, restart your computer, and then let's download a fresh version of Flash. Try downloading and installing it from [http://fpdownload.macromedia.com/pub/flashplayer/current/licensing/win/install_flash_player_11_plugin_32bit.exe here].
    Once you have flash installed again, start Firefox up, and see if you are getting any errors. If it works, awesome, if not, let's move on.
    Start Firefox up in [[Safe Mode|Safe Mode ]] (don't select any of the checkboxes that appear). If Flash works here, then it is one of your addons which is causing a problem.
    If we are still having a problem, try [[Updating your graphics driver|Updating your graphics driver]] .
    If none of these work, read [[Troubleshooting plugins|Troubleshooting plugins]] and let me know!

  • Lightroom crashes at start up with the error message "Lightroom encountered an error when reading from its preview cache and needs to quit".  Please advise on how to fix this error.  Thanks

    Lightroom crashes at start up with the error message "Lightroom encountered an error when reading from its preview cache and needs to quit".  Please advise on how to fix this error.  Thanks

    You probably need to delete your preview cache.  See here  
    Why And How To Clear Your Lightroom Cache - Lightroom Fanatic
    Preference and other file locations in Lightroom 5

  • How to fix this error message The backup disk image "/Volumes/AirPort Disk/FARES DEL VALLE's iMac.sparsebundle" could not be accessed (error -1).

    how to fix this error message The backup disk image “/Volumes/AirPort Disk/FARES DEL VALLE’s iMac.sparsebundle” could not be accessed (error -1).

    The troubleshooting C17 is the specific article.
    http://pondini.org/TM/Troubleshooting.html
    This is generally a Lion error.. and you will need 5.6 utility to get access to the disk area.
    So download the real utility. Run it instead of v6 toy version.
    http://support.apple.com/kb/DL1482
    Go to the manual setup, disk page and click on disconnect all users.. that will unmount all users connected to the disk and allow it to start working. But there are a number of other issues that are possible cause. Pondini lists some of them.

  • How to fix this error "this iPad is not able to complete the activation process. Please press Home and start over. If the issue persists, please visit your nearest Apple Store or Authorized service provider for more information or replacement"?

    How to fix this error "this iPad is not able to complete the activation process. Please press Home and start over. If the issue persists, please visit your nearest Apple Store or Authorized service provider for more information or replacement"? When I plugged in my iPad this popped up!

    Hi csreddy, 
    If you are receiving a message to contact an Apple Retail Store or Authorized Service Provider for help updating from iOS 3, click on the link below to initiate that support:
    Update the iOS software on your iPhone, iPad, and iPod touch - Apple Support
    http://support.apple.com/en-us/HT204204
    Update your device using iTunes
    If you can’t update wirelessly, or if you want to update with iTunes, follow these steps:
    Install the latest version of iTunes on your computer.
    Plug in your device to your computer.
    In iTunes, select your device.
    In the Summary pane, click Check for Update. 
    Click Download and Update.
    If you don't have enough free space to update using iTunes, you'll need to delete content manually from your device.
    Find out what to do if you get other error messages while updating your device.
    Last Modified: Jan 12, 2015
    Apple - Find Locations
    https://locate.apple.com
    Contact Apple for support and service - Apple Support
    http://support.apple.com/en-us/HT201232
    Regards,
    - Judy

  • Can someone tell me how to fix this error in 10.4.11 on a G5 Quad Core 2.5GHz Tower...A valid video device could not be found for playback. [-70017]

    Can someone tell me how to fix this error in 10.4.11 on a G5 Quad Core 2.5GHz Tower...A valid video device could not be found for playback. [-70017]

    That's an error reported from DVD Player I believe...
    kDVDErrorMissingGraphicsDevice = -70017, // A valid graphics device is not available.
    There's some conjecture it has to do with HDCP, or Video Card problems, but the only 2 cures/fixes I found were Software related, one was cured by updating the OS, another by replacing the Video kexts.
    I think this error also shows up if trying to use DVD player in Safe Mode, (too much research isn't good! ).
    At the Apple Icon at top left>About this Mac.
    Then click on More Info>Hardware>Graphics/Displays and report like this...
    NVIDIA GeForce 7800GT:
      Chipset Model:          GeForce 7800GT
      Type:          Display
      Bus:          PCI
      Slot:          SLOT-1
      VRAM (Total):          256 MB
      Vendor:          nVIDIA (0x10de)
      Device ID:          0x0092
      Revision ID:          0x00a1
      ROM Revision:          2152.2
      Displays:
    VGA Display:
      Resolution:          1920 x 1080 @ 60 Hz
      Depth:          32-bit Color
      Core Image:          Supported
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Quartz Extreme:          Supported
    Display:
      Status:          No display connected
    Can't think of much to try at the moment, but perhaps reapplying the big 10.4.11 combo, Repair Permissions, & reboot would help, not sure.
    The combo update for PowerPC-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateppc.html

  • How to solve this error java.util.MissingResourceException

    Hi Friends,
    I had developed one web dynpro application by using  Internationalization - I18N of WebDynPro (Java)  Application (Blog)   but I got one error that is
    <b>java.util.MissingResourceException: Can't find bundle for base name com.sap.example.language.lang, locale en_US</b> 
    Actually i created two properties file
    1. lang_en.properties
    2. lang_ta.properties
    I stored this two properties file in this package com.sap.example.language
    and this my code in DOInit()
    sessionLocale =  WDClientUser.getCurrentUser().getLocale();
    resourceHandler = ResourceBundle.getBundle("com.sap.example.language.lang",sessionLocale);
         catch (WDUMException e)
         e.printStackTrace();
         wdContext.currentContextElement().setUsername_label(resourceHandler.getString("testview.username"));
         wdContext.currentContextElement().setPassword_label(resourceHandler.getString("testview.password"));
    How to solve this error?
    Guide me.
    Advance Thanks,
    Balaji

    Hi Friends,
    I had developed one web dynpro application by using Internationalization - I18N of WebDynPro -Java Application (Blog) but I got one error that is
    <b>java.util.MissingResourceException: Can't find bundle for base name com.sap.example.language.lang, locale en_US</b>
    Actually i created two properties file
    1. lang_en.properties
    2. lang_ta.properties
    I stored this two properties file in this package com.sap.example.language
    and this my code in DOInit()
    sessionLocale = WDClientUser.getCurrentUser().getLocale();
    resourceHandler = ResourceBundle.getBundle("com.sap.example.language.lang",sessionLocale);
    catch (WDUMException e)
    e.printStackTrace();
    wdContext.currentContextElement().setUsername_label(resourceHandler.getString("testview.username"));
    wdContext.currentContextElement().setPassword_label(resourceHandler.getString("testview.password"));
    How to solve this error?
    Guide me.
    Advance Thanks,
    Balaji

  • My macbook keeps asking me to use an administrator and their password to continue but nobody seems to know who is the administrator for this computer...does anyone know how to avoid this this or figure out who the administrator is?

    My macbook keeps asking me to use an administrator and their password to continue but nobody seems to know who is the administrator for this computer...does anyone know how to avoid this this or figure out who the administrator is?

    Lynne130,
    to figure out which users have administrative privileges, open the Users & Groups pane of System Preferences; each user other than the Guest User will be shown with a description of either “Admin” or “Standard”. It’s typical for the first user created on a Mac to be an administrative user.

  • Why do all the programs open when the mini is turned on, and how to avoid this?

    why do all the programs open when the mini is turned on, and how to avoid this?

    Open System Preferences > Users & Groups then select the Login Items tab.
    Remove all apps listed there.
    And check /Library/StartupItems
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    /Library/StartupItems
    Click Go then move all items from the StartupItems folder to the Trash.

  • After adding MIME type in sharepoint server, file click opens a popup for file to open as readonly or edit, How to avoid this popup

    After adding MIME type in sharepoint server,
    File click opens a popup for file to open as readonly or edit, How to avoid this popup
    Popup Details:
    You are about to open --> File Details
    How would you like to open --> ReadOnly, Edit
    OS: Window 7
    Jagadish

    this is likely caused by the library requiring check-out/check-in. For a file to be editable, the file needs to be checked out.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

Maybe you are looking for

  • New DVD drive issues on DV6000 series.

    I just got my replacement drive from hp. I pulled the old drive and got the new one in yesterday. The driver installed on restart and seemed to be fine, i just ripped a couple of cds to itunes. The DVD side is giving me trouble though. I can't change

  • Exclude pages from Create PDF from Webpage?

    My organization wants to use the Create PDF from Webpage functionality in Acrobat to keep a record of our site. However, the PDF Acrobat created using the "Entire Site" setting includes all PDFs linked to the site as well as other pages (for individu

  • Anonymous principal

    Dear All, I am getting the following exception when my J2EE is starting up. Can anyone give me a hint as to what may have gone wrong? This happened in the process of setting up SLD for XI. com.sap.engine.services.security.BasesecurityException: Anony

  • I uninstalled firefox then reinstalled firefox...but lost all my bookmarks with the new reinstalled version. Please advise me how to recover my bookmarks.

    I uninstalled firefox then reinstalled firefox. because I did not like a couple of add-ons that I wanted to remove. I thought I would still have all of my bookmarks. However, all my bookmarks were cleaned out with the new installed version. Then I tr

  • Hp Pavilion DV7-2120sa not booting

    The laptop was cutting off after 3 seconds of turning it on(fan and the lights came on). I replaced the CPU and the laptop booted to the windows loading screen then cut off, now it only boots for about 3 seconds again with no screen just the fan and