NamedCache remove() fail

I had in interesting experience today.
I have a NamedCache backed by a CacheStore backed by an Oracle table.
Called remove() and CacheStore.erase() was called, so the record was removed from the table.
But the object remained in the NamedCache.
When I changed the code to keySet().remove(), it worked as expected.
I suspect there is an issue with coherence using an opaque binary representation of my key for equality comparison.
My key object contains serialized fields which do not participate in equals() / hashCode(), but also do not vary.
For the moment, I'm happy with the keySet().remove() solution. It's also a slight performance improvement.
I enshrined this code in our NamedCacheUtil class as a static call.
Leonard

Leonard,
In order for Coherence to work correctly in all cases, equals and hashcode for the serialized form (binary) and the de-serialized form (Object) needs to be symmetric for keys.
Patrick Peralta (from the Coherence Engineering team) has written an excellent blog post on how to implement keys here:
http://blackbeanbag.net/wp/2010/06/06/coherence-key-howto/
/Christer

Similar Messages

  • BR0252E Function remove() failed

    While trying to extend the tablespace (PSAPCRM), I encounter an error :
    BR1001I BRSPACE 7.00 (40)
    BR0252E Function remove() failed for '/oracle/SID/sapbackup/.user.pas' at location global_set-5
    BR0253E errno 13: Permission denied
    BR0700E Fatal errors occurred - terminating processing...
    BR1008I End of BRSPACE processing: seadhacx.log 2009-03-15 22.45.39
    BR0280I BRSPACE time stamp: 2009-03-15 22.45.39
    BR1007I BRSPACE terminated with errors
    Any clues pls ?
    Regards
    Shaji

    Hi Jacob,
    Can you tell us with which user you are running?
    I think there are some file permission are missing with that user id.
    Please follow SAP NOTE 113747 to give sufficiant access privillages for BRTOOLS.
    Regards
    Nick Loy

  • Product: Java X Update X.. removal failed or error status 1602

    Hi
    Managing several different environments I repeatedly run into the same error on "to many" computers.
    We use SCCM as our primary distribution tool and install Java using the embedded MSI and a custom made MST.
    End user platform is: Windows XP and/or Windows 7
    The installs works flawlessly in 95% of all cases but the remaining 5% are still a big hurdle to have to handle manually.
    Problem:
    Installing the newest version returns error code: 1602.
    For a long time I have been ignoring it since it generally means that the end user has cancled the installation. But upon furter investigation I have found out that this is not the case.
    On the individual computer the eventlog actually reports: Product: Java X Update X.. removal failed or error status 1602.
    It is the uninstall of the previous version that fails.
    Does anyone know what causes this and possible a solution?
    Best Regards,
    Christian

    The same problem happened to me. When upgrading from JRE 1.5.0_5 to JRE 1.5.0_6, suddenly no applets would load, and all I could see was the little red X.
    I tried to change proxysettings (I dont use a proxy, but it is told at http://www.java.com/en/download/help/redximage.xml that it is due to wrong proxy-settings). It didn't help.
    I tried to turn off zonealarm. It didn't help.
    I tried to clear the browsers cache. It didn't help.
    I have been using both Firefox 1.5, and IE6. None would load the java-applets.
    So I uninstalled all older JRE versions and installed JRE 1.4.1_02. It worked!
    I then tried to upgrade to JRE 1.5.0. It didn't work.
    Now I am back at JRE 1.4.1_02 without knowing why I had to downgrade through 6 versions that through the last year or so has been working fine on my machine.
    I have no idea why it suddenly wouldnt work with the newer versions.
    Any ideas?
    Thank you.

  • How to remove "removing failed" on Memory Card

    I installed "bloomberg", "Financial Di..." and other applications on memory card.
    I formatted my phone Nokia E71, but I forgot to remove on my phone. So when I push my memory card:
    -  "Bloomberg" and "Financial Di..." are in Menu/Installation, but I can not run. I remove them, my phone showed that "File corrupted".
    -   Some applications do not appear in Menu/ Installation, I opened Application Manager to remove them, but my phone showed that "Removing failed".
    Please tell me how to remove these applications.
    Thanks
    Solved!
    Go to Solution.

    I would have thought that formatting the card will get rid off those, back up your important stuff beforehand though.
    Grayburn @ www.nokiausers.net & www.dailymobile.se....come say Hello!!!
    If you appreciate ANY help from a member,then show it by clicking on the Blue Star button, cheers

  • Apple mail problem message reads - Account removal failed with error: "The operation couldn't be completed. Unable to find an account for the UID given.".

    Account removal failed with error: “The operation couldn’t be completed. Unable to find an account for the UID given.”.   - trying to remove account but get this message please help

    Try to remove the account in the Internet Accounts preference pane.

  • SMICM : ERROR = remove failed: u2bdvsIsv5bMM7p1EXihbA   vc2Ijq_E3SkUkWhu7U

    Hi guys,
    When checking the trace file under SMICM I have discovered the following error message :
    [Thr 10] Wed May 21 13:50:39 2008
    [Thr 10] *** ERROR => remove failed: u2bdvsIsv5bMM7p1EXihbA   vc2Ijq_E3SkUkWhu7UwvNA   [http_r3hdl_m 626]
    Does anybody know more about this error and should I be worried or can this error be ignored??
    Regards,
    Yammie

    Hi!
    Did you solved the error? We've found a similar error log on our environment.
    REgards

  • Remove failed when uninstalling onlie share 2.07

    Can anyone please help (DO NOT WANT TO HARD RESET DEVICE)
    Installed online share 2.07 now i cannot remove.
    Remove Failed
    Also does not show up in App Manager.
    Installed on internal Memory.
    Many Thanks

    why do you want to remove it?
    I ask this cause coincidentally i tried to remove it last night and got the same message cannot be removed
    I just installed over it with the upgrade

  • Remove Failed N95

    Hello all,
    I have tried to remove online share 3.0 from my N95, BUT KEEP GETTING REMOVE FAILED.
    I have tried removing from app manger and the only option is the online share upgrade which uninstalls successfully but I still have the Online share App in my menu.
    Please assist.
    This is installed on Internal memory.
    This is my Second post as my first post vanished ?
    Many Thanks

    Hi,
    I have the same issue with an N82.  Why cant I simply use App Manager to get rid of it?
    Is there some Nokia rule that we, the customers, are not allowed to choose  what applications run on our own hardware?
    I have absolutely no interest in this application and want it gone, I expect to be able to manage things that I own.
    I am simply amazed that Nokia seem to think that it is reasonable to force this type of self serving software on us.
    In my case I had a major bluetooth issue and basically had the phone replaced.  When I got it back it had Share Online and "My Nokia" installed, and I want both gone.
    I guess its time to choose a new platform - and I've only been using Nokia's since 1998.
    If I sound frustrated, its only because I am still waiting for a supportive response from the company.
    .... life goes on, but maybe with new applicances ( I buy for my company)

  • Removing FAILED !! File is corrupt

    yesterday i instaled some smartphoneware apps.after that i simply tried to uninstall an app,but all of a sudden it says REmOVING FAILED.when i went to INSTALLED APPS option,it was showing only PHONE MEMORY apps..THE PROBLEM continues ahead...i went to install any SIS app from MEMORY card,it says FILE IS CORRUPT !!! 
    PLSE FRNDS if YOU DO have any suggestions how to fix it ,then plse write !! WAITING !!!! 

    Providing your Device details are always of MORE help.. but have a look at this thread that may help..

  • N96 - Remove Failed on Nokia Maps

    Hi guys
    So I have older version of Nokia Maps running on my N96.
    I wanted to remove it.
    I couldn't see it via App Manager, but I thought I can remove it by clicking on Options --> Remove from the menu.
    I get "Remove Failed" everytime I do this. Is there another way of doing this? I don't really want to format my memory card for this.

    You can't remove it if it is embeded in the firmware. However, you should still be able to update to a newer version if that is what you are trying to do.

  • Exchange 2003 Removal fails w/ Error code 0X80072030 (8240): There is no such object on the server- pls read

    Dear all,
    I know there are quite some threads regarding this issue. But I've been looking at all of them w/o any solution for my problem. Here we go...
    I've followed all instructions for a Exchange 2003 to 2010 transition. All went fine to the point I'm trying to uninstall Exchange 2003 via Control Panel/Software/Remove. So far I did the following:
    1. Move mailboxes to Exchange Server 2010 using Move Mailbox Wizard or Powershell => successfully
    2. Rehome the Offline Address Book (OAB) generation server to Exchange Server 2010  => successfully
    3. Rehome Public Folder Hierarchy on new Exchange Server 2010 Admin Group  => successfully
    4. Transfer all Public Folder Replicas to Exchange Server 2010 Public folder store  => successfully
    5. Delete Public and Private Information Stores from Exchange 2003 server  => successfully
    6. Delete Routing Group Connectors to Exchange Server 2003  => successfully
    7. Delete Recipient Update Service agreements using ADSIEdit according to
    http://technet.microsoft.com/en-us/library/bb288905(EXCHG.80).aspx => successfully
    8. Uninstall all Exchange 2003 servers => fails with "Error code 0X80072030 (8240): There is no such object on the server"
    I used the following articles while migrating to Exchange 2010:
    http://technet.microsoft.com/en-us/library/bb288905(EXCHG.80).aspx
    http://support.microsoft.com/kb/833396/en-us
    http://www.simple-talk.com/content/article.aspx?article=882
    and several more.
    I looked into these forums regarding my problem and came up with:
    http://support.microsoft.com/kb/283089/en-us
    http://support.microsoft.com/kb/822931
    I investigated the following possible reasons:
    - homeMDB attribute (no references to my Exchange 2003 anymore)
    - HomeMDBBL attribute (as described here
    http://social.technet.microsoft.com/Forums/en-US/exchangesvrmigration/thread/f0e3edd7-34e5-46b8-8061-1991aaffc30f) (no Information Stores available anymore as they have been successfully removed)
    - msExchHomeServerName attribute (all pointing to my new Exchange 2010 server)
    - the "famous" postmaster issue as described here:
    http://support.microsoft.com/kb/283089/en-us (pointing to the new Exchange 2010 server)
    In order to investigate all attribute related issues a utilized a VBS script resulting in an Excel sheet I was easily able to filter:
    SET objRootDSE = GETOBJECT("LDAP://RootDSE")
    strExportFile = "C:\temp\MyExport.xls"
    strRoot = objRootDSE.GET("DefaultNamingContext")
    strfilter = "(&(objectCategory=Person)(objectClass=User))"
    strAttributes = "sAMAccountName,msExchHomeServerName,homeMDB,legacyExchangeDN,givenName,sn," & _
                                    "initials,displayName,physicalDeliveryOfficeName," & _
                                    "telephoneNumber,mail,wWWHomePage,profilePath," & _
                                    "scriptPath,homeDirectory,homeDrive,title,department," & _
                                    "company,manager,homePhone,pager,mobile," & _
                                    "facsimileTelephoneNumber,ipphone,info," & _
                                    "streetAddress,postOfficeBox,l,st,postalCode,c"
    strScope = "subtree"
    SET cn = CREATEOBJECT("ADODB.Connection")
    SET cmd = CREATEOBJECT("ADODB.Command")
    cn.Provider = "ADsDSOObject"
    cn.Open "Active Directory Provider"
    cmd.ActiveConnection = cn
    cmd.Properties("Page Size") = 1000
    cmd.commandtext = "<LDAP://" & strRoot & ">;" & strFilter & ";" & _
                                       strAttributes & ";" & strScope
    SET rs = cmd.EXECUTE
    SET objExcel = CREATEOBJECT("Excel.Application")
    SET objWB = objExcel.Workbooks.Add
    SET objSheet = objWB.Worksheets(1)
    FOR i = 0 To rs.Fields.Count - 1
                    objSheet.Cells(1, i + 1).Value = rs.Fields(i).Name
                    objSheet.Cells(1, i + 1).Font.Bold = TRUE
    NEXT
    objSheet.Range("A2").CopyFromRecordset(rs)
    objWB.SaveAs(strExportFile)
    rs.close
    cn.close
    SET objSheet = NOTHING
    SET objWB =  NOTHING
    objExcel.Quit()
    SET objExcel = NOTHING
    Wscript.echo "Script Finished..Please See " & strExportFile
    What I did find is that all my Exchange enabled users have an legacyExchangeDN attribute that is still pointing to my Exchange 2003 organization:
    e.g. "/o=First Organisation/ou=First Administrative Group/cn=Recipients/cn=Administrator"
    Could this cause any problems?
    Now the in depth look into my "Exchange Server Setup Progress.log":
    [09:33:06] Leaving ScPRQ_DoesNotContainLastMAPIMDBInMixedModeAG
    [09:33:06]  ScPRQ_ServerIsNotRUSResponsibleServerInTheNonEmptyOrg (f:\titanium\admin\src\udog\excommon\prereq.cxx:3133)
               Error code 0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:06]  CCompServer::ScCheckEVSPrerequisites (f:\titanium\admin\src\udog\exsetdata\components\server\compserver.cxx:1358)
               Error code 0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:06]  CCompServer::ScCheckPrerequisites (f:\titanium\admin\src\udog\exsetdata\components\server\compserver.cxx:955)
               Error code 0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:06]  CComExchSetupComponent::ScCheckPrerequisites (f:\titanium\admin\src\udog\bo\comboifaces.cxx:1598)
               Error code 0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:06]  CComExchSetupComponent::ScCheckPrerequisites (f:\titanium\admin\src\udog\bo\comboifaces.cxx:1598)
               Error code 0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:06] === IGNORING PREVIOUS ERRORS === HrSetProblemOnInstallAction, while calling ScCheckPrerequisites (f:\titanium\admin\src\udog\bo\comboifaces.cxx:1399)
               Der Vorgang wurde erfolgreich beendet.
    [09:33:06] Ein Fehler ist beim Überprüfen der Voraussetzungen für die Komponente "Microsoft Exchange" durch Setup aufgetreten:
    0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:14]  CComBOIFacesFactory::QueryInterface (f:\titanium\admin\src\udog\bo\bofactory.cxx:54)
    I did search for:
    - Error code 0X80072030 (8240)
    - ScPRQ_ServerIsNotRUSResponsibleServerInTheNonEmptyOrg
    Nothing so far. In case some more information is needed just let me know.
    Any help would be greatly appreciated as I absolutely don't know how to remove my Exchange 2003. Manual removal is not an option.
    Alex

    I kept on searching and found something else:
    http://www.outlookforums.com/threads/33038-cannot-uninstall-Exchange-2000
    It says that the following groups need to be resided in the AD's default "Users" organizational unit:
    - Exchange Domain Servers
    - Exchange Enterprise Servers
    - Exchange Services Group
    Unfortunately I cannot find the "Exchange Services Group". Does that have something to do with my problem?
    Furthermore I found out that the Exchange 2003 has been originally installed with SBS 2003 back in time. The SBS 2003 has then be migrated to a regular Windows Server 2003 infrastructure with 2 DCs. But there still is a load of stuff reminiscent of SBS
    2003 within the AD.
    Then I dug deeper into my AD using ADSIEdit. I found another attribute homeMTA that is pointing to a corresponding Exchange server. After adjusting my aforementioned VBS script a was able to look into that attribute as well. I found 2 users pointing to my old
    Exchange server within their homeMTA attribute.
    Furthermore I saw that when trying to uninstall Exchange 2003 there is no path to my installation anymore. It's empty:
    Another issue?
    Regards
    Alex

  • How to remove failed mailbox move request

    Hi all,
    Exchange 2010 SP1
    i canceled or move failed on several mailboxes.  How can I move these mailboxes again since
    they still have move request checked?
    Thank you.

    Hi JaneHHH,
    Here are some examples:
    To just remove the failed moverequests in EMS, RUN Get-Moverequest -MoveStatus Failed | remove-moverequest
    Move all moverequests in EMS, RUN get-moverequest | remove-moverequest
    You can of course also remove them in EMC, but a simple right-click the once you want to move in EMC|Recipient Configuration|Move Requests and choose "Clear Move Requests"
    :Martina
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to remove failing update

    Hi,
    There is an update on our server (2012) that keeps failing. Every 2 days it's scheduled to reboot and every time it's the same song & dance. Server reboots, configures update, gets to 98% and reverts it's changes.
    How can I actually remove a failed update, so that I can break this cycle? ;) I can't even figure out which update it is that causes this :(
    Thanks!
    Maike

    Hi,
    You could view the update failure information in Windows Update history.
    If you want to remove the update failure information, you could refer to this blog:
    Clear the Update Failure Information
    http://blogs.technet.com/b/win7/archive/2011/10/18/clear-the-update-failure-information.aspx
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Bad logic in NamedCache remove method?

    Why does the remove method in a NamedCache invoke the load method in the CacheStore in a distributed cache? Why force a database load call for the object if it doesn't exist in the cache only to immediately remove it?
    Edited by: 786216 on Aug 3, 2010 10:07 AM

    Hi 786216,
    The reason for that comes to the contract of the java.util.Map#remove(Object) method that NamedCache inherits is to return the "old" value. Basically, the net effect should be the same as:
    oValue = map.get(oKey);
    map.removeBlind(oKey); // pretend such a method exists
    return oValue;The good news is that the removeBlind() method does exists. It looks like:
    map.keySet().remove(oKey);and will not cause the store.load() operation to occur.
    Regards,
    Gene

  • Remove failed DB copy/Add new mailbox DB copy

    I have a DB copy that is in a "Failed and Suspended" state.  The ContentIndexState is Failed and the ContentIndexErrorMessage is "Catalog is dismounted externally for database".  I have attempted automatic reseeding of the DB
    copy through the EMC and Management Shell using -CatalogOnly, but that hasn't fixed it.  I am considering a manual reseed, but was wondering if it would be easier to remove the current DB copy and just setup a new one.  The problem is that I have
    never done that so I don't know if I can do it during production hours, without disrupting Exchange operations. 
    It seems as though I could remove the passive copy, make sure all passive log files are deleted, and then setup a new DB copy from the Active DB.  Has anyone done this, or know of any potential problems that could come from trying it?
    Thanks!
    Kevin

    Oh, sure you can do that anytime. I am assuming your have enough server and network resources to handle it. 
    It does not disrupt the users on the active mounted database.
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

