CacheLoader load() method is getting invoked all the time

The cache.get() method invokes the CacheLoader load() method if the key is not present in the cache.
But the key is present in the cache already and when ever i invoke cache.get() it is invoking the load() method to get the data from DB.
The expiry delay is also not met but still it invokes load() method all the time when the cache.get() method is invoked.
Please let me know what is the issue with this?
because it is connecting to DB from the load() method all the time even the key is in the cache. This will be an over head.

Please find the contents of coherence cache config file below,
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>DBBackedAccessoryCache</cache-name>
<scheme-name>distributed-db-backed</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>distributed-db-backed</scheme-name>
<service-name>DistributedCache</service-name>
<backing-map-scheme>
<read-write-backing-map-scheme>
<internal-cache-scheme>
     <local-scheme>
     <expiry-delay>10h</expiry-delay>
     <flush-delay>4h</flush-delay>
     <high-units>250M</high-units>
     </local-scheme>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-name>DBAccessoryLoader</class-name>
</class-scheme>
</cachestore-scheme>
<read-only>true</read-only>
<refresh-ahead-factor>1.0</refresh-ahead-factor>
</read-write-backing-map-scheme>
</backing-map-scheme>
<listener/>
<autostart>true</autostart>
</distributed-scheme>
</caching-schemes>
</cache-config>

