Put() with expiration parameter not supported during transaction?

Hello,
I am facing a "UnsupportedOperationException" exception when trying to put an object into a cache with an expiration parameter. The cache is obtained from a CacheAdapter inside a transaction. If I use the cache without the CacheAdapter, it works fine. Does it mean that cache used inside transaction don't support the expiration parameter or am I doing something wrong?
Here is the code that I'm using the get the cache from the CacheAdapter:
adapter = new CacheAdapter(env.getInitialContext(),
TANGOSOL_COHERENCE_RA,
CacheAdapter.CONCUR_OPTIMISTIC,
CacheAdapter.TRANSACTION_GET_COMMITTED, 0);
NamedCache c = adapter.getNamedCache(TANGOSOL_CACHE_NAME, getClass().getClassLoader());
c.put("foo", myObject, 100);
Here is the last lines of the exception trace:
java.lang.UnsupportedOperationException
     at com.tangosol.coherence.component.util.TransactionCache.put(TransactionCache.CDB:7)
     at com.tangosol.coherence.ra.component.connector.NamedCacheRecord.put(NamedCacheRecord.CDB:1)
Thanks for any tips.
Jean

Hi Jean,
You are correct; the caches used inside transaction don't support the expiration parameter. There are a number of reasons we made that decision. It seems that in general, the concepts of automatic eviction do not co-exist well with transactional guarantees. Consider the following scenario:
You start a transaction and put a new item with expiry of one second. One second later you are about to commit and the item has to be expired. What should the cache behavior be? Should we rollback the transaction? Or should we proceed and pretend that the item has never existed?
Similar question arise with size-limited caches and REPEATABLE_GET isolation level. What should happen if your commit forces out the entries that were read and relied on by your transaction due to a size limit?
Sorry if I had more questions than answers :-)
Regards,
Gene

