I've got storage member joined event but there no storage members yet

Hi guys!!!
I've got a little trouble again..
I have to implement resilience cache listener (aka client consumer) in a distributed cache!
actually my client (storage=false) can starts before server... so there no storage members in cluster yet.. i've got exception on addMapListener
output.addMapListener(new Consumer(ocValue, expected, output, occurs));
Exception in thread "main" java.lang.RuntimeException: Storage is not configured
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$BinaryMap.onMissingStorage(DistributedCache.CDB:9)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$BinaryMap.addMapListener(DistributedCache.CDB:37)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$ViewMap.addMapListener(DistributedCache.CDB:1)
     at com.tangosol.coherence.component.util.SafeNamedCache.addMapListener(SafeNamedCache.CDB:11)
     at com.tangosol.coherence.component.util.SafeNamedCache.addMapListener(SafeNamedCache.CDB:45)
     at com.tangosol.coherence.component.util.SafeNamedCache.addMapListener(SafeNamedCache.CDB:3)
     at com.db.fxoptions.test.Client.main(Client.java:162)
i've tried to work around with continuous query
outputQuery = new ContinuousQueryCache(output, new MapEventFilter(MapEventFilter.E_INSERTED) ,
                         new Consumer(ocValue, expected, output, occurs));
but i had a fail
Exception in thread "main" java.lang.RuntimeException: Storage is not configured
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$BinaryMap.onMissingStorage(DistributedCache.CDB:9)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$BinaryMap.sendPartitionedRequest(DistributedCache.CDB:32)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$BinaryMap.query(DistributedCache.CDB:7)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$BinaryMap.entrySet(DistributedCache.CDB:9)
     at com.tangosol.util.ConverterCollections$ConverterMap.entrySet(ConverterCollections.java:1417)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$ViewMap.entrySet(DistributedCache.CDB:40)
     at com.tangosol.coherence.component.util.SafeNamedCache.entrySet(SafeNamedCache.CDB:1)
     at com.tangosol.net.cache.ContinuousQueryCache.configureSynchronization(ContinuousQueryCache.java:1170)
     at com.tangosol.net.cache.ContinuousQueryCache.ensureSynchronized(ContinuousQueryCache.java:1282)
     at com.tangosol.net.cache.ContinuousQueryCache.<init>(ContinuousQueryCache.java:158)
     at com.tangosol.net.cache.ContinuousQueryCache.<init>(ContinuousQueryCache.java:103)
     at com.db.fxoptions.test.Client.main(Client.java:163)
also I can't just listen members joining and add map listener on joining storage member... 'cas storage members set yet empty when i've got on member joined notification
The ugly solution which i've done it's continuously check storage members set and hang map listener when storage node is ready. Do I have a better way?
Thanks for yor time spended on it...

Hi,
Hi,
I would think that once all storage members die,
there would be no information on the registered
listeners, so you would definitely have toregister
them again. I But, why? my mapListeners works fine after storage
node comes back. Is it inconsistent or non-supported
behavior?
as I mentioned, I would think...
It might be possible that it actually works fine. Only I would not necessarily use a feature which throws an exception with default settings, and you have to use an override to avoid throwing an exception.
don't think unregistering while no
storage members are present would make too much ofa
difference (or if it would work at all, if
registering without storage did not work either).But, if I'll reregister listeners after storage
restart i should thing about its removing to prevent
something like memory leak... I'm really don't like
this.
If you can, you reregister them then probably you could try unregistering them (but I would possibly delay the unregistering to the point of reregistering).
>>
As for disassembling the bytecode... I am not sureif
it is legal at all :-)I swear don't look at Coherence's bytecode.
I think your solution might bring the chance thatyou
may lose some events which occurred before the
listener was registered.It's not a broblem for me I can lose old entries
I meant new entries inserted between the first storage node startup and your registering of the listener. I am not sure that qualifies as old entry, I would think it does not.
Best regards,
Robert

