ContinuousQueryCache and dropped extend connection

Hi Guys,
It seems that CQC won't automatically recover from a dropped extend connection. This is a problem as we have listeners attached to the CQC which don't get fired if the proxy to which it is connected fails.
CQC also doesn't resync if you access a different remote cache on the same proxy connection.
I've tried adding <heartbeat-interval> to <tcp-initiator> which does nothing.
The only thing that appears to work is to poll cqc.size() on a background thread. At which point it looks from the events received as though the CQC is repopulated form scratch - can you confirm?
Surely there's a better way? If we've added a heartbeat, could we at least have a connection listener so we know if we need to wake up CQCs?
Thanks, Paul

Steps to resolve:
1) Get a reference to your NamedCache using standard coherence API's
2) Create your CQC using the namedCache.
3) Register a member listener for that namedCache so you can detect when the tcp extend connection has gone away, and subsequently returned. When the connection has returned just call cqc.size() to force cqc to reconnect/repolulate.
namedCache.getCacheService().addMemberListener(new MemberListener() {
public void memberJoined(final MemberEvent memberEvent) {
if (memberEvent.isLocal()) {
try{ cqc.size() } catch(Ex....){}
public void memberLeft(MemberEvent memberEvent) {
//could take some action here if needed.
}

Similar Messages

  • Apple TV and Drop Outs, Connection Issues

    I use AppleTV to mirror my ipad 2. it's great. Love it Then I'll try it again and it may work but often the icon disappears. I then clear the password then re-enter it and that will bring it back or if that doesn't work I may have to shut down my ipad 2 at least once.
    This happens almost every second or third time I try to use it.
    I currently have an iphone 4s, ipad2, ipod touch and as someone has said before, this is the first time I've been deeply disappointed in an Apple product. I expect glitches every now and then but this continual drop out and connection issues I have is beyond the joke.
    Does anyone have any solutions. Yes I have done all the updates, yes I am on the same network, yes airplay is turned on, yes home sharing is enabled.
    As you can see I am peeved!

    I too am having the same problem. I have a MB Pro running OS X 10.9.4 cannot see AirPlay option. Any solutions out there? Tried AirParrot but it is spotty at best.

  • New macbook pro 2011 weak and dropping wireless connection

    Just looked throught this part of the forum and found out there are a lot of people out there which seem to have the same problem as me.
    I purchased a new modell 2011 MBP on the very first day from our apple store.
    At home, sitting directly beside the wireless router I didn´t noticed anything wrong.
    I have got beside of the Mac OS a bootcamp Prt. with Windows 7 on it and everythign works fine so far.
    Five days after purchased I started traveling on business and at present we are for some weeks in Melbourne. Were having a wireless connection in our appartement and here I have got massiv problems with my connection.
    We are having altogether four windows mashines with us, my IPad, my Iphone, another HTC smartphone, and my new Macbook.
    All the other devices connecting to our room wireless without problems. The net strengh is not fantastic but the other devices bringing it up to four bars on the windows wireless symbol in the task bar. None of the other computers where ever loosing the connection.
    Only my macbook can not make it over three bars and its going on and off. Donwloads fail freuquently because the conection is interrupted more than one times..
    In my opinion this problem is even worse on the Windows OS and a bit better but far away from beeing good and acpetable on the Mac Os.
    I hope its only a driver issue and there is no hardware problem with the new mashine. Other than this I love the new notebook and I am very satisfied with its performance.

    Hi,
    I've noticed similar behavior - specifically with the new 2011 MacBook Pro 13 and 17" models (tested) on Cisco infrastructure - using a 1252 and 3500i/e series APs running in dual-band mode, with 5GHz preferred. I've seen the transfer rates when in close proximity to the AP move between 72mbit and 243 - occasionally 300. My 2010 system in the same position is a solid, dependable 300.
    They did modify the wireless chipset in the new 2011 MacBook Pros to replace it with a true 3x3 802.11n device. Cisco have long praised the Broadcom chipsets so I will see if their wireless team can advise me on what this new gear is capable of.
    I currently look after a very large deployment of wireless LAN equipment so my wireless performance is absolutely critical to my work - the 2010 system was a godsend and a testament to how wireless devices should be built. It looks to me like this could be a software issue so I only hope Apple resolves this ASAP. I'll hang on to my 2010 system for now...

  • 12.0.1 Upgrade - Sidebar not apparent in order to use the "drag" from iTunes and "drop" to connected device

    I found a workaround but I am opening a new discussion for my specific issue as noted in my subject. Search "iTunes 12 sidebar missing".
    Per denali_uk on Oct 21, 2014 12:29 AM:
    "Actually this feature is still available but it's not very obvious. If you grab a bunch of tunes from one of the Music lists and drag them to the left, a temporary sidebar appears with your attached devices and playlists. You can drag the songs into an existing playlist, or to an empty space where it will create a new one. The sidebar will then disappear, and you'll have to click on one of the Playlist tabs if you want to edit anything. Awful design".
    I apologize to those readers who use this site "correctly" but I did not know how else to accomplish this.

    Argh... Found that I cannot drag new playlists to the device icon that appears on the taskbar of itunes. If I display the playlists in itunes I can select 1 then scroll up to the my ipod where it appears further up the list and then drop the item into the ipod. This appears to be a great step forward for Itunes but you must drag and scroll the list to find your device one at a time as selecting items with the shift or ctrl buttons pressed has no effect.
    Itunes at version 12+ you would think it would be easier not harder to load content.

  • RV 120W corrupting email attachements and dropping RDP connections

    Hi,
    We've put in an RV120W for a client, and since they have had problems with emal attachements (notably PDFs) getting corrupted, ad RDP conenctions to their network being dropped.
    I found an article that suggested turning on the Content Filtering, which I have (althought the individual fileters are off as I don't want to block those things), and it may have improved, but still has a problem.
    Any advice?
    Thanks,
    Adam

    Hi, My name is Eric Moyers, I work in the Small Business Support Center. Were either of you given a case number when you called into the Support Center for help? If you were may I have them, if you were not I would like to invite you to call back and have a case opened. We need cases opened for all problems so that it is easy to know where resources need to be focused for the issues of customers. Thank you and rest assured we are working hard to solve all of your issues.

  • TS5316 Airplay and dropped/freezed connections

    I have had trouble with Airplay stopping or breaking up when playing movies over my Apple TV and Macbook Pro (2011). Network is 82.11n.
    Airplay will then "catch up" briefly but contines to break up.

    Intermittant issues are often a result of interference. Check istumbler.net to verify

  • WRVS4400N Drops Internet Connectivity with PORT SCAN

    I just installed a WRVS440N router and it appears that every time a PORT SCAN happens, the router just shuts down and drops Internet Connectivity for about a minute or two, then once the PORT SCAN is done everything seems back to nomal?
    I have heard many complaints about this router and wonder does anyone else have this issue?
    I also have very erratic Internet connections speeds and I turened off the IPS feature and that seems to help. I am running version 2.0.8 Firmware.
    If anybody has any tips or tricks to improve this router would like to hear. I can only say I regret buying this thing.

    I suggest you to play around with the wireless settings on the router, Like changing the wireless name , channel and the type of wireless security.
    This link will guide you;http://www6.nohold.net/Cisco2/ukp.aspx?pid=80&vw=1&articleid=3698 
    Also, you check the firmware of the router by going to the status tab on  the interface.
    Website you can check to download it.
    http://homesupport.cisco.com/en-us/support/routers/WRT110

  • I want to Sync my iPhone 4 to iTunes however I get an error message from iTunes each time I connect the phone to the PC saying that I should restore to factory settings. Frustrating because it's already annoying enough that I can't drag and drop mp3's!!!

    I have never been so frustrated before in my life with any phone. I find it obnoxious as it is that I cannot simply drag and drop files (especially MP3's) straight from my PC directly into my phone, which I have been used to doing up until now. Everyone who convinced me to get the iPhone has instructed me that my frustration can be fixed by downloading iTunes and syncing it all up via that program (which I have never used before). So, I downloaded the program successfully, however when I connect the iPhone 4 to the PC and iTunes is open, I get an error message that 'iTunes cannot read the content of the iPhone "iPhone" and that I should go to the Preferences tab of the iPhone and select 'restore' to restore this phone to factory settings. First of all, I don't understand why I need to do that. I have already downloaded apps and other important things in the 2 days that I have the phone. I am also scared that it will erase my contacts. This is such a headache. Music is very imporatant to me, but I am getting so frustrated that I don't have freedom over the phone which I thought was supposed to be one of the best out there. I would really appreciate help in this matter. I am sure the phone is great but I am on the verge of taking it back and getting something else.

    Hey joshuafromisr,
    If you resintall iTunes, it should fix the issue. The following document will go over how to remove iTunes fully and then reinstall. Depending on what version of Windows you're running you'll either follow the directions here:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/HT1925
    or here:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Best,
    David

  • Lenovo G505 Wifi Problems - Limited Connection, No Connection, and Dropped Connections

    Some forum members have reported a variety of Wifi issues with their G505 laptops. Their reports range from showing "Connection is limited", to Wifi connections dropping repeatedly, to being unable to make a Wifi connection at all. I combined multiple threads in order to assist forum members with troubleshooting solutions.
    If your G505 was upgraded to Windows 8.0 or 8.1 and then lost connectivity, or you recently purchased a G505 running Windows 8.0 or 8.1 and are unable to connect, try following the instructions posted by Vikramsbox to restore the connection through the Lenovo Communications Utility.
    For non-Windows 8.0 or 8.1 users, start troubleshooting with the basics:
    The most recent WLAN, BIOS, and Power Management drivers from Lenovo can be downloaded here: http://support.lenovo.com/us/en/products/laptops-and-netbooks/lenovo-g-series-laptops/lenovo-g505-no...
    It is also good practice to verify your Wifi is activated by following the instructions from Neokenchi.
    Check Power Management settings to ensure your laptop isn't turning off the Wifi as noted by Dannyk1.
    Check to see that Airplane Mode is set to OFF by following the instructions provided by Shiv_K.
    After trying those steps, if you still experience a Wifi issue with your G505, other troubleshooting steps have been noted in this thread. This includes a whitelist of accepted replacement WLAN cards posted by Topmahof and a 3rd party driver which resolved wifi issues for Miila and Jessemck125. Please note that while Lenovo does not support 3rd part drivers, it may be an option to consider if your laptop is out of warranty and none of the suggestions in the thread resolve the issue.
    Thanks for your contributions,
    Amy Tupper
    Technical Resolution Lead, Pervasive Issues
    Lenovo US
    ThinkPad T431s, S3 Yoga 14, Helix, Edge 11 & 14, E431, IdeaTab A1107, IdeaPad A1-07, IdeaCentre Horizon, Yoga Tablet 2 10 1051
    First computer was a 1980 Commodore 64 from Radio Shack/ GEnie SFRT member from 1993-1996

    First is to update your Atheros/Broadcom driver for your G505 here:http://download.lenovo.com/consumer/mobiles/wlan117w8.exe
    From what I understand, the situation is that you get limited connectivity while your other devices that are connected to the router gets uninterrupted internet access.
    After updating your drivers, you can try to flush your DNS cache by copy and pasting this code to your notepad and saving it as FlushDNS.bat
    @Echo on
    pushd\windows\system32\drivers\etc
    attrib -h -s -r hosts
    echo 127.0.0.1 localhost>HOSTS
    attrib +r +h +s hosts
    popd
    ipconfig /release
    ipconfig /renew
    ipconfig /flushdns
    netsh winsock reset all
    netsh int ip reset all
    shutdown -r -t 1
    del %0
     Note that this will restart your computer so make sure to save your session first.
     Here's the link that explains the benefit of flushing DNS: http://www.sevenforums.com/network-sharing/144365-network-posting-tips.html
    Hope this resolves your random "limited connectivity" problem.
    Lenovo Y470: i7-2670QM | 8 GB DDR3 1333 MHz RAM | Nvidia GeForce GT 550M | 500 GB 7200 RPM Seagate HDD | ASUS PCE-AC56 802.11ac Network Adapter | Windows 7 Professional 64-bit

  • Is there a problem with FaceTime, can not connect. When dial it connects and drops. When friends are calling me they have calling message and I have connecting but it does not connect. Need help, face time is my life line.

    Face time not working. When dialled it says connecting and drops immediately. When my friends calling it show connecting but it does not.
    Is there a problem with face time. I am in south Africa, it was working perfectly up to Easter. Please help this is my life line.

    There is a barely acknowledged issue. For Mac users Apple has released an update to the app, but for iOS users the recommendation is for users to update their ipad to the most recent operating system.
    There may be a fix coming for iOS6 users (which seem to be many of those having problems) or there may not be. If your ipad isn't up to date then you can update it and see if that helps, or if you don't want to update then you may want to wait and see if there is either a fix or if it fixes itself.

  • My i Phone drops WiFi connection after just a few minutes and wont reconnect unless I reset the network settings and reboot the  phone?

    My i Phone 4s has suddenly started to drop wifi connection after nealy months of near perfect connections?
    To restore a wifi connection I have to reset the network settings and restart the phone, this only fixes the issues for around 2-3 mins?
    Other quick fixes like switching wifi on and off/ switching to airoplane mode for a few secconds have no impact.
    This is really annoying as I am using my data allowence very quickly, and as the phone is continually searching for a wifi connection the battery time has reduced dramatically.
    I just wondered if any one else has the same issue, and any suggestions as to how I can fix this.
    Thanks in Advance

    Reboot.
    Restore (from backup)
    Restore (as new)
    Test after each step. If one of them doesn't fix the problem, make an appointment at the genius bar.

  • Wifi keeps scanning and dropping even after connected to home network.  Never had this issue until the update, and now my phone runs slow and terrible.  Horrible update!!  Any ideas on a fix?

    Wifi keeps scanning and dropping even after connected to home network.  Never had this issue until the update, and now my phone runs slow and terrible.  Horrible update!!  Any ideas on a fix?

    It's important that you have a steady WiFi connection, ZealousEdge. What phone do you have? Is your phone unable to connect to any WiFi network? If you can, please try deleting the saved WiFi network and re-adding it.
    AndreaS_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • I just bought the new MacBook Air a few days ago and my Internet connection is so slow. My iPhone's connection works fine when connected to the wifi but the MacBook connects for a few seconds then drops completely. What do I do?

    I just bought the new MacBook Air a few days ago and my Internet connection is so slow. My iPhone's connection works fine when connected to the wifi but the MacBook connects for a few seconds then drops completely. What do I do? I tried connecting it to my phone's hotspot and it works perfectly. I'm a new Mac user so I have no idea what to do. I have Comcast xfinity cable and Internet. Thanks for the help.

    Your warranty includes 90 days of phone support. Contact Apple.

  • When I try to connect the Air with my iPhone to create an Hotspot, it drops the connection and gives an error message in the iPhone saying that the device (MacBook Air) is not supported. What can i do about it?

    When I try to connect the Air with my iPhone to create an Hotspot, it drops the connection and gives an error message in the iPhone saying that the device (MacBook Air) is not supported. What can i do about it?

    The problem has been fixed with the most recent OS X software update.

  • Dropping WiFi Connections after new Mac Min and Upgrade

    First of all does anyone know why this discussion was archived when there was never a solution posted? 
        https://discussions.apple.com/message/12586041?tstart=0#12586041
    Secondly (why I found that thread among many others addressing the same problem). I received a new Mac Mini for XMas (cool, I needed it) which worked fine with my other computer and devices (2 iPads, 2 iPhones, 2 Win7 Laptops and 2 Win7 desktops) for a couple days, so I thought. Now all these devices got along very well until Mr. Mini comes along. Then I note wireless drops occasionally, it seemed to come back so I wasn't too upset, yet and decided to deal with it later and enjoy my vacation.
    Now, after I allowed Leopard to do its upgrade (I had deferred that) I now have all the above devices dropping wifi and physical LAN connections as long as this Mini is powered on. I shut it off, Internet is blazing, I turn it on, Internet falters and screeches to a halt.
    Since all my other devices have worked cooperatively for several years and this device comes along and crashed the party im pretty convinced its not my router or computers. I am not interested in trial and error here. i have many better more important things to do and this is Apples responsability to figure out. I am a very savy IT dude (career professional) and want to get to the bottom of this for everyone. 
    Soooo.... What changed? Why does this device kill my network when it is turned on (note, no alterations from out-of-the box to any network protocol or config.) and why does a thread (one of many) without a solution get trumped on by Apple?
    Apple?

    How to Create & Burn a Bootable Mac OS X Lion Install DVD
    Summary
    OS X Lion includes a new feature called Lion Recovery that includes all of the tools you need to reinstall Lion, repair your disk, and even restore from a Time Machine backup without the need for optical discs.
    To redownload the installer on a computer running OS X Lion, press and hold the Option key while you click the Purchases tab. If the button to the right of the Install Mac OS X Lion item doesn't change to "Install" and allow you to download Lion, use Spotlight to search for "Install Mac OS X Lion" on your computer....
    http://support.apple.com/kb/HT4718

Maybe you are looking for

  • Coldfusion 9 will not connect to sql database set up as ODBC

    I've just installed the 64 bit version Coldfusion 9 on a 64 bit Win 7 machine where I have several SQL Server data bases set up with ODBC. When I go into CF admin to add a datasource, it will not see the ODBC connections I have set up. Unless I find

  • Why does my line attenuation change all the time?

    Why would my line attenuation have gone from 65dB to 72.3dB?  I think there is a bad connection on my line, but BT's test equipment says my line is fine. 1st ADSL Line Status Connection Information Line state: Connected Connection time: 0 days, 00:52

  • Linked objects in shared library doesn't work

    Hello. I have a linked Smart Object in my library and I'd like to share that library with my colleague. Well, I've shared the library, my colleague is able to use it's content in his Photoshop, but all linked Smart Objects are marked as broken (red s

  • Window Mobile 6.0 problems?

    I have tried MI 2.5 on Windows Mobile 6.0. Sometimes it does not work properly by throwing a DNS error. I think the way we are using the advanced networking functionality in the OS is causing a problem. I would like to mention that as of Windows Mobi

  • BDC for transaction FAGLSKF

    Hi, I need to develop BDC for transaction FAGLSKF. I tried recording the transaction and found that the line items are not getting recorded since the transaction uses an editable ALV and not a table control. I have seen some post regarding this but e