Similar Messages

  • I can get video on airplay anytime but i cannot get audio all the time.  in sound output i select airplay but it only reverts back to internal speakers.  same if i try earbuds.  the only way to fix it is to restart computer.  what do i do to fix it,

    I can get video on airplay anytime but i cannot get audio all the time.  in sound output i select airplay but it only reverts back to internal speakers.  same if i try earbuds.  the only way to fix it is to restart computer.  what do i do to fix it,

    In case anyone has had the same problem as me, I have just managed to fix this by doing the following:
    Switch off Mac
    Switch back on in Safe Mode (Hit power button, then hold Shift key until a loading bar appears at the bottom of the screen).
    Switch off Mac again
    Remove power cord and wait 15 seconds
    Plug power cord back in and hold down the keys alt, cmd, p, r all at the same time until you hear Starting chime for a second time and hopefully your audio will back.

  • Every time i connect my iphone to itunes and trying to do a backup or get the new update it says i have to restore my iphone. and then that doesnt work, i tried to reinstall itunes but it doesnt work. i get this all the time. fix it please.

    Every time i connect my iphone to itunes and trying to do a backup or get the new update it says i have to restore my iphone. and then that doesnt work, i tried to reinstall itunes but it doesnt work. i get this all the time. fix it please.

    iTunes states " There's a problem with your Iphone, please contact apple service center " Also i took my iphone to a local service man and he told me the IMEI code has been corrupted and there's nothing that can be done about it. Please help, if you have any solution.
    Thank you

  • My iphone  gets overheated all the time, what's wrong????

    My iphone gets overheated all the time. Tips? Solutions?

    Hello User99999999999010
    If you are having issues with your iPhone getting hot, the article below will give you some insight on the matter. Also check to make sure you do not have any apps running in the background that could cause the phone to run even when the iPhone is asleep.
    iOS devices: Keeping device within acceptable operating temperatures
    http://support.apple.com/kb/ht2101
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • My daughter and granddaughter both have the same model iPhone.  I can text my granddaughter but when I try to text my daughter I get the message that she is not registered at iMessage, but I know that she is and gets texts all the time. What do I need to

    My daughter and granddaughter have the same model iPhone.  I can go messages and text my granddaughters phone from my ipad2, but when I try to text my daughter I get the message that she is not registered with I message, but she is registered and gets texts all the time.  What do we need to do?

    Pattypegr wrote:
    The blue bubble will not turn on on the iPad when I try to message her on her I phone.  She has IMessage turned on.
    What blue bubble are you trying to turn on? If you mean that the Send button will not work, go to Settings>Messages>Show Subject Field>Off. Make sure that is set to off.
    If you send an iMessage, the texts between the devices appear in a blue bubble.
    iMessages only work between iOS devices and they are different than the standard text messages that any cell phone can send to another cell phone.

  • I install new hard drive 500gb and i still have 400gb available but my macbook run very slow getting rainbow all the time on screen

    i have install new hard drive 500gb and i still have 400gb available but my macbook run very slow getting rainbow all the time on screen.
    need help

    First boot into recovery and select Disk Utility>First Aid and repair the disk.
    If there is no improvement, perform a Safe Boot:
    http://support.apple.com/kb/ht1
    If there is an improvement, then third party applications are probably the cause of the problem.
    Ciao.

  • PO Release Workflow getting deactivated all the time

    Hi,
    I have Configured the Po Release WF but as sometimes the PO ic created without release code and Release code being mandaroy in the WF, the WF gets deactivated all the time. so is there any way to figure in out with some solution
    Thanks

    Hi singh,
    Go to SWE2 tcode and double click on the receiver type  entry,you can find an option " behaviour upon error feedback "  which will be  set to "system defaults" change that to " do not change linkage "  and make sure that your linkage is activated.Hope this helps you.

  • Gmail doesn't work well on my ipad, it gets hung all the time. Can you kindly help me?

    Gmail doesn't work well on my ipad, it gets hung all the time. Can you kindly help me?

    You probably want to start by updating your OS, if your information is correct and you are still running 5.1.1. You may also want to try the Gmail app. I find it works very well.

  • PIAFUSER and PIAPPLUSER get locked all the time - where are they used?!

    Hi guys,
    well i am no basis guy but i have to do the following.
    We want to use one SLD for PROD & DEV. We chose DEV SLD to be the one!
    Therefore i followed Note 720717 in detailed way.
    Because there is mentioned i have to change sth. in Service SLD Data Supplier i did so in PROD for giving the SLD-Adress of DEV. This was looking good, i changed, saved and restarted service.
    But now the User PIAFUSER and PIAPPLUSER get locked all the time - even without trying to get SLD-Connection.
    When i do SLDCHECK we also get error:
    Calling function LCR_LIST_BUSINESS_SYSTEMS
    Retrieving data from the SLD server.
    Function call returned exception code ....4
    => Check whether the SLD is running!
    ..and it is running!
    Could someone help?! We already read post and blogs the last 4 hours but nothing helped that far!
    br
    Edited by: Fritz Munster on Jul 21, 2008 4:32 PM
    And we get some errors from CC also - e.g. when we want to get a file read:
    com.sap.aii.af.ra.ms.api.ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available.

    Hi,
    well i already re-checked all pwds again like given in Note 936093.
    Everything runs fine that far but again, the PIAFUSER gets locked, PIAPPLUSER doesn't get locked anymore - finally.
    The reason why i was coming to this error is because we need to use one SLD - i described already.
    So now we wanted to check our PROD Scenarios, running a test with a FILE-CC and got following error in CC-Monitoring:
    ERROR:com.sap.aii.af.ra.ms.api.ConfigException: SLDAccess set to true, but not available.
    What could cause this error else than some stuff with pwds?!
    Any ideas?! i work 10 hours on this crap now
    br

  • Magic Mouse: Why Does It Need to Be Clicked When Restarting or Booting from Shutdown to Get Detected All the Time?

    Hi. I'm using Snow Leopard via USB external drive (the hardisk is blank- testing something with Leopard). When I start the late 2009 iMac and boot with the Option Key, I need to click the Magic Mouse all the time so the mouse can be detected and move the cursor to the Snow Leopard icon ( in its boot menu ). After the Magic Mouse is detected, it's good from there.
    Is this normal or there's something wrong with the Magic Mouse? The keyboard doesn't need to be pressed though to be detected, it's detected each time.
    Thank you in advance.
    God bless, Rev. 21:4

    I cannot see why you should have to click the magic mouse in order for it to be detected ... unless you have changed the batteries.  See my notes which cover the points made in your other recent post.
    Batteries.  Here are a few notes I've put together.
    Whether you use regular or rechargeable batteries you should buy the best. Discounted or unbranded batteries are more likely to give a depleted performance and may be of irregular size, often leading to connection problems.
    Apple’s own brand, Eneloop and Energiser appear to be the best. Rechargeable batteries for the standard Magic mouse are unlikely to exceed eighteen days before needing a recharge although the mouse itself can be a limiting factor.  I have seen reports that some Logitech mice vastly exceed this.    Apple may suggest more in their sales blurb but this is a realistic expectation.  The benefit (if you are organised) is that you can always have charged batteries available.  Regular batteries will give you between 25 and 35 days before they need to be replaced. Note.
    Never mix old and new batteries or rechargeable and regular.
    The notes above are based on my personal experience, not shutting down my machine and using it for around four hours per day.  Note.  Monitors do not always faithfully report battery strength, particularly the rechargeable ones. 
    When checking your mouse or keyboard batteries ... Turn off the device. Remove the batteries, Clean the terminals both inside the battery compartment and the batteries themselves. Replace or renew both batteries. Turn on the device.  You should get a blinking green light if the device is paired. Click the mouse to activate it.  The green light becomes steady.

  • AD ACCOUNT GETTING DISABLED ALL THE TIME

    Hi all,
    Helpdesk has reported that user account get's disabled all the time & they have to enable it.
    What could be the cause of this & how to troubleshoot.

    Hi all,
    Helpdesk has reported that user account get's disabled all the time & they have to enable it.
    What could be the cause of this & how to troubleshoot.
    Remove the help-desk access to user objects and see if it gets disabled again or not. :) 
    If you have third party tools which manage user accounts, review their configuration. FIM for example is one of the tools that has authority to disable/enable the accounts. Also If I had no clue what is going one I would enable auditing on user objects and
    filter my security event viewer for user changes to see who is disabling them. 
    AD DS Auditing Step-by-Step Guide
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • Why can't I get online all the time with my iPad?

    Sometimes when I open my iPad2, I click on an app that needs to be online to be accessed, and nothing happens. I have to turn off, then on again my WiFi. Why am I not able to access the internet all the time. WiFi at home works fine with my MacBook Air all the time.

    No firewall. My office is in my home. The iPad is on my desk right next to he Netgear router. Router is only 6 months old.
    Sometimes I can open iPad and get online right away. Other times my apps won't update, and I have to turn wifi off, then on again. This is a ROYAL pain! My Air works great as does everyone else's  laptop who visits me.
    I am a hug Apple fan, so this is stumping me.

  • Macbook Gets Pinwheel All the TIme !? (started 4 months ago)

    I get the pinwheel all the time doing even the most basic tasks. Lasts 20 seconds. I reformatted the computer with a fresh install of OS X updated to 10.5.8 and it has had no effect. I have the white macbook 2.16 GHz model MB063LL/A, 4GB ram installed. Problems started before upgrading the ram. My guess is that it is bad firmware or hardware, but if firmware, then apple should have fixed it by now because lots of people would be having it right now. Problem has been going on for about 4 months maybe. Problems happen with Safari, VLC, Quicktime, Finder, just about anything that is not intensive all.
    What is wrong with my macbook?

    oakapple:
    All the drives you listed are pretty good, although individual drives from any manufacturer may have issues. The drive you linked comes with a 3 year warranty, and newegg is pretty good about keeping their customers satisfied, so that if ther are issues they will usually make things right.
    Installation in the MacBook is pretty easy. You will find directions at iFixit. If you have data you want to migrate from the old drive to the new you will need to get an enclosure in which to put the drive to migrate. After installing the HDD you will need to format and erase it, then it will be ready for installation. If you need step by directions for formatting or for installation, please do post back and ask.
    Good luck.
    cornelius

  • HT1338 i have some bugs on computer, how do i get them off, kids are playing games, and i get popups all the time, please help

    Is there an antivirus for the imac my kids have played some games and now I have popup's all the time.

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.

  • My friend stopped receiving messages from my iphone. he used to get them all the time and suddenly he stopped stopped receiving them but receives all other  text messages from others. How do we fix that?

    A friend and I text almost all the time. He used to receive all of my messages and one day, he text me, I responded and he didn't receive it. He still doesn't receive my texts but can receive other texts from everyone else. He sees me texts when he is on his computer through google voice but doesn't see my messages on his phone. How can we fix this issue?

    Did he previously have an iPhone and now uses another type of phone?
    If yes, he needs to read this:
    iOS: Deactivating iMessage
      http://support.apple.com/kb/TS5185?viewlocale=en_US&locale=en_US