Similar Messages

  • HT1014 I'm working with imovie 08 and converted movie originally from VHS tape to .m4v files imovie wouldn't recognize it.  I converted to .mov files and imovie generated thumbnails (for hours) and shows a New Event but there is nothing there. Any help?

    I'm working with imovie 08 on Macbook pro OS X and converted movie originally from VHS tape to .m4v files imovie wouldn't recognize it.  I converted to .mov files and imovie generated thumbnails (for hours) and shows a New Event but there is nothing there. Any help?

    markmc78 wrote:
    .. I'm really struggling with the concept of events/clips/projects.
    consider usage of a diff. editor.. iMovieHD6, you're entitled for a free downlaod at apple.com:
    http://www.apple.com/support/downloads/imovieHD6.html
    but IF you're relaxed, opened your mind, follow the bright light, ommmm.. for Events & Stuff:
    your intended workflow will add another step of quality-degradition (8mm>>avi>>mp4>>iM08) ..
    consider the free tool Mpeg Streamclip www.squared5.com for 'chopping' that 90min beast into pieces..
    rename these new chunks, follow advice given on my site:
    http://karsten.schluter.googlepages.com/im08changeeventdate
    there's the manual..
    http://manuals.info.apple.com/en/iMovie08_GettingStarted.pdf
    and the most recommended books from Mr Pogue's Missing Manual series..

  • TS2734 i lost my ipod. when i went on the cp to go find it but there was no connection yet, so i waited but got bored so i pressed delete device for no reason now i can't even connect to it no more. please help me. please.

    i lost my ipod. when i went on the cp to go find it but there was no connection yet, so i waited but got bored so i pressed delete device for no reason now i can't even connect to it no more. please help me. please.

    If you only deleted the device from the page (an did not wipe/erase it) it will reappear if it connects to the internet before the person restored it or tyrned off the Find feature. See:
    http://support.apple.com/kb/TS4006

  • No sound in imovie events but there is in projects

    I recently imported a lot of video to an external hard drive.  When I try and play the video in events, there is no sound.  When I drag it up to a project, there is sound.  What's up with that?!

    Is the external drive formatted as Mac OS Extended (Journaled)? Formats such as FAT32 and NTFS will not work properly (if at all) with iMovie. Also, external FireWire drives generally work more efficiently than USB drives when editing in iMovie.
    If the drive is not formatted correctly, you will have to backup the files elsewhere, then reformat using Disk Utility.
    To check the format, in Finder right-click (or control-click) on the name of the drive (left hand column) and select Get Info. In the panel that opens you will see the format.
    Of course, formatting may not be the problem, given that you can at least see the video in the Event, plus get sound and video in the Project (which may be on your internal drive). But worth checking!
    John

  • I'm using ipod touch for a year now. I was using this morning and suddenly the ipod doesn't work at all maybe it got wet from my bag but there wasn't wet stuff in there. and itunes said iTunes has detected an iPod in recovery mode. please help me

    I'm using iPod touch for a year now. It was doing fine this morning but in the afternoon suddenly when I took it out of my bag, the screen was just black and it wouldn't turn on and stuff. So I thought it didn't have battery so I charged it didn't work. I plugged to the computer and it said iTunes has detected an iPod in recovery mode. You must restore this iPod before in can be used with iTunes.
    Maybe my bag was little wet today but i don't think that is why.. since it wasn't that bed.. just some paper was wet and stuff..
    What should I do..? Please help me.

    Connect to the Computer you Usually Sync with and Follow the Steps Here...
    Recovery Mode
    http://support.apple.com/kb/HT1808

  • HT1349 I don't have insurance on my iPhone 4 and I accidentally dropped it in the water. I got it out rather quickly but there is things that aren't working. What can I do to get it fixed without it being costly ?

    I  need help finding a low cost way to fix the water damage done to my phone. But I do not have any insurance at all. Please help

    Bring your phone into Apple for an out of warranty replacement for $149.  Or, find an iPhone repair shop near you and see how much it will cost to fix your phone.

  • I no longer am able to edit an event in ical on the iphone. When I click on the event I can read it but there is not edit button on the screen?

    I am not able to edit an event on Ical on my Iphone 4. I can view the event but there is no edit button available on the screen.

    Hi ,
    According to your description, my understanding is that you could not edit documents with Office client application in SharePoint 2010.
    Let’s do a troubleshooting about this issue:
    1. Make sure that you have installed Office application on your machine.
    2. Which explorer did you use for your SharePoint. Please test it with IE 10 32-bit, compare the result.
    3. Please try to reset IE, compare the result.
    4. Add your SharePoint site into Trusted site on your IE options.
    5. Make sure all add-ons related to SharePoint are enable, special for SharePoint OpenDocument Class and SharePointOpenXMLDocuments.
    6. Since you used OWA for your SharePoint site, please try to disable OWA, then open documents with client application, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • I upgraded my icloud storage and amount got deducted from my account but yet storage wasn't upgraded. What can i do?

    I upgraded my icloud storage and amount got deducted from my account but yet storage wasn't upgraded. What can i do?

    How long did you wait for the systm to catch up to your request for more storage?  it can take a little while, up to an hour sometimes I have heard.
    If you don't see any more room after waiting a while, try resetting your phone to see if it appears then.
    If that doesn't help go here, http://www.apple.com/support/contact/ and see if they can help you out.

  • My iPhone 5c has a broken screen and won't let me swipe. I got a new iPhone 5c, but want my stuff to backup to it. I haven't backed my old one up in over a year because the storage is full. How would I back it up to iCloud on a Dell or Toshiba computer?

    My iPhone 5c has a broken screen and won't let me swipe. I got a new iPhone 5c, but want my stuff to back up onto it. I haven't backed up my old one in over a year because there's not enough storage. How would I back up on iCloud to a Dell or Toshiba computer?

    Hi Linda Loo Loo,
    If you have backed up previously to iTunes on a specific computer, even if it has been a while, you may be able to still backup even if you are unable enter the passcode on your iPhone due to a damaged screen. You may find the following article helpful:
    If you have previously synced your device with iTunes, you may be able to reset the passcode by restoring the device:
    Connect the device to the computer with which you normally sync and open iTunes.
    Note: If iTunes asks you to enter the passcode, try another computer that you have synced with. Otherwise, go to "If you have never synced your device with iTunes, or you do not have access to a computer" section below.
    If the device is still disabled, or if iTunes does not automatically sync your device, sync the device with iTunes.
    When the backup and sync is complete, restore your device.
    When iOS Setup Assistant asks to set up your device, choose "Restore from iTunes backup".
    Select your device in iTunes and choose the most recent backup of your device.
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    Regards,
    - Brenden

  • I am trying to load a calpatch to a program called Caldera, but i keep getting the following "AppleScript Error – Terminal got an error:apple event timed out ( -1712)" my IOS is Yosemite, and i am running the latest version of the caldera program

    I am trying to load a calpatch to a program called Caldera, but i keep getting the following “AppleScript Error – Terminal got an error:apple event timed out ( -1712)” my IOS is Yosemite, and i am running the latest version of the caldera program

    Hi Linc, thanks for this ... it is weird, we tried this previously, but we only did a restart.
    This morning our Mac was 'off' even though we hadn't turned it off, (maybe a power outage) I restarted and ran the calpatch immediately, and it worked !!
    it is embarrassing, because as a service engineer, I am always telling customers to restart and even power down completely before trying again.
    Thanks.
    Snakeydee

  • Why I got this email if I didn't schedule any storage plan ? This is the email I got;        On 10/07/2013 you are scheduled to be charged $20.00 for your 10 GB iCloud storage plan, but there is a problem with your payment information, Can someone help me

    Why I got this email if I didn't schedule any storage plan ? This is the email I got;       
    On 10/07/2013 you are scheduled to be charged $20.00 for your 10 GB iCloud storage plan, but there is a problem with your payment information, Can someone help me ? I don't want to be charge for something I don't want to buy.

    You may want to do couple things
    1. cancel auto renewal for icloud - instructions here -under downgrade storage
    http://support.apple.com/kb/HT4874
    2. change your payment info in itunes, to either none or other payment method - instructions here
    http://support.apple.com/kb/ht1918

  • I have described for one year, but the Cloud storage still 2 Gb. Why I have not got 20 Gb?

    I have described for one year, but the Cloud storage still 2 Gb. Why I have not got 20 Gb?

    You have the Creative Cloud Photography plan Student and Teacher Edition (one-year), the storage space is 2GB for this CCPP.
    Are you facing any issue in installing this., please let us know.
    Regards
    Rajshree

  • Tried to reinstall iPhoto library from external hard drive, it shows that the photos and events are there but there are no thumbnails and if you click on an image or video nothing comes up.

    My hard drive crashed recently and we took it to apple to get repaired. The apple employees said that they would have to replace the hard drive but they didn't have the equipment to get the data off my hard drive. So I took it to a computer store who had the right equipment after a month and a half of waiting they finally got all the data off my hard drive and put it on an external hard drive (Seagate Expansion Portable Drive). I then took it back to apple who replaced the hard drive. Now I'm in the process of reinstalling everything. I have never done a Time Machine back up or backed my laptop up to . Which I now will do very often once I've reinstalled everything. I have reinstalled all of my desktop images and folders as well as my iTunes library with no issues. However when i went to reinstall my iPhoto library it came up blank. I then Rebuilt the library several times and this was the result.
    It shows that the photos and events are there but there are no thumbnails and if you click on an image or video nothing comes up.
    Please help i have three years worth of images from holidays on here and would be devastated if i lost them.

    iPhoto cannot find the thumbnails or the original pictures.
    Go to your iPhoto Library in the Pictures Folder.
    Right-click on it and from the resulting menu, choose 'Show Package Contents'.
    This will bring you inside the iPhoto Library package. There you should see a Folder called Masters. Within that, there should be folder containing your actual photos.
    Are they there?

  • I have bought a new airport express and using it with my macbook (iTunes 10.2.2). I have joined an existing network for internet in my home and with that i am trying to play the music via itunes but there is audio dropouts every 60 secs or so. any soln ?

    I have bought a new airport express and using it with my macbook (iTunes 10.2.2). I have joined an existing wireless network for internet in my home and with that i am trying to play the music via itunes but there is audio dropouts every 60 secs or so. I am using a set of speakers from kenwood connected to the airport express. The operating system on my macbook is mac os X 10.5.8. i am sure it is not a problem of streaming music online because i have even tried playing music which are stored in my macbook.
    Is there any problem with the setting in itunes or quicktime ? Kindly reply...... I am waiting for your valuable suggestion.
    Thank you a lot in advance.

    I am shocked to have found this same AX audio dropout problem starting TODAY, every few seconds the audio just drops for a couple seconds and then resumes:  Latest software versions of everything.  No iPad, iPhone or Touch.  Internet hardwired to D-Link DES1105 (1000baseT Switch) hardwired to new 80211N AX, AX optical to stereo, AX Wi-Fi internet to basic 1st-gen MacBook operating at 80211G, and an older 'G' AX extender at the far end of the house, away from all this.  The MacBook streaming iTunes is usually 12 feet from AX.  I've used this setup for years of trouble-free AirTunes / Airplay until today.  Today I also found 2 very reliable fixes and 1 way to force a dropout, but first, I read some posts and tried ALL following settings one-at-a-time and restored them ALL because NONE of them helped:  Turned off IPV6.  Streamed to multiple speakers 'Computer' and 'AX' (restored to just AX).  Turned off 'Ask to Join new (WiFi) Networks'.  Turned off Bluetooth (can't live without Magic Trackpad, so glad that wasn't it).  Here's my discoveries:  Lo and behold, each time I click the Airport icon in the Menu (you know it shows you've got 4 bars from AX) when the status switches to 'Looking for Networks' for a second it CAUSES the AX audio to drop out for a couple seconds (it never did that before today.)  iTunes still playing, streaming, AX laser still lit, but the 'PCM' light on stereo and the sound GOES OUT EVERY time I click the Airport icon in the menubar, just like the regular, annoying dropouts.  So, to reduce traffic I quit Safari (3 tabs, no streaming, just Gmail, Google, and Netflix browsing).  Lo and behold, the dropouts stopped altogether.  No other Web apps going (not iTunes Store, Genius, Ping, nothing), so I launched Chrome to the same 3 tabs and the dropouts HAVE NOT RETURNED.  That's right, not only did simply QUITTING SAFARI cure it, and Chrome doesn't contribute to it, but I can demonstrate it just by forcing my Airport to re-scan.  Works for me, written using Chrome.  The other reliable fix is to hardwire MacBook to the Switch.  This is obviously not ideal, but Airplay audio doesn't drop out over Ethernet.  Also, in all my tests, it made no difference whether iTunes did the streaming, or Airfoil did.

  • I recently got IOS 8 and I like it but there is one problem on my camera roll it says i have 600 photos but i went into setting general and about and it says i have 2,743 photos my photos keep on duplicating how do i get this to stop.

    i recently got IOS 8 and I like it but there is one problem on my camera roll it says i have 600 photos but i went into setting general and about and it says i have 2,743 photos my photos keep on duplicating how do i get this to stop. i have a iPhone 5c

    Hi Bpaitin,
    Go to Settings>General>Usage, and under iCloud, click on Manage Storage>click on your device, then under Backup Options, turn Photo Library off and then back on. See if that clears it up.
    If it does not, reset your device (nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Apple appears (up to 30 seconds). Once the Slide to Unlock screen redisplays, see if the issue is resolved.
    Cheers,
    GB

Maybe you are looking for

  • Can 2 Macs on different DSL providers share files?

    How can I connect to my Mother's computer across town on a different DSL provider and backup her Hard Drive to my external drive and do maintenance? Thanks in advance. I've tried through ftp server but got an error message.

  • File sharing problem with EG005W

    Hello, I'm having problems recognizing shared drives when using the EG005W switch on my Linksys network. Here's my configuration: ADSL --> SpeedStream 4200 modem --> LinksysWRT54G Wireless Router --> EG005W Gigabit Switch Computer A = XP with EG1032

  • How to achieve this in plsql

    this is my test_script.sql DECLARE   l_deptno  NUMBER;   l_count   NUMBER;   l_empno   NUMBER;   l_empname VARCHAR2(100); BEGIN   Dbms_Output.put_line('Enter Deptno:');   l_deptno:=&deptno;   SELECT COUNT(*) INTO l_count FROM dept WHERE deptno=l_dept

  • Installing Photoshop 6 on Windows 7

    I have Photoshop 6, upgrade 7 and upgrade CS2. They were all on my old laptop with Windows XP system. I have a newer computer I wish to install CS2 on, which has Windows 7. The CS2 will install but needs the earlier versions of Photoshop to be able t

  • DR solution for OracleAS Portal 10g

    Hi I have to think about a disaster recovery (DR) solution for OracleAS Portal10g. Location1: Primary Location2: DR System SAN Storage used between Location1 + 2. The disaster case happens only once a year. (test) In DR case, OS technical It would be