Report Cache not clearing

Created a report that executes 3 stored procedures:
first one deletes data from a tablex
second one adds data to tablex based on a query
third one adds data to tablex based on different query
report is run based on a date range.
date range1 returns proper results
date range2 returns proper results
date range1 returns double results?  cache flag is set to clear.  according to rules, if parameterized, report should not use cache.
Help?

there is one dataset -> tablea
parameter date range - 06/30/2014 - 07/24/2014, returns 24516 records   first time program is executed
parameter date range - 05/23/2014 - 06/29/2014, returns 29823 records   second time program is executed
parameter date range - 06/30/2014 - 07/24/2014, returns 49032 records   third time program is executed    --> expected 24516
report is defined with sql statements as follows:
stored procedure execute a delete data from tablea
stored procedure execute sqla insert to tablea
stored procedure execute sqlb insert to tablea
produce report layout
I view the data in tablea in sql to know my record counts.

Similar Messages

  • Cache not cleared when branching to a page with before-header branch?

    I tried to make up and example in apex.oracle com.
    http://apex.oracle.com/pls/apex/f?p=20469:112
    Assign some value to items and experiment the with the buttons.
    The first button:
    Action: Redirect to Page in this application
    Page: 112
    Clear Cache: APP
    Set These Items: P112_TEST_ITEM_1
    With these values: 1
    The second button is identical to the first except that the page it branches to is 113 instead of 112.
    Page 113 has nothing more on it than a Before Header branch branching back to page 112.
    Its seems a bit inconsistent that assigning values to the items survives with the before_header branch - but clearing them does not.
    Andres

    Welcome to my thread Varad!
    As I wrote in my previous reply, the button branching to page two is part of the report and totally independent from the buttons that call the Ajax script.
    The forwarding to page two takes place after item P1_SORT has been set!
    I have no more ideas what is causing this problem. The item that is supposed to be bound on page two is of type text without session saving property. It doesn't have a standard value and neither an item source that could potentially cause the problem!
    Regards,
    Sebastian
    PS: Do you know if it's recommendable and possible to store the value of the Ajax code in an application item!?
    Edited by: skahlert on 20.09.2009 18:19

  • Report Image not clear in Oracle Apps

    Hi guys
    I wonder if you can help me. I have a report with a logo. The report works fine but when I run it in Oracle Apps, the logo comes out blur. My output is PDF. Is there a way I can make the image look clear?

    Refer
    How to CLEAR all the items in OAF on a button click
    Clear Button Issue
    -Anand

  • Aaargh!  BC4J issue: caches not clearing properly?

    Okay, I've spent a day on this already - perhaps someone can help?
    In a nutshell:
    I've designed myself a View Object and put it in an application module.
    I programmatically execute the VO and loop through it deleting each row with remove();
    I re-executeQuery on the View Object, and when I loop through it using while next() not null I get one row returned, even though I'd just deleted them all?!
    But the real cruncher is, when I step through the code in debug mode my results are different: then (seemingly as long as I've given the IDE a rest between the getTransaction().commit() and the re-execution of the view), I get the correct 0 rows returned. (If instead I keep hitting f8 sufficiently quickly that the IDE can't keep up, I get 1 row returned.)
    My hunch is that garbage collection is doing something in the gap, but I can't think what would that would be....
    HELP!!!!! (Please.)
    More info:
    Imagine a Role table and an Operation table and the Role_Operation table effecting a many-to-many join between them. The view is drawn with the Role_Operation table as its "primary" entity, then it read-only-reference links to the Role and Operation entities to get the relevant descriptions. It's not an expert view. (Some of mine are because I'm using MySQL. What can I say? It was forced upon me!)
    Things are a little less straightforward than the above (because I'm still using my real-world code) - between the delete and the re-query I use another simple view based on the role entity to update its description... I guess my next step will be to try it with this out.
    When the problem originally surfaced after the commit I was checking the appmodule back into the pool (stateless) and checking it (the pool was giving me the same one) out again before requerying, so the problem seemed to survive that. I also tried setting the transaction's clearCacheOnCommit(true) and that didn't help.
    I'm using JDeveloper 9.0.3 production release. I tried BC4J diagnostics and can't see any difference there. I've got MySQL logging queries and they seem to be the same (and give the correct results) in both cases (as you'd expect). I've run the code under Tomcat on both Oracle and Sun JVMs and get the erroneous row in both cases.
    Any ideas????
    Thanks, Mike.

    Steve,
    I've read your whitepaper several times. Each time a little more sinks in...
    Passivation is unfortunately one for the future - I've been told to use MySQL and I'm doing everything statelessly...
    IIRC, the whitepaper is in favour of passing the view objects directly to the JSP(view) layer, rather than (deep breath) using the view objects to access data to populate into collections of JavaBeans to pass to the view.
    Based on the keep-it-simple principle I agree with you: it's a lot more straightforward to use a view object and as long as my application has a decent <i>logical</i> separation between the MVC layers I'm reasonably happy to forget a <i>physical</i> one. (It makes it a lot easier to explain to people coming from a non-J2EE direction; also, I think it'd be quite difficult to respond to an "Okay, so for every view-row we have you want me to define a Bean and before we forward to the JSP we pack everything into Beans and then in the JSP we unpack everything out of the Beans, and I'm doing this because it makes things easier?")
    [Note that I don't consider that the ViewObject provides a hard physical separation because in the general case a JSP (view)layer could still add/update/delete rows and therefore affect the database/model.]
    Beans seem to provide one real advantage above the fact that they provide type-safety at compile time (which BC4J does if you java-generate the row-class - which I have): once I've defined a bean I can populate it from anywhere I want.
    I was trying to extend this "populate from anywhere" to ViewObjects. After all, once I've decided to use ViewObjects why do I want to use JavaBeans <i>at all</i> to pass anything to the JSP?
    The particular scenario I was thinking of was where I've written a JSP to produce an HTML form containing all the current data about an entity, where the information is supplied to it in a view-row. The user then changes some of the values and asks to save..... but wait, there's an error in one of the fields! So what my application should do is redisplay the form (on which there's a message detailing the problem) along with all the "new" data that the user submitted. To have it do that, the simplest way is if I pass it the data in exactly the same way as I did to start - in a ViewObject. It seems to me that'll have to be the same ViewObject or I lose my type-safety, so I can't downgrade to AttributeList, and even if I could that'd mean almost identically duplicating many of the Views in my application.
    And dammit... I've just seen that BC4J already allows this when you have statefulness. You can part populate the "database-linked" view-row and pass it back to the JSP. Dammit. But it doesn't help poor old stateless me: if I want that functionality I'll have to have the JSP expect either a VO <b>or</b> a bean-collection, or I'll have to extract everything into beans.
    Two other things, not related to the above.
    The first is that, despite having tried to take in as much documentation as I could, I didn't initially understand that when you use application modules to findViewObject you always get back the same VO and that if you change the Where clause then it affects all rowsets based on that VO. (In fact I'm not even exactly certain that what I just said is true - I just know I have to be careful!) This actually seems like slightly strange behaviour to me (and should be made clearer)! The reason being, in the same way as you said (elsewhere) that you'd taken to defining a method on the specific-view's Impl class to encapsulate the setting of the where-clause-parameters, I thought it made sense to have a number of methods encapsulating the setting of the parameters AND the where-clause itself. (And the order-by too!) In that way I have one view object, in general designed without a where clause, that allows me to execute it as VO.executeQuery() or VO.executeQueryForID(...) or VO.executeQueryOrderByDeptDesc().
    Having read something that led me to the understanding above, I've taken to using findViewObject (or the container's getter when inside the AppModuleImpl, since this gives type-safety), getting its DefFullName via it's ViewDef object, and then using createViewObject to get my own copy (giving it a name that includes the name of the method that instantiated it, so I don't have to look for clashes beyond that method). I trust you approve?
    Oh, and the second one is that I still don't exactly understand what the parameter means in SessionCookie's useApplicationModule(true/false), despite having read the javadoc. My best guess is that whichever I use the application module instance is dedicated for the use of only that session-cookie instance (until it's checked back in), but that if I use "true" to obtain a lock then the pool is going to block the same session-cookie from checking out that same(?) application module (probably from a different thread) until it's been checked back in?
    Does that sound correct? (In my web-app I'm currently checking out my appmodules (in servlets) with a "true" argument.)
    Phew! Sorry about all that feedback. I'm feeling bad that I'm slowing the book up...
    Regards,
    Mike.

  • How To Clear The Web Intelligence Report Cache in BO 4.0 Linux

    Hi Experts,
    I have followed the SAP Note 1207029 to Clear The Web Intelligence Report Cache in BO 4.0 Linux, but in the note they have mentioned the path of BO XI 3.1 that doesn't exist in BO 4.0.
    Given Path in the note: <installation directory>/useraccount/xir2/bobje/data/computername_50064/storage/docs
    In BO 4.0: Inside Installation directory theres no useraccount directory.
    Please anybody tell me the path of BO 4.0 in the linux server to clear the WEBI report cache.
    Thanks in Advance,
    Gandhi

    This would be your path
    <install_dir>/bobje/data/<cms_port/storage//docs

  • Clear Report cache directory

    Hi,
    We are running 12.0.4 EBS version. I want to clear the reports cache directory (/apps/oracle/PROD/inst/apps/PROD_glapp/logs/ora/10.1.2/reports/cache). It has large number of PDF and XML files. How can I delete them since 'rm' command is giving error 'Argument list too long'.
    Is same process for clearing reports cache can be used to clear the concurrent cache. It also has large number of out put and log files.
    Regards,
    Farhan Ali

    For concurrent manager, you should be running the job "Purge Concurrent Request and/or Manager Data Program " as described in "Concurrent Processing - Purge Concurrent Request and/or Manager Data Program (FNDCPPUR)" [ID 104282.1]
    For Reports cache, please review "Reports Cache Directory in Oracle E-Business R12 is Growing Rapidly" [ID 859255.1] as following this note should allow the files to be controlled automatically in future
    With regards to your specific question, the issue is with the "rm" command not being able to cope with the number of files. One easy way to deal with it, is to provide a shortened list to the rm command... for example
    rm a*.pdf
    rm b*.pdf
    rm z*.pdf
    You could automate this slightly, but I would be nervous to do so without testing, and it will surely be quicker to type the rm command multiple times than to write and test a script :)
    Hope this helps
    regards
    Mike

  • Clear Reports cache after running report

    Hi
    Is there any way I can programmatically clear the reports cache on the 9iAS server once the report has been run ?
    I am using web.show etc in my forms and would like to delete the report once I exit the form.
    I have the jobid - but how does that relate to the physical file on the disk ?
    Ideas anyone ?
    Andrew

    I am having the same problem.
    I manage a database with highly confidential data that has forced me to implement a Virtual private database (VPD) on Database 9i release 2.
    Once users run their reports, copies are saved on the reports cache on Oracle9iAS. The reports in the cache can be viewed by anyone who knows the URL http://my9iASserver_name:7778/reports/rwservlet/getjobid1?server=myrepserver_name
    without the need of authentication (username and password).
    This negates the work I have done on the VPD, moreover everyone including the intenal auditors think that the system is bogus since a user can access information that does not belong to them without being restricted.
    The solution I require is either to bypass the reports cache (or any other cache involeved including the web cache), or if this is impossible, then a program to delete any report as it hits the cache. So that at any given second, the reports cache is empty.
    I am also aware that the minimum time you can schedule a task on the windows scheduler is 1 minute which is too much.
    At this time, my focus is not the performance of the Oracle9iAS but its security and management does not care how slow it becomes as long as it is secure
    Your help is appreciated

  • Apex not clearing cache

    Using Apex 4.1.1 on Oracle XE 11G (Linux)
    I have a form and a report in and when you click on create button it will clear the cache in page 6 so you can create a new entry.
    If click on the link on table which will set the value of P6_TID (type hidden) with a value, the typical Form & Report setup except I created it manually and was working fine for over a month since creation.
    Now when I click on the CREATE button its no longer clearing cache in page 6. Instead it retrieves the latest values I had earlier (P6_TID holding the latest value).
    However just earlier I was having another issue where I had to drop the parsing schema and got ORA-01940 - cannot drop a user that currently logged in, so I had to do a:
    SQL> shutdown immediate;and as soon as Oracle stopped I started it up and created my user, granted necessary permissions and imported the old DMP file.
    I've gone through this step many times but only now I am getting the ORA-01940 error. So have no idea if its anything to do with the issue of clearing cache I am having. Both issue coincided same time.
    Has anyone had any such problem where they are unable to clear cache for a page or session? I got absolutely know idea what I have to do get it back working.
    Cheers.

    Why would you shut down your database to kick a user. Just do
      select * from v$sessionYou can find your schema that you want to drop with a where clause on the user column.
    Now note the sid and the serial column and do
      alter system kill session '#SID#, #SERIAL#';Replace #SID# and #SERIAL# with the values of your session you want to kill.
    This will stop the ORA-01940 error.
    Now for the APEX matter. The APEX session is completely different from the Database session.
    If you submit values to the server then APEX keeps those values in session.
    If you clear the cache of a page it really means that you clear the values of that page in the session.
    Look in your session if those page items are cleared.
    If they are not cleared there then watch out for a unwanted rowfetch of page processes. If you clear the page cache on create you most not give away any variables to that page hee! (espacially not a primary key)
    Regards

  • KM Cache in Cache Monitor is not cleared using KM API

    Hi All,
    I am trying to clear the KM cache that is pre-configured in Cache Monitor using KM API. Below is the code I am using to clear the cache. It is not clearing the cache but creating the new cache with the name "KM_Cache1 (1)" and default properties set to peak load as 100%. But my requirement is to access the pre-configured cache and clear it then refresh it.
    import com.sapportals.wcm.WcmException;
    import com.sapportals.wcm.service.cache.CacheServiceFactory;
    import com.sapportals.wcm.util.cache.CacheException;
    import com.sapportals.wcm.util.cache.ICache;
    import com.sapportals.wcm.util.cache.CacheFactory;
    try{
              Cache cache1 = CacheServiceFactory.getInstance().getCache("KM_Cache1");
              cache1.clearCache();
              cache1.refresh();
    Thanks in advance to help me on how to clear the cache in cache Monitor.

    Hi,
    The code is as follows:
    IIndexService indexService = null;
    try {
       indexService = (IIndexService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.INDEX_SERVICE);
    } catch (ResourceException e) {
       if (indexService == null) {
         log.errorT("Error on instanciating the index service");
         return this.renderMessage(this.getBundleString(RES_NO_INDEX_SERVICE), StatusType.ERROR);
    // get index
    IIndex index = null;
    try {
       index = indexService.getIndex("YourIndexID");
    } catch (WcmException e1) {
       log.errorT("Error when trying to get the index");
       return this.renderMessage(this.getBundleString(RES_NO_INDEX), StatusType.ERROR);
    // check if the index is a instance of AbstractClassificationIndex
    AbstractClassificationIndex classiIndex = null;
    if (index instanceof AbstractClassificationIndex) {
       classiIndex = (AbstractClassificationIndex) index;
    } else {
       log.errorT("The index " + index.getIndexName() + " is no classification index");
       return this.renderMessage(this.getBundleString(RES_NO_CLASSIFICATION_INDEX), StatusType.WARNING);
    //give your KM Resource here for which you want to know if it is classified or not
    boolean classified = classiIndex.isDocClassifiedInAnyTax(resource);
    Regards,
    Praveen Gudapati

  • OBIEE:Cache is not clearing

    Hi
    cache is not clearing in obiee setup.I did the following things
    1.open rpd in online mode and purged all the cache entries
    2.opened obiee answers(session log) .clicked on "close all cursors", cache entries are removed.but if i again opened the session log "same cache entries are still there"
    pls help to resolve the problem
    regards
    mervin

    Hi mervin,
    This would solve your problem.
    http://www.oraclenerd.com/2010/02/obiee-call-sapurgeallcache.html
    http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1.html
    Hope it helps you,
    By,
    KK

  • Cache, cookies and history are not clearing when I close Firefox even though they are set to do so and have been for ages

    I recently had an update (or upgrade?) for FF 16. Today (and I believe the update was done a day or two ago?) my cache, cookies and history are not clearing when I close FF. Also, certain links are not working. Not links for full web pages but for site pop-ups (like the smilie window on a message board). They worked a few days but are not working today. I click the link and nothing happens. I noticed the problem with the cookies not clearing for a few weeks ago but it was only on one site not all sites which is what's happening now.
    My apologies if that's a little confusing. Thanks!

    At any rate, have you tried running Firefox in Private Browsing mode? This will ensure that no infromation from your session is saved once you exit Private Browsing mode and/or exit Firefox.
    You can set Firefox to always start in Private Browsing mode: https://support.mozilla.org/en-US/kb/private-browsing-browse-web-without-saving-info#w_how-do-i-always-start-firefox-in-private-browsing

  • Some Crystal Reports are not using the Cache Server

    Hi...we are currently running BOE XI R2 SP2.  I setup a server group with a Cache Server and a Page Server.  In the CMC, I set this cache server to keep reports cached for 15 minutes.  On the Process tab of some reports, I specifically set the report to use this new server group.  On some of the reports this works as expected.  For others, it does not appear to be since the cache folder's Date Modified date does not change.  So far the only similarity between the reports that do not use cache is that these reports have sub-reports.  Has anyone experienced this before?  If so, how did you resolve it? 
    Thanks!

    Hi Rich,
    the connectivity on the Designer an don the BusinessObjects system is identical. Is region the only characteristic being used in the report ? which connectivity did you use in Crystal Reports ?
    ingo

  • HT6195 Safari cache will not clear......cannot get to current version of website.

    I design our company website.  It was recently moved from Hostgator to Flywheel and I am unable to open a current version of the site or make changes via the admin page on Word Press and have it go live.  I have tried to clear the cache, but it will not clear.  Also, this is happening on my iPad 2 and my husbands MacBook Pro.  I cannot un-install safari because Maverick's won't let me.  I AM able to make changes and see the current live version on the Dell PC laptop I have.  Any ideas???

    If it only happened in one location, that would work.....it occurs when mobile, at work, at home, everywhere.  Thanks for the thought though.

  • Firefox will not clear cache

    I tried the beta version of FF 4, and deleted it, then when the full version came out I got it. Every since I had the beta version my FF will not clear the cache, I have tried a dozen ways to get my cache cleared and nothing is working.

    Do you still see that the cache is used if you open the <b>about:plugins</b> page via the location bar?

  • Yosemite 10.10.1 - DNS cache does not clear when switching between WiFi networks

    Before updating to Yosemite, DNS caches would clear when switching between WiFi networks, as they should.
    For Example, when using an Exchange server, your server name might be something like mail.company.com. Outside of the corporate LAN the IP would resolve to the outside (WAN) address. When you move the laptop inside the corporate LAN, it should clear the cache so mail.company.com resolves to the internal (LAN) address.  This is just one example of a dumb DNS transition not taking place switching from outside to inside (and vice versa).
    Instead, OS X is holding onto the outside DNS record even when moving to the Corporate LAN. The only way to fix is to run the DNS cache command (which is MUCH more convoluted in Yosemite now), or more easily, to quickly turn off then turn on WiFi.
    This is an irritation as I have to perform this action every morning, and every time I come back to my desk from offsite.

    Well, clearing the caches is as simple as this, no?
    Clear MDNS Cache
    sudo discoveryutil mdnsflushcache
    Clear UDNS Cache
    sudo discoveryutil udnsflushcaches
    One other thing: Have you tried 10.10.2? There are many many fixes in 10.10.2 over 10.10.1.

Maybe you are looking for

  • PCI 7330 not recognized in Windows 7

    When I transferred my 7330 motion controller board to another PC, it is not recognized in MAX. Windows system put it as unknown PCI board.  The PC runs on Windows 7. LabVIEW 2010 and MAX 4.7 were installed. What could be the reason for the 7330 not b

  • Rising latency=no Call of Duty

    Since last night , "ping" has been gradually rising, to the extent I am getting "kicked" from many punkbuster servers for too high ping rate.... I have interleaving off, and have raised my snr so errors or packet loss aren't a problem....this happene

  • How to exit Full screen view to same photo

    How can you go back to same photo that you viewed in Full Screen instead of the first photo in the file. Each time I use Full Screen or Compare 2 photos, when I exit, Elements goes back to 1st photo in the file. Then I have to scroll back to where I

  • SSF COMPOSER ERROR

    Hi All, While trying to configure the smart forms I am getting SSFCOMPOSER001 Error, what does it mean.what I have to do to fix this out. Can somebody please help me out. Thanks, Praveen

  • G4 mini recognizes only 128 gb of external disk

    With a 200 GB Maxtor Ultra disk in a USB2 ADS case (USBX 804 case, jumper at master) the G4 (1.42 ghz) mini only recognizes 128 GBs. It doesn't make any difference which USB port is used or if it's hooked up through a USB hub. According to Apple, ADS