Is it possible for Spring to start the CacheFactory ???

We would like to avoid the following code in our XXXCoherenceDAO's
NameCache customerCache = CacheFactory.getCache(com.xx.Customer.class.getName());
Instead we would like Spring to do the magic of "CacheFactory.getCache()";
I tried following code in tangsol-coherence-override.xml but it throws Null Pointer Exception in XXXDAO's while accessing the variable name customerCache, which makes sense so how to get this magic happening
<configurable-cache-factory-config>
  <class-name system-property="tangosol.coherence.cachefactory">
    com.tangosol.coherence.spring.SpringAwareCacheFactory
  </class-name>
  <init-params>
    <init-param>
      <param-type>java.lang.String</param-type>
      <param-value system-property="tangosol.coherence.cacheconfig">
        coherence-cache-config.xml
      </param-value>
    </init-param>
    <init-param id="1">
      <param-type>java.lang.String</param-type>
      <param-value system-property="tangosol.coherence.springconfig">
        application-context.xml
      </param-value>
    </init-param>
  </init-params>
</configurable-cache-factory-config>

I am getting following exception while using SpringAwareCacheFactory from the article
http://wiki.tangosol.com/display/COH35UG/Integrate+CacheFactory+with+Spring
</class-scheme>) java.lang.ClassNotFoundException: spring-bean:entityCacheStore
     at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
     at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2307)
     at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateAny(DefaultConfigurableCacheFactory.java:2994)
     at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateCacheStore(DefaultConfigurableCacheFactory.java:2857)
     at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateReadWriteBackingMap(DefaultConfigurableCacheFactory.java:1493)
     at com.tangosol.net.DefaultConfigurableCacheFactory.configureBackingMap(DefaultConfigurableCacheFactory.java:1258)
     at com.tangosol.net.DefaultConfigurableCacheFactory$Manager.instantiateBackingMap(DefaultConfigurableCacheFactory.java:3492)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.instantiateResourceMap(DistributedCache.CDB:22)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.setCacheName(DistributedCache.CDB:27)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ConfigListener.entryInserted(DistributedCache.CDB:15)
     at com.tangosol.util.MapEvent.dispatch(MapEvent.java:206)
     at com.tangosol.util.MapEvent.dispatch(MapEvent.java:166)
     at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:556)
     at com.tangosol.util.ObservableHashMap.dispatchEvent(ObservableHashMap.java:229)
     at com.tangosol.util.ObservableHashMap$Entry.onAdd(ObservableHashMap.java:270)
     at com.tangosol.util.SafeHashMap.put(SafeHashMap.java:244)
     at com.tangosol.coherence.component.util.collections.WrapperMap.put(WrapperMap.CDB:1)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$ServiceConfigMap.put(Grid.CDB:31)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$StorageIdRequest.onReceived(DistributedCache.CDB:45)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
     at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
     at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassNotFoundException: spring-bean:entityCacheStore
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:164)
     at com.tangosol.util.ExternalizableHelper.loadClass(ExternalizableHelper.java:2976)
     at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2273)
     ... 22 more