Maybe you are looking for

  • Next line character error

    Hello All, I am trying to concatenate two strings along with next line character. I am using the following syntax. v_str1||chr(13)||chr(10)||v_str2; The problem I am facing is if the string is like greater than about 40 characters, then the new line

  • Iphone resets, my whole network via airport!?!

    I recently noticed that sometimes, my iphone 3g resets my network connection, on my MBP...? it has been happening occasionally, for example: When syncing or updating I will remove the sim, and my macbook pro will lose its wireless connection for a se

  • Bug on jcaps 5.1.2?????

    Hi, when i try to map obr segment the designer logs this error (ide.log): Jul 28, 2009 10:44:52 AMjava.lang.NullPointerException Jul 28, 2009 10:44:52 AM at com.stc.editor.basicmapper.canvas.jgo.BasicCanvasController.handleDragEnter(BasicCanvasContro

  • I'm getting an error. Do you know what this means?

    Hi Everyone. I'm getting the following error when i run my code. it still runs and seems to function properly but i'd like to know what it means. If anyone could help i'd be very greatful. Thanks a lot Sharon Note: MazeScene.java uses or overrides a

  • Help!  Fuji S5 Pro DNG's don't work with lens profile creator

    I wondered if anyone could help me sort this out.  I've shot a series of test images with my Fuji S5 Pro in Raw + Jpeg format.  I converted the Raw files to DNG format using Adobe DNG converter (camera raw 5.4 later, jpeg preview medium, with and wit