Similar Messages

  • Transfer method 'TRFC with PSA' is not supported by the source system.

    Hi guys
    We are getting the following error when we try to open the transfer rules:
    Transfer method 'TRFC with PSA' is not supported by the source system.
    And when we run the load we are getting this error message:
    An RFC call-up triggered the exception
    Our source system check is ok. RFC test is ok from both sides.
    Please advice what else can be the solution.
    Edited by: sam on Nov 6, 2008 4:51 PM

    Did you do Right click on Source system and 'Check' option in RSA1-> Source Systems?
    Is this problem after upgrade or something like that?
    -Abhijit

  • How to find table with colum that not support by data pump network_link

    Hi Experts,
    We try to import a database to new DB by data pump network_link.
    as oracle statement, Tables with columns that are object types are not supported in a network export. An ORA-22804 error will be generated and the export will move on to the next table. To work around this restriction, you can manually create the dependent object types within the database from which the export is being run.
    My question, how to find these tables with colum that that are object types are not supported in a network export.
    We have LOB object and oracle spital SDO_GEOMETRY object type. our database size is about 300G. nornally exp will takes 30 hours.
    We try to use data pump with network_link to speed export process.
    How do we fix oracle spital users type SDO_GEOMETRY issue during data pump?
    our system is 32 bit window 2003 and 10GR2 database.
    Thanks
    Jim
    Edited by: user589812 on Nov 3, 2009 12:59 PM

    Hi,
    I remember there being issues with sdo_geometry and DataPump. You may want to contact oracle support with this issue.
    Dean

  • My iPod touch 4G suddenly pops up with 'charging is not supported with this accessory' no matter what cord or source I use. It worked fine for months before this. What can I do?

    This is crazy!  I love my iPod but it suddenly has a charging issue. Please HELP! I had absolutely no problem charging it for 7 or 8 months. Then last week I started getting an error message every time I try to charge it. I used to be able to charge it through my PC, PS3, wall adapter or car adapter. Now I get this message no matter where I try to charge it or with what cord! It says, 'charging is not supported with this accessory'. It happens after about 3-5 min of charging. Then I have to unplug it and plug it back in to keep charging it!  How or why did this happen and how do I fix it?

    If you did not do a reset of your iPod please try that (you will not lose any data)
    Reset iPod touch:  Press and hold the On/Off button and the Home button at the same time for at least ten seconds, until the Apple logo appears.
    If this does not work inspect the opening in your iPod where the cable connects. Look for any debris and clean it (a magnifying glass may be required).

  • HT204368 I have an IPhone 5 & Bluetooth just keeps searching & doesn't connect to devices I'm trying to pair with. Says "not supported"

    Sorry, if I've posted in the incorrect place. First post, please bare with me.
    I've been trying to transfer photos from my old Samsung Galaxy Ace & Toshiba laptop via Bluetooth to my iPhone 5.
    iPhone but message of "not supported" comes up when pairing. iPhone stays in search mode when trying to discover devices & does nothing.
    Thanking you all in advance for your patience, understanding & help.

    All you can connect via BT are headsets and keyboards. You cannot connect to your Galaxy or laptop. That's why it says "not supported."

  • LDAP synch not supported during OIM upgrade from 9.x to 11g

    Hi Experts,
    Following line is mentioned in OIM upgrade guide for 9.x to 11g (http://docs.oracle.com/cd/E21764_01/upgrade.1111/e10129/upgrade_oim.htm)
    “LDAP Sync is not supported when you upgrade from Oracle Identity Management 9.1 to Oracle Identity Management 11g”
    Please help me in understanding the above line.
    I have a pretty simple setup of OIM (version 9.1.0.2) with AD and Exchange connected. I guess I don't have any impact of above line.
    LDAP synch is required when we integrate oracle identity manager with oracle access manager.
    Please suggest.
    Thanks
    M S

    Yes LDAP Sync has most of the features when you have OIM and OAM integrated with each other. You can go ahead with upgrade if LDAP Sync is not part of your requirement.

  • Windows AD with Kerberos authentication not supported for NW AS JAVA 7.1

    The Admin guide for BO 3.1 states that Windows AD with Kerberos authentication is not supported on NetWeaver AS.
    Can anybody suggest & confirm on this???

    I know we haven't been receiving cases for it, but I think in theory it should work fine. BO doesn't really care what web/app kerberos comes from as the manual authentication uses the java SDK (i.e tomcat 5.5 would use Sun JDK 1.5), and SSO kerberos (vintela) uses 3rd party libraries. It's possible our 3rd party libraries may not support netweaver yet. If I hear anything else I'll post.
    Regards,
    Tim

  • OS Maverick urls with type "smb" not supported

    Ok so this worked with the previous version of OSX .. can someone tell me why and what my workaround would be to connect to a Windows volume as I have previously always used smb://
    ThNKS

    Hi - my laptop came from a predecessor at work - not sure what their original reason for ADmitMac was, and I don't have any experience of Active Directory I'm afraid. Because I didn't know what or why this software was on my machine to begin with, I don't imagine I will need it in future with Mavericks anyway.
    As I understand it, ADmitMac is currently incompatible with Mavericks, so not sure if a re-install would work (I don't have the disk or admin account to re-download). Their website says "The current version of ADmitMac, v7, is NOT compatible with Mavericks and will not function after upgrading.  Do not upgrade to Mavericks without upgrading or removing ADmitMac.  The "Uninstall ADmitMac.app" can be found in the /Library/Application Support/ADmitMac folder.
    We are completing final testing of new releases and will be sending notifications when upgrades are available.
    ...I couldn't find anything relating to v6 but guessing that is also incompatible as Mavericks connect to server is now working fine for me following the uninstall.
    One thing i would add to anyone who might be stuck at this stage as I was - is that to find the uninstall app, I had to find the correct library folder.

  • Cark 91 with CA55 - Charger Not Supported with Nok...

    OK, for all you out there help/suggestions are required.
    I have a cark 91 car kit and used the ca55 cable to enable this for pop port operation with my nokia 6280. I upgraded the black module box so that it would charge my phone whislt driving, so everything was hunky dory. However, I recently got a new nokia 6288, and when placing this in the car charger, after about 10-15 seconds of charging, I get an error message stating charger not supported. It then stops charging.
    It is odd in that the car kit chargers the old 6280, and the same charger that charges the 6280, also charges the new 6288 ok.
    I am at a bit of a loss. Any suggestions, other than getting a new car kit?

    Hi, I have a 6131 which was working just fine for a year, then last sunday I connected it to a USB-based charging plug. Since, it has given the message "Charger not supported" when ever connected to a charger. Any charger. And, unfortunately, the battery is not charged completely due to this, hence I am unable to use the phone for any extended period of time. A rather rare problem, I was still hoping Nokia had published som info about this kind of situation.

  • Why having problems with the sim, not supported carrier?

    My provider Orange UK has allowed me to unlock my iphone and has send to me all the steps. WHen trying to unlock my iphone, it gives me this message error
    " The SIM card that you currently have installed in this iphone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iphone. Please insert another SIM card from a supported carrier or request that this iphone be unlocked by your carrier. Please contact Apple for more information"
    I bought a non Orange 3G sim card as they mentioned and there is this message. Anyone can help me to unlock my iphone?
    THanks!

    Have you followed all the steps for unlocking your iPhone, as listed here?
    http://support.apple.com/kb/HT5014
    If so, did you get the "your iPhone has now been unlocked" message after you restored the iPhone?

  • Long mode not supported during import Oracle solaris 11 for vritual Box...

    Hello buddy,
    I try to import Oracle solaris 11 into Oracle vritual Box. but it shows ''Long mode not supported,Rebooting ....". Then reboot again and again..
    what is going on ? My PC is WinXP 32bit.
    Thanks

    user1934450 wrote:
    Hello buddy,
    I try to import Oracle solaris 11 into Oracle vritual Box. but it shows ''Long mode not supported,Rebooting ....". Then reboot again and again..
    what is going on ? My PC is *WinXP 32bit* .
    ThanksUse the forum search function before typing a new question.
    You might find that whatever you want to ask is already discussed in the forum.
    Then you won't have to make a post.
    Your question has indeed already been asked a few times, and recently.
    Take a look at the search results.

  • Sun Cluster & 6130/6140 thru switch with cross-connections not supported?

    Hi:
    I noticed that the 6140 does not support cross-connecting the 2 controllers to 2 switches for higher availability when using Sun Cluster:
    http://docs.sun.com/source/819-7497-10/chapter3.html
    Does anyone know why this restriction is there?
    Thanks!

    Since there was no real answer to the question in this forum, I cross posted this issue to the cluster forum.
    See http://forum.java.sun.com/thread.jspa?threadID=5261282&tstart=0 for the full thread.
    Basically, the restriction against cross-connections is no longer valid and the documentation should be updated to remove the note.
    This is all a good thing, because I had my 6140's wired into my sun cluster environment via the 'cross-connections' method diagramed in figure 3-4. :-)

  • Background Job Finishing with Database system not supporting

    Hi All,
    When i am running the RSCOLL00 program its executes all the programs and finally it says DataBase system not supporting.
    And i am not getting any dumps.
    Due to this in ST03N i could nt able to find the data for the present day and also last minutes load.
    Please guide me.
    Thanks,
    Mahesh

    Hi Kaushik,
    here is the log
    Job started
    Step 001 started (program RSCOLL00, variant , user ID HOUSEKEEPING)
    Clean_Plan:Cleanup of DB13 Plannings
    Clean_Plan:started by RSDBPREV on server tcs050983
    Clean_Plan:Cleaning up jobs of system PI7
    Clean_Plan:finished
    Database system not supported
    Job finished
    Thanks,
    Mahesh

  • Application Parameter not reflected in Transaction Iview.

    Hi All,
    I have a requirement where i have to create the Transaction Iview for the Report which is created using the Report Writer.
    When i am giving the application parameter to it. It is not being reflected in the Portal.
    Also when i cross checked with the any Z Report its taking the application parameter and executing successfully.
    So is there any other settings for the Report which are created usng SAP Report Writer.
    If anybody has done this type of Iview then tell me .
    Regards,
    Dhruv Shah

    Dhruv,
    check this thread
    https://forums.sdn.sap.com/click.jspa?searchID=17849404&messageID=6257633
    Thanks
    Bala Duvvuri

  • Cameras with European names not supported!!!!

    I don't have my copy of aperture yet, however I have been reading some of the posts to get ready. As I understood the raw support is build into MacOS, so if you can open a raw files in Preview or iPhoto that particular raw format will also work with Aperture. I was happy to know that apple had just included .MRW (raw for Konica-Minolta 7D) in the last release of Tiger (10.4.3). To my great disappointment however I see that i cannot open .MRW files in Preview nor in iPhoto. So I investigated a little further and found out that people in the US can open the files with no problem. Apparently the issue is the camera name: Maxxum 7D in the US and Dynax D7 in Europe. The same thing is true for Canon for the European version of EOS Digital Rebel XT, the EOS 350D. For Canon a fix has been posted (http://minimal.cx/2005/11/01/make-os-x-1043-understand-canon-eos-350d-raw-files/), but unfortunately nothing for Konica-Minolta. I hope Apple will immediately address this issue, or somebody will come up with a fix.

    The issue is indeed just the camera name !!!
    The .MRW raw files from my Konica Minolta Dynax 7D were not recognized by either Preview or iPhoto, while in the US owners of Konica Minolta Maxxum 7D (exactly the same camera) could open them.
    I edited the Raw.plist in the folder /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources with text edit. All I had to do was to duplicate the listings for the MINOLTA-MAXXUM 7D and change the name of the camera to MINOLTA-DYNAX 7D. Now I can open the .MRW files with no problems and they look fine. I assume they should now work also in Aperture.

Maybe you are looking for

  • Decimal  values for a field in ALV

    Hi, I created an ALV report. It has a field which will display the calculated value as '103,839,389'. This should be dispalyed as '103,839,389.00' with decimal value, I mean with 2 decimal places, how can this be achieved? Thanks, Kumar

  • Help required in upgrading from 8.1.5 to 8.1.7

    We are having our application running on forms 4.5 and oracle 8.1.5 on winNT and Win2k. Now for the time being we want to upgrade to oracle 8.1.7, for that I need all steps to be performed, can any one help me? Pls!!!

  • Apple application support version 1.4.1 is installed error

    I keep getting this error when I attempt to open itunes after upgrading to the latest version. 10.1.1 Apple application support version 1.4.1 is installed, itunes requires apple application support version 1.3.2 or later Does anyone know what to do a

  • IMAP server times out, Why?

    For 6 days now I have been having a problem acesssing my sites and email accounts. Finally the hosting company has found that it is the number of email accounts (49) trying to access the IMAP mail server at the same time? I have disable automatic "ch

  • Hyperlink Symbol in pictures with Hyperlink activated

    When I enable a picture as a hyperlink on the bottom right hand corner of the picture the little blue curved arrow "hyperlink symbol" appears. This only happens for some of the pictures I have enabled as hyperlinks and it doesn't matter if it is for