Similar Messages

  • I have an iPhone 4s that is no longer active on my account. I recently upgraded it after completing a 2-year contract. Is it still possible for me to have the iPhone 4s unlocked even though it is no longer active on my account?

    I have an iPhone 4s that is no longer active on my account. I recently upgraded it after completing a 2-year contract. Is it still possible for me to have the iPhone 4s unlocked even though it is no longer active on my account?

        Great question missmar23. You can contact our Global Support department at 1-800-711-8300 to discuss the details for your device.
    KinquanaH_VZW
    Follow us on Twitter @vzwsupport

  • If I have an airport extreme and a time capsule is it possible for seamless switching between the 2 when a signal is weak or drops Main reason is as I move from my first floor to my attic office and would like to place one (airport extreme)downstairs and

    If I have an airport extreme and a time capsule is it possible for seamless switching between the 2 when a signal is weak or drops
    Main reason is as I move from my first floor to my attic office and would like to place one (airport extreme)downstairs and time capsule upstairs to get complete coverage

    In theory, yes. If you configure the two base station into either an extended or roaming network configuration, you should be able to walk a laptop between routers and the laptop should attempt to connect/reconnect to the base station providing the stronger signal ... but, in reality, this is not always 100% true.

  • Is possible for me to use the wireless connection from my Macbook Pro

    Hi All, I just got my iPad 16GB WIFI and I would like to know if it is possible for me to use the wireless connection from my Macbook Pro. Basically I will be travelling quite a bit and my Macbook Pro has a Wireless 3G dongle. Is it possble to use this via the 'internet share' option so that the iPad can connect to the 3G wireless via the Macbook Pro?

    Yes. Just use internet sharing on your MacBook Pro.

  • I own an iPod Touch 4g. Now i'm planning to buy iPod Touch 5g. Is it possible for me to register the new one with existing Apple ID so that i can transfer the apps from my existing account to my new Ipod 5g?

    I own an iPod Touch 4g. Now i'm planning to buy iPod Touch 5g. Is it possible for me to register the new iPod with existing Apple ID so that i can transfer the apps from my existing account to my new Ipod 5g?

    There should definitely be no issue. You can register more than one Apple device with the same Apple ID and get the same apps on both devices without having to pay for the apps again.
    Alternatively, if you want all your settings to say the same, do a backup of your old iPod Touch and then whe you receive the new iPod, restore the backup on it and it'll save you the trouble from having to redownload everything.
    Cheers.

  • I have an ipod touch 4 gen.Is it possible for me to use the internet with bluetooth?

    I have an apple ipod 4 gen.Is it possible for me to use the internet using bluetooth?helpp!!!

    Yes but only to tether to an iPhone.  The iPhone must have the optional tethering data plan.

  • Is it possible for me to get the apps my daughter purchased on my account to go onto her new account

    Is is possible for me to get the apps my daughter purchased on my itunes account for her ipod touch over to her new itunes account

    All content is tied to the account that purchased/downloaded it, and you can't copy or transfer them to other accounts - she should still be able use those apps if they are on the computer's iTunes that she syncs her iPod to.

  • Is it possible for me to transfer the purchases from my old itunes account to my new one? I would like to keep all of my music, movies, tv shows etc.

    I just created a new Apple ID that is different from my old one. Is it possible for me to transfer the purchases from my old account to my new one? I would like to keep all of my music, movies, tv shows etc.

    It doesn't matter what your AppleID is - you can just change the email address associated with it at http://appleid.apple.com/ as mentioned numerous times above.
    Okay, my former Apple ID = my former email address and the latter is dead because I moved out of the geographic area.
    If you just updated the email address associated with your AppleID you wouldn't have to sign in twice.
    I guess Apple Inc is wrong because that is EXACTLY what they stated when I called yesterday afternoon.  SIGN IN TWICE when I activate Apple TV and want to watch/listen to my legitimate purchases when my iMac is OFF.
    Your only problem is the fact you didn't safely store the password to your account and subsequently forgot it.
    Wrong ... my only PROBLEM, SIR, is that my bride, my wife of over 51 years died in my arms at 4:16 AM on December 27, 2012.  As a direct result, I decided to get the **** out of the city where my Nancy and I lived for **** near 20 years.
    On the outside chance it is of interest to you, she is buried at Arlington National Cemetery, Section 66, based on my faithful military service during 1961 -> 1981 ... including Vietnam during 1967.
    http://lovesongforever.com
    Part of this PROBLEM, SIR, is that Apple Inc refuses to merge my old purchases with my new one.
    SHAME ON YOU!!!

  • Is it possible for me to transfer the contacts fro...

    Is it possible for me to transfer the contacts from my C5-00 to any of the Lumia phones? And , please let me know the number of contacts and sms, which can b stored with Lumia phones. Is it Unliminted? Please reply.
    Moderator's Note: We have changed the title into a subject-related title. This is to keep the forum organized and let other forum users easily see and respond to this post.

    The amount of contacts/messages on the phone is restricted by available storage only.
    You can go through Nokia Suite and there's an app to get data from another phone to a Lumia Windows Phone here
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

  • I have a mac pro 1,1. I would like to know if its possible for me to upgrade the parts to where i can install osx mountain lion, or osx mavericks?

    I have a mac pro 1,1. I would like to know if its possible for me to upgrade the parts to where i can install osx mountain lion, or osx mavericks? I am currently adding more ram so it will have 32gb of ram, i have 2 250gb HDD but adding a 250gb SSD , and have a ATI Radeon HD 4870 512mb that i will most likely upgrade to an ATi Radeon HD 5570 1gb.

    The SSD will boot fast, but the real change is launching 10 programs in 10 seconds and being able to use them. (20 seconds for a few big suites).
    I would not add or upgrade to 32GB RAM. You can get 8 x 2GB for $100 on Amazon.
    Those 250GB HDD are "old" and slow and overdue to be replaced, reformat and use t o backup the system.
    Samsung 250GB SSD is down to $150 or so on Amazon also.
    The 5770 is gone, hard to find, EOL and over charged for when you do find one.
    you could look into how to use a PC 6870 or others.
    Or, you could hold out and wait for a refresh of Mac-Mini which can be just as fast or faster and run Mavericks.

  • Is it still possible for me to buy the student creative cloud subscription?

    I am a student, but I also earn a bit of money in my freetime using an editing software similiar to Photoshop to complete a few design jobs.
    Since I think that Photoshop is way better and I need other programms too, I would like to buy the creative cloud subscription.
    Is it still possible for me to buy it as a student, when I also use it to earn a bit money? (max. 17.500€)

    Lennart Söntgen wrote:
    I saw that and read it already, but my question was if it matters that I would also use the programms to earn a bit money and not only for student purposes
    Can I use Student and Teacher Edition products commercially?
    Yes, Student and Teacher Edition products can be used commercially on your privately owned computer. They may not be resold.
    See education FAQ here - https://helpx.adobe.com/x-productkb/policy-pricing/education-faq.html
    ^Ani

  • I have bought movies then got a new Macbookpro now some of the loder movies i have bought are not downloaded on my Mac could you please make it possible for me to download the following movies i have bought to download on my mac movies are =Rain Man=wizar

    I have bought 3 movies before i bought my MacBookPro 3 movies are missing they are Rain Man =wizard of Oz and titantic could you please make it possible for me to dowmload them to my MacBoolPro thank you. you can contact me at [email protected]

    You are not addressing Apple here.  We are all itunes users just like you.
    You  may not want to leave your e-mail on a public forum.
    You get one download only.  It is your responsibility to backup your movies.

  • There is no possibility for multiple selection in the new Pages?

    It used to be a great way: mark different lines by pressing the command-key and change something for all the highlighted lines. Is this really no longer possible in the new Pages? Ifeel like in the 90's...

    Feature removed along with many others:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&mforum=iworktipsn trick
    Peter

  • I have an ipad that only has wifi and I am unable to connect because all the networks are locked for access.   Is there anything that I can attached to my ipad that will make it possible for me to access the internet

    I need help.  Just purchased an ipad with wifi service only.  Is there anything that I can get that will allow me to access the internet.  I keep getting network connections that have a lock which makes it unable to log on.  Picking up numerous with sites with the lock.  Help did I make a mistake in getting this ipad.  If so, can I trade it in for one that is more network friendly.

    If you expect to use a WiFi only iPad it needs a wireless network. It is customary to have your own versus using someone else's.
    Nothing is more network friendly than an iPad.
    You couldn't possibly have expected to sponge off a service someone else is paying for?
    read the fine print

  • Is it possible for you to get the battery replaced in the iPod touch? If not do I need to buy a new one?

    Idk

    if its still under the warranty its free
    and yes, it is possible. contact apple (have a credit card ready) tell them you need a new battery, their gonna tell you that its going to be aroun 80$-90$ with taxes and shipping included.
    you can try opening it your self and buying the battery elswhere cheaper, but totally not recomended if you dont want to ruin your phone. unless you have extensive knowlege of what you are doing

Maybe you are looking for

  • Ipad 2 went black

    hi, my ipad 2 went black, when i using safari..but it has back light on. i tried reboot with home and sleep key,  and it didn't work. still black without white apple logo!! help!!

  • Multi-angle is piece of cake, mixed angle is too much of a headache

    When Keith Buckner asked me "Can you take that off?" (referring to the 3D soundscaping footage in the left half of the split screen in the Music of Engineering DVD), it gave me an idea: give a little usefulness to the Angle button by allowing viewers

  • EHS and DMS

    Dear Experts, In transaction EHSAMBTAET, "Documents" tab, I need to know where values in fields "Object type" and "Object" are coming from. In other words, I need to know in which DB tables are stored the links between Documents and Medical Services/

  • Formatting a Non-Existant iPod

    Hello, My problem is simple, either unsolvably so, or i am a moron. The ipod photo comes up with the classic signs listed on your page, sad ipod, half charged battery and doesnt show up on my windows PC. as a last resort i have chosen to format or "r

  • HT5957 I can not download ios 7 in my iphone 4. It started dwnloading but never completed. Please help!

    Need help in downloading ios 7