Regarding caching mechanism - Pls respond ASAP.

Hi All,
I am trying to apply "purging of cache" on daily basis in my application because it is on transactional database. How could i proceed. I think if i am adding a event polling table and set the frequncy to 1 day then i can achieve that. But is there is any other way to do that automatically because i don't have scope to add another table in the database.
I have change the cache expiry of all physical table as 1 day. Is that will purge the cache every day or i need the event polling table.
Advance thanks on any suggestions.
Thanks
Ashok

Thanks John.
But we have migrated the system in production environemet. Thats why we can't run the script there everyday because no one has permission to access the server.
For this we have to explicitly take access and run the script. That is not possible as far as i see the production setup.
Is there any way to automate this.
Thanks
Ashok

Similar Messages

  • Query Regarding Data transfer ( Pls Respond Quickly)

    Hi,
    I need to download the data to XML file. I have hard coded the file path in the Report Program. This Report should be shceduled for every night.
    But the problem is that since I have hard coded the path, whenever the program is deployed to production system there will be a problem regarding the file path.
    Can any body throw some light on how to avoid hard coding of the filepath ?
    Reward points are assured.
    Best  Regards
    Bhagat.

    Hey Kishan,
    In that Program the file path was hard coded. Can you let me know the alternate way so that I can avoid hard coding.
    The thing is that that report should be scheduled  for every night.
    Best Regards
    Bhagat.

  • Hi, I developed a web application using HTML5-Offline Application Cache mechanism. Inspite of deleting the cache as mentioned in the above steps, Firefox still maintains a copy of the page in it's cache. Also, a serious bug is, even though we delete all

    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    Hi,
    I developed a web application using HTML5-Offline Application Cache mechanism. Inspite of deleting the cache as mentioned in the above steps, Firefox still maintains a copy of the page in it's cache. Also, a serious bug is, even though we delete all temp files used by Firefox, and open the previously cached page, it displays it correctly, but upon refreshing/reloading it again shows the previous version of the page maintained in the cache.
    == Troubleshooting information
    ==
    HTML5: Application Caching
    .style1 {
    font-family: Consolas;
    font-size: small;
    text-align: left;
    margin-left: 80px;
    function onCacheChecking(e)
    printOutput("CHECKINGContents of the manifest are being checked.", 0);
    function onCacheCached(e) {
    printOutput("CACHEDAll the resources mentioned in the manifest have been downloaded", 0);
    function onCacheNoUpdate(e)
    printOutput("NOUPDATEManifest file has not been changed. No updates took place.", 0);
    function onCacheUpdateReady(e)
    printOutput("UPDATEREADYChanges have been made to manifest file, and were downloaded.", 0);
    function onCacheError(e) {
    printOutput("ERRORAn error occured while trying to process manifest file.", 0);
    function onCacheObselete(e)
    printOutput("OBSOLETEEither the manifest file has been deleted or renamed at the source", 0);
    function onCacheDownloading(e) {
    printOutput("DOWNLOADINGDownloading resources into local cache.", 0);
    function onCacheProgress(e) {
    printOutput("PROGRESSDownload in process.", 0);
    function printOutput(statusMessages, howToTell)
    * Outputs information about an event with its description
    * @param statusMessages The message string to be displayed that describes the event
    * @param howToTell Specifies if the output is to be written onto document(0) or alert(1) or both(2)
    try {
    if (howToTell == 2) {
    document.getElementById("stat").innerHTML += statusMessages;
    window.alert(statusMessages);
    else if (howToTell == 0) {
    document.getElementById("stat").innerHTML += statusMessages;
    else if (howToTell == 1) {
    window.alert(statusMessages);
    catch (IOExceptionOutput) {
    window.alert(IOExceptionOutput);
    function initiateCaching()
    var ONLY_DOC = 0;
    var ONLY_ALERT = 1;
    var BOTH_DOC_ALERT = 2;
    try
    if (window.applicationCache)
    var appcache = window.applicationCache;
    printOutput("BROWSER COMPATIBILITYSUCCESS!! AppCache works on this browser.", 0);
    appcache.addEventListener('checking', onCacheChecking, false);
    appcache.addEventListener('cached', onCacheCached, false);
    appcache.addEventListener('noupdate', onCacheNoUpdate, false);
    appcache.addEventListener('downloading', onCacheDownloading, false);
    appcache.addEventListener('progress', onCacheProgress, false);
    appcache.addEventListener('updateready', onCacheUpdateReady, false);
    appcache.addEventListener('error', onCacheError, false);
    appcache.addEventListener('obsolete', onCacheObselete, false);
    else
    document.getElementById("stat").innerHTML = "Failure! I cant work.";
    catch (UnknownError)
    window.alert('Internet Explorer does not support Application Caching yet.\nPlease run me on Safari or Firefox browsers\n\n');
    stat.innerHTML = "Failure! I cant work.";
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729; .NET4.0E)
    == Plugins installed
    ==
    *-Shockwave Flash 10.0 r45
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Google Update
    *4.0.50524.0
    *Office Live Update v1.4
    *NPWLPG
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll
    *DRM Store Netscape Plugin
    *DRM Netscape Network Object
    Thanks & Regards,
    Kandarpa Chandrasekhar Omkar
    Software Engineer
    Wipro Technologies
    Bangalore.
    [email protected]
    [email protected]

    We have had this issue many, many times before including on the latest 3.6 rev. It appears that when the applicationCache has an update triggered by a new manifest file, the browser may still use only its local network cache to check for updates to the files in the manifest, instead of forcing an HTTP request and revalidating both the browser cache and the applicationCache versions of the cached file (seems there is more than one). I have to assume this is a browser bug, as one should not have to frig with server Cache-Control headers and such to get this to work as expected (and even then it still doesn't sometimes).
    The only thing that seems to fix the problem is setting network.http.use-cache to false (default is true) in about:config . This helps my case because we only ever run offline (applicationCache driven) apps in the affected browser (our managed mobile apps platform), but it will otherwise slow down your browser experience considerably.

  • Suitable Caching Mechanism

    Apoplogies if this is the wrong newsgroup. My J2EE App runs on Weblogic 8.1 and uses Oracle 9. It involves processing at times up to 50000 database records at a go. The Application applies an algorithm to each database record and then writes it's results to an output table which has a one to one mapping with the input table i.e I will be inserting about 50000 records. In order to improve performance I want to use JDBC batch inserts, however each output record is produced by a MDB (Message Driven Bean) from a pool.I guess I need a sort of cacheing mechanism which holds the records from the MDBs and some business logic to apply the JDBC batch insert to a chunk of the cache. I will probably need a timed event to perform this "flushing" of the cache periodically. Anybody have experience of doing something similar or able to provide a more elegant solution to the problem?
    TIA

    Hi Sailendra,
    In this case you can make use of BPM object if I understood your question correctly.
    In the component Cataloge make a BPM object and under that create attribute/attributes/array. Then the value you want to save/store keep it in a bpm object attribue and pass the bpm object from one process layer to another/as per your requirement. ex: bpmobject.attribute1Name = "Bibhu";
    You can acccess those values in another process/activities by bpmobject.attributeName
    bpmobject is the object that you created and the instance variable is of type created bpmobject.
    attributeName is the attribute where you stored the value.
    Regards
    Bibhu

  • Regarding Cache in clustering

    Hi,
    we are using JOC Cache mechanism for java objects
    In Standalone application server 10.1.3.1 it is working fine
    In production we are using OC4J Enterprise edition Cluster topolgy (10.1.3.1.0)
    In this case we are using multiple oc4js and those oc4js we have 2 instances and 2 jvms.
    in cache wise we are using in-memory concept,
    we have a senario where at run time cache object values will be changed.
    i have observerved that in each jvm one cache region created.
    when one cache is created then it is not reflecting in another jvm (or instance)
    i want to replicate when ever one region's object modified to other jvm instances
    can u please provide any solution for this problem
    Regards
    Mannu.

    Chak,
    Try to understand the concept of BI reporting here. Your reports makes use of all the tables i.e. Dim & Fact to fetch the resultset and it is the report SQL which gets cached.
    If a query references multiple physical tables with different persistence times, the cache entry for the query will exist for the shortest persistence time set for any of the tables referenced in the query. So, in this case it will be just 1 Day for all the tables and complete SQLs referencing these tables.
    For NQCMD command utility...Purging is very easy here...and same goes for seeding.
    Like SeedTableCache.txt which will have your SQL scripts. Once this is used via NQCMD which can be scheduled using Job Manager or any other job.
    nqcmd -d AnalyticsWeb -u Administrator -p Administrator -s c:\obiee\SeedTableCache.txt
    Similar concept goes for any flavor of BI.
    Here John has given some good examples on Cache Mgt.
    http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1.html

  • IPod nano problems! PLEASE RESPOND ASAP!!

    HELP!
    A couple days ago I had to re-format the computer due to a virus. I didn't save any of the songs that were on iTunes. That night I listened to some songs on my iPod. The next day I plugged it in my computer for it to charge. When it was done charging, I went to listen to some songs but there were NO SONGS ON IT!! I have no clue what happened... has this happened to anyone? Does anyone know how to fix it? Please respond ASAP!
    Thanks,
    Molly =)
      Windows XP  

    Hi Molly,
    Welcome to Apple Discussions
    Copying songs from your iPod to your computer
    "The iTunes library on your computer holds all the songs you've encoded from your CD collection or purchased from the iTunes Music Store. With default settings, iTunes automatically copies the songs in your library to your iPod. When you use your iPod as a hard disk, you can't see the songs iTunes copies to your iPod in the Finder or My Computer. This is normal. Using the Finder or My Computer, you can't copy these song files from your iPod back to iTunes or to any other computer. The synchronization between your iPod and your computer is always one way: from iTunes to iPod.
    If you've erased the music library on your computer, there's no way to use the Finder or My Computer to copy the songs from your iPod to reconstitute the library on your computer. One solution is to encode the songs from your CD collection again, then sync your new library with iPod. If you purchased songs from the iTunes Music Store and didn't back them up, there's no way to download them again. You'll have to buy new copies of the songs."
    Taken from Using your iPod as a hard disk
    So even if there were any tracks on your iPod, Apple has set it so you shouldn't be able to get them back.
    You need to reload iTunes with music, and then get into the habit of backing them up as well. Once you've done that you can start loading onto the nano.
    To help with backing up your music this link will explain what the files are:
    What are the iTunes library files?
    If you have problems with your nano here is a useful link:
    The 5 Rs: Reset, Retry, Restart, Reinstall & Restore
    Regards
    Colin R.

  • COOIS report pls help ASAP

    HI...
    I want to modify 'coois' report but i am not able to find the final output table in it.
    Production Order number appears at output screen, i've to display SO NO and SO item which is there in Production order in the output list.
    Pls Help ASAP...
    Pts rewarded for more helpful ans for sure...
    Best regards
    Snehal

    Hello.
    Have a look into include LCOISOUTPUTF04, form pbo_0100, field symbol <table>. Insert a break-point in line 121:
    <ls_detail_list>-list->set_initial_data(
    Please, have in mind that this is a standard report before changing it.
    Regards.
    Valter Oliveira.

  • JNDI as a caching mechanism

    Hi,
    We are building an application using stateless session beans to access some
    back end systems. The backend transaction is rather expensive with regards
    to execute time. To optimize response times we are looking at a caching
    strategy, we have identfied the following implementation alternatives :
    1. Create object cache implementations as statefull session beans, storing a
    reference to them in JNDI.
    2. Create object cache implementations as regular java objects and storing
    the entire object in JNDI.
    Which one of these alternatives we choose will rely on the performance of
    the WL JNDI, we are using the 5.1 server. If WL JNDI is capable of handling
    reasonable amounts of data there should be no reason to use the expensive
    statefull session beans.
    Q1 : Are there any method to calculate the amount and troughput of data that
    would be possible using alternative 2 ?
    Q2 : Are there any other mechanism we should consider ?
    Any help would be greatly appreciated
    Regards,
    Anders Mathisen

    Read-Only entity beans are the entity beans which never call ejbStore() and
    ejbLoad() is only called when timeout is expired (or never).
    If you want to cache data for the session only you can use HttpSession - in
    the cluster all requests are pinned to the server which originated the session
    until this server fails. To minimize replication overhead you can use transient
    fields or use the fact that replication happens only when session attribute is
    set() - you can associate a cache object with the session and lazy populate it
    later.
    Anders Mathisen <[email protected]> wrote:
    hi,
    thanks for the response, what do you mean by read-only entity beans ?
    Beans that are loaded with data manually (from eg. a stateless session
    bean), and just used as a dataholder ?
    I forgot to mention in the previous article that the caching mechanism here
    needs only be local to a single users session. That is a session will never
    use cached data from another session.
    Althoug even if we have the requirement above, some caching mechanism
    allowing for sharing of data could be handy here, this is not an absolute
    requirement.
    Anders M.
    Rob Woollen <[email protected]> skrev i
    meldingsnyheter:[email protected]...
    Stateful session beans should not normally be used as a cache. A
    stateful session bean instance is associated with a single user.
    I wouldn't use JNDI as a caching mechanism either.
    My suggestion would be Read-Only entity beans.
    -- Rob
    Anders Mathisen wrote:
    Hi,
    We are building an application using stateless session beans to access
    some
    back end systems. The backend transaction is rather expensive withregards
    to execute time. To optimize response times we are looking at a caching
    strategy, we have identfied the following implementation alternatives :
    1. Create object cache implementations as statefull session beans,storing a
    reference to them in JNDI.
    2. Create object cache implementations as regular java objects andstoring
    the entire object in JNDI.
    Which one of these alternatives we choose will rely on the performanceof
    the WL JNDI, we are using the 5.1 server. If WL JNDI is capable ofhandling
    reasonable amounts of data there should be no reason to use theexpensive
    statefull session beans.
    Q1 : Are there any method to calculate the amount and troughput of datathat
    would be possible using alternative 2 ?
    Q2 : Are there any other mechanism we should consider ?
    Any help would be greatly appreciated
    Regards,
    Anders Mathisen--
    Coming Soon: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnweblogic.com
    Dimitri

  • Caching mechanism in OBPM

    HI ,
    Does OBPM have any caching mechanism(build in API) to store data .I have some data to be used in one of the process.I can't not connect to the external DB because my OBPM don't have a direct connection to external DB.Only way is queue.Every Time I can't post request in queue to get this data.
    Please help me
    Thanks
    Sailendra

    Hi Sailendra,
    In this case you can make use of BPM object if I understood your question correctly.
    In the component Cataloge make a BPM object and under that create attribute/attributes/array. Then the value you want to save/store keep it in a bpm object attribue and pass the bpm object from one process layer to another/as per your requirement. ex: bpmobject.attribute1Name = "Bibhu";
    You can acccess those values in another process/activities by bpmobject.attributeName
    bpmobject is the object that you created and the instance variable is of type created bpmobject.
    attributeName is the attribute where you stored the value.
    Regards
    Bibhu

  • How to build cache mechanism

    Hello all
    i have application that basically loading very big object that contains sub objects and
    doing dynamic lookup by name of the object and the method i like to invoke and then invoke it
    everything done ofcorce with reflection .
    now this application will be called handeret times per minute .
    some questions .
    first of all do i need caching mechanism? for saving the subobject that had bean called in some kind of vector in memory for example or if i use reflection , i dont need caching mechanism .
    second question is do i need threads here ? if i do , how i buid some kind of locks to this threads ?
    thanks

    I'd use the Flyweight pattern here. It sounds like you're retrieving a lot of data that's related to other data through some kind of index. A Data Transfer Object (DTO) is a Flyweight class that could hold all of the information required to retrieve the "sub-objects" as you call them, but not until they're needed. It's a little more detailed to make sure that the objects are available when you need them, but obviously the network bandwidth/latency issues are causing a severe performance impact. I'm using EJBs in this example, but it will apply to anything where large amounts of related data are used in the application.
    // EJB Entity bean
    public abstract class EJBEntity extends EJBObject {
        public abstract Integer getId();
        public abstract String getStringData();
        public abstract Collection getChildObjects(); // "heavyweight" data
    // Data Transfer Object
    public class EJBEntityDTO {
       private int id;
       private String stringData;
       private int[] childIds;
    // some application code
    id = ...
    EJBEntityDTO dto = transferEJBData(id);
    EJBEntityDTO childDTO = transferEJBData(dto.childIds[0]);
    ...It's definitely more work to do it this way, but it's the only way to avoid fetching the entire collection when you only need one child object.
    Brian

  • My safari browser is not loading any thing after an update 5.1!! i had to create guest account to brows!! pls help ASAP!!

    my safari browser is not loading any thing after an update 5.1!! i had to create guest account to brows!! pls help ASAP!!

    my safari browser is not loading any thing after an update 5.1!! i had to create guest account to brows!! pls help ASAP!!

  • What is the caching mechanism firefox 3.6 uses compared to what IE 6/7 and 8/9 use?

    I just need to know how firefox handles/takes care of/and does its work with cookies and cache, basically its caching mechanism. Also comparing it to IE versions 6/7 and 8/9 would help, for the sake of web development with respect to the two browsers (Detailed technical answer would help). Since web apps may sometimes work on firefox and sometimes not while it works in IE just fine.

    Hi Kellymarr,
    You can take a look at the release notes for each version to see what has been added or fixed:
    http://www.mozilla.org/en-US/firefox/4.0/releasenotes/
    Just change the version number in the url to see each major release.
    Hopefully this helps!

  • SQL query...pls help ASAP

    Actor (Aname: varchar(40), Ano: varchar(6)) Ano is pk
    Movie (Mname: varchar(40),mno: varchar(8)) Mno is pk
    PlayIn (Ano, Mno, Pay: Integer) Ano and Mno are fk referencing Acotr and Movie respectively.
    Actor(Aname, Ano)
    A Bingo, A1
    B Castro, A2
    C Katie, A3
    S Hommy, A4
    J Tammy, A5
    K loren, A6
    Movie(Mname, Mno)
    Gladiator, M1
    Cast, M2
    Dog, M3
    Jilters, M4
    PlayIn(Ano,Mno,Pay)
    A1 M1 800
    A1 M2 1500
    A2 M2 78
    A2 M3 1750
    A2 M4 2301
    A3 M2 904
    A3 M3 629
    A4 M2 565
    A4 M3 5695
    A4 M4 1255
    A5 M1 989
    A5 M4 238
    A6 M2 137
    A6 M3 236
    A6 M4 545
    QUESTION: write SQL query to find the names of actors who earned less than 'B Castro' in each movie that 'B Castro' played in.

    thanks so so much.....
    another question:
    for each movie, list the movie number, the average
    pay and the total number of actors in the movie.....Rather than just asking homework questions and expecting everyone else to do your work for you, why don't you at least have a go at it yourself and post the query that you've tried, then we'll tell you where you are going wrong. You won't learn anything if we just write it for you.
    Also, your use of "pls help ASAP" in the subject title is not polite.
    This forum is manned by volunteers who have their own jobs and offer their help free of charge.
    Everyone who posts an issue on here would love to have it answered as soon as possible, but nobody has the right to assume that their issue is any more important, urgent or requires a quicker answer than anybody elses.
    If you need urgent help then you should pay someone to do the work for you.

  • On App Store, it states "ERROR Your request produced a error [newNullResponse]. RESPOND ASAP!!!!!

    So I restored my Ipod Touch and when I go to the App Store The catergories section and the Top 25 category says "ERROR Your request produced a error [newNullResponse]". I don't know what to do in order to solve this. I can still download Apps by searching or by going in the Featured section. But my OCD makes me want to figure out a solution. Please fellow Applers, help me solve this. RESPOND ASAP.
    Thanks
    Zach Strum
    Strummerz CEO
    P.O BOX 567 WestChancer St.

    Try restarting your iPad or testing on another Wi-Fi network.
    If that doesn't do it, try the troubleshooting steps in this iTunes Store doc. The same steps should help with App Store problems.
    iTunes: Advanced iTunes Store troubleshooting

  • I want to know the caching mechanism of Firefox

    Hi everyone,
    i want to know how exactly caching mechanism works in firefox? I know for the cached objects we have two info
    Expire date or Max-age, how we use them while deciding if the object should be served from cache or not

    You neither described the problem you actually had nor the version you had. There may be other solutions such as described in the following answer which also tells you how to go back to to any version
    https://support.mozilla.com/questions/840344
    You can make Firefox 4.0.1 and '''Firefox 5.0''' look like Firefox 3.6.17, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6)]

Maybe you are looking for

  • Sales Order Status Report

    Hi, Can you please guide me for Sales Order status report extractors?whether some standard extractors would be used or customized or standard is available which can further be enhanced. Scenario is- I have to populate report columns like 0-25000     

  • Execute Process Task error-Unzip Files

    Dear All,    I have a SSIS package, that downloads a Zip file from FTP Server and extract and load that information in Sql Server Table. In my case every time I have only one file in FTP Server. There is no possible to get multiple files from FTP Ser

  • Update termination error on coding in user exit EXIT_SAPLCOIH_009

    HI All, I am working on approval of a work order in IW32 for which I am coding within a user exit EXIT_SAPLCOIH_009 which gets triggerred at the time of saving the work order. This will update the AUFK table and send a mail to a recipient. But when I

  • Can we a  condition type in PO, accepts negative value & vendor no.

    Hi freinds, i have a query, can we a  condition type in PO, where user can enter negative value and can assign a vendor against that condition type as like freight vendors in import PO. now what i have done is , i have created a condition type which

  • Adobe Premier Pro CC 2014 closes with no error message after opening project

    PC Spc: OS:Windows 8.1 64-bit Processor:Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz Ram: 2x 4GB  Samsung 1600MHz GPU:NVIDIA GeForce GTX 760 please help