Maybe you are looking for

  • Cannot publish Flash Updates Verification of file signature failed for file SCUP 2011, SCCM 2012 R2 and WSUS all on same Windows Server 2012 machine

    I am attempting to distribute Adobe Flash updates using SCUP 2011, SCCM 2012 R2, WSUS ver4 and Windows Server 2012.  Everything installs without error.  I have acquired a certificate for SCUP signing from the internal Enterprise CA.  I have verified

  • How to find open item?

    Situation: Sales order has Two line items. During delivery or billing one line item is left. How to find the in which sales order this has happened? Anand.

  • Messages of type 'I' in Transformation

    Hi, I try to give out messages of type 'I' in a characteristic routine of a transformation:       monitor_rec-msgid = 'ZBW'.       monitor_rec-msgty = 'I'.       monitor_rec-msgno = '000'.       monitor_rec-msgv1 = 'Missing Vehicle code link for Mode

  • Switching to Mac need some advice

    This year my college is requiring laptops with certain specs and my hp doesn't meet them. Thisgives me an excellent excuse to get a mac. I am in advertising for my major and will need the machine to run cs4 and maybe some light gaming (think the sims

  • Contribute Publishing server log in error

    CPS server is returning the following error in a dialog while entering the password on the admin console. "No default implementation found" . The application used to work for last 10 months without any issues. Looks like some files corrupted. Is any