Top Essentials Cache and Multiple Application Servers

Hello,
I'm developing a new servlets/services application in Java using tomcat and playing around with toplink essentials. Is it possible, when using multiple servers, to expire cached objects? Eg I update user account info on server 1, but 2 and 3 still have old data. The documentation and blogs I have read seem to indicate you either have to force a refresh of the object or set up readAllQueries to go direct to the db (which rather defeats the purpose of having a cache?) - for fresh data. Though I agree there are some places where up to the moment data is not always required, building a system to scale with expiry caching across multiple app servers seems like something toplink essentials SHOULD be able to do.
Also, is there any work on when the new rev of Toplink Essentials would be out? I see posts about the 11G preview but that's regular toplink.
Thanks in advance!

There are several caching options in TopLink Essentials to handle stale data.
<p>
Some of the settings are available through properties in the persistence.xml, but for most you will need to use a DescriptorCustomizer or SessionCustomizer and use the API of ClassDescriptor (refer to JavaDocs for additional info).
<p>
Caching options include:
<p>- Cache Type : (weak, hard, soft, none), a weak cache will decrease stale data.
<p>- Isolated (shared) : You can set the descriptor to be isolated or cache not shared to avoid caching the class.
<p>- Refresh : You can enable refreshing at the class or query level.
<p>
A ClassDescriptor does have an invalidation policy, but the policies for invalidating based on a time-to-live or time-of-day were not ported from TopLink to TopLink Essentials, however you could write your own pretty easily.
<p>
If you upgrade to using TopLink 11g (preview), which you can download and use under the Oracle OTN license, then you have support for using cache invalidation and cache coordination. This functionality is also available in the Eclipse EclipseLink project currently in incubation.
<p>
<p>---
<p>James Sutherland

Similar Messages

  • R12.1.3 Upgrade from 11.5.10 and having multiple Application Servers

    Hi,
    We are in the process of upgrading the 11.5.10 Instance to R12.1.3.
    The 12.1.3 Instance will have multiple application servers.
    I will be doing an R12.1.1 Installation with Upgrade Option.
    What should be the procedure to have multiple application servers?
    Finish the upgrade on one Application Node and then clone the other Application Tiers?
    Please advise.
    Regards,
    VN

    We are in the process of upgrading the 11.5.10 Instance to R12.1.3.
    The 12.1.3 Instance will have multiple application servers.What services are running on each server?
    Do you have shared APPL_TOP or shared application file system implemented?
    I will be doing an R12.1.1 Installation with Upgrade Option.
    What should be the procedure to have multiple application servers?
    Finish the upgrade on one Application Node and then clone the other Application Tiers?
    Please advise.Please see Chapter 3, Performing an Upgrade in the installation doc, there is an example.
    Oracle E-Business Suite Installation Guide: Using Rapid Install
    http://docs.oracle.com/cd/B53825_08/current/acrobat/121oaig.pdf
    Thanks,
    Hussein

  • Session cleanup issue with multiple Application servers

    Hi ,
    I am facing a strange problem with multiple application servers. The java Webdynro session does not get cleaned up completely when user closes the browser ( without using logoff ). On re-login it gets handle of old session and then fails for consecutive view on other webdynpro iviews with an invalid session error. It again starts working with a refresh event.
    Any ideas/suggestion if you have seen something similar before ?
    Thanks and regards,
    Amit.

    Hi Amit
    It seems that issues is not server related, but caused by your client browser. I know, for example, that IE8.0 keeps user session even if two separate browser instances opened on the same client machine. IE 7.0 and lower behave differently - they are separate user sessions per browser instance.
    BR, Siarhei

  • Starting multiple application servers

    We have 4.7 system has 2 application servers as "sap1" and "sap2" installed in different Unix servers.
    I would like to start "sap1" first and "sap2" next. Is there any standard script for starting multiple application servers in a sequence. We have problem, when restarting servers after weekly off-line backup. Should we go for customised Unix shell scripting?.
    Thanks,
    Sam

    #!/bin/sh
    SYSID=ABC
    STARTSCRIPT="/sapmnt/$SYSID/exe/startsap"
    start the Central Instance (CI)
    $
    start AppServers
    remsh <app server> -n startsap <Instance name>
    stopscript
    #!/bin/sh
    SYSID=ABC
      Stop all app servers and the database.
    stop AppServers
    remsh <hostname> -n stopsap <instance name>
    stop central instance
    /sapmnt/$SYSID/exe/stopsap
    Thanks,
    Tanuj

  • How to configure single web server instance to multiple application servers..

    Hi all,
    we are running single instance of IWS6.0 SP2 on solaris, we want to comfigure this single instance to multiple application servers(JRun). Can any one advise me whether it is possible to do.
    Thanks
    Raj

    Hi Raj,
    "how to configure single web server instance to multiple application servers.."
    It's not possible for setting up multiple applicataion servers for Single iWS instance.
    Thanks,
    Dakshin.

  • WebDynpro Notification Service with multiple Application Servers

    Hello Experts,
    I am currently working on a project where I have to integrate a BSP Application into a new Web Dynpro ABAP Application. On the BSP Page it is possible to edit some details (for example for a customer).
    When the user start to work on the BSP Page, the Web Dynpro Page should prohibit the navigation (i.e. disable all links). After Saving the BSP page, the navigation lock is released and the Web Dynpro reloads some data, which were changed from the BSP Page.
    I have a NetWeaver 7.02 so I decided to use Shared Objects and the new Web Dynpro Notification Service to realize the given requirements. On the development system everything worked fine. The Notification Service was called and it took about 2 Seconds until the Web Dynpro Application updated.
    But we got serious problems on the testmachine, which uses a Web Dispatcher and two application servers. After some research we managed that the application is running, and works.
    But the Notification Service takes now up to 1 Minute until it fires the registered actions. And I good frequently an ASSERTION_FAILED from the method CL_WDR_NOTIFICATION=>ATTACH_FOR_READ in the ST22 as long as the application is running.
    Can anybody help me how to solve this issue. It is a real blocker for the project.
    If there is another way to establish eventing between Web Dynpro and BSP I would also go for another solution. But I don't think there are many other possibilities (SAP Portal and NWBC are no options - Maybe the new Web Dynpro PageBuilder?).
    Best Regards
    Daniel

    Hello Guys,
    we decided to do a workaround for the moment. We use a refresh button on the Web Dynpro screen. That is not very nice, but sufficient for the moment.
    Anyway: I am still interessted in the BSP-Web Dynpro Interaction Issue. So if somebody has any ideas, please let me know.
    @PageBuilder: Currently the page builder does not work on the system, because of an 403 - Error when I try to call the Application-Configurator (the SICF service is active). But I will try this also as soon as this problem is solved.
    Best regards
    Daniel

  • WLC 4400 and multiple authentication servers e.g. RADIUS, ACS

    WLC 4400 and multiple authentication servers e.g. RADIUS, ACS
    Can the WCL 4400 be set up to use multiple RADIUS servers? The user accounts for accessing wireless would use a RADIUS server. The administrative accounts for the WLC would reside on an ACS server.

    Yes, that is correct. You can set acs to use both radius and tacacs.
    For this you need to add WLC twice in acs-->network configuration. But you need to keep host name different.
    eg 1) Host name WLC --->IP x.x.x.x -->Auth using -->radius
    2) Host name WLC1--->IP x.x.x.x --->Auth using -->Tacacs.
    You need to set up tacacs commands on WLC along with radius commands.
    Regards,
    ~JG
    Please rate helpful posts

  • Check SITSPMON at multiple application servers at once

    Dear Sirs,
    we are in a setting with close to 10 application servers. To the memory consumption and current status on my system, I need to check SITSMON on every application server.
    Is there an easy way to get a STISPMON like (e.g watch memory) on all the application servers in one go?
    best regards,
    Jørgen

    Dear Jørgen,
    at the moment we do not have an easy way to monitor more than one application server  within SITSPMON. I am the developer of SITSPMON and happy to read your question. I do agree in your wish to have a feature like this.
    How to implement? I would suggest to provide an additional check box in the dialog panes for
    *the memory staistics,
    *the HTML templates cache directory, and
    *the Mutex lock statistics.
    This checkbox allows to switch between 'system' and 'application server mode' checking it will result in an enhaced table, containing an additional column for the appl server...
    Do you agree? Better ideas? If this fits to your  requirement, I will implement this. And ideas are welcome always.
    BTW: Did you already check the CCMS? There a technical experts monitor for the internal ITS. This might be helpful four you.
    best regards
    Tobias

  • Issue of multiple Application servers

    I have a report which submits 5 reports(with Return
    ) inside it. Now if I have multiple application server then I do not know which server the job will get submitted and currently in my landscape the synchronisation time between the servers is 2 mins. Problem is some of my subsequent reports is dependent on the prev one and due to this if next report is getting called in diff application server before the sync then it is failing.
    I have thought about open job and close job while submitting reports because in open job FM you can specify server but then I need to wait in main program till the report finishes. 
    Is there any solution more elegant ? or am I missing something ?
    Regards
    Somnath

    Create 5 different jobs for all 5 different programs through JOB_OPEN, SUBMIT, JOB_CLOSE FM.
    You can set the start date / time for the first job.
    For the all rest jobs you can make them dependent on its predecessor job's status.
    You can use the parameter PRED_JOBNAME and PRED_JOBCOUNT of the JOB_CLOSE FM to set the predecessor job. You can set the PREDJOB_CHECKSTAT to make it state dependent.
    Regards,
    Naimesh Patel

  • Multiple Application Servers - Same class instance

    Hi,
    Due to increasing load we have to add multiple Web Servers and Application Servers (custom built) for our Web Application.
    As currently we are using 'synchronized' for adding and releasing connection in ConnectionPool and also using static in several other classes - we have to make these few classes single instance across the application servers.
    We are using iPlanet 6.0 for Win 2000. Is there any way we can direct specific classes for a single instance. Please provide me with all sorts of alternatives.
    Thanks a lot,
    Suman Biswas

    Hi,
    Yes, we have different JVMs. Different JVM means different processes,now there can be two cases,these process running on same machines
    or on different machines.If it is in different machines then undoubtly you require to go for the Distributed Technology(RMI for java).
    As we have couple of classes which are using
    'synchronized' - cann't we use centralized classes for
    these couple of classes to maintain integrity?Yes you can do it,now this centralized class should be available in common place from where your all applications can get results,and for avoiding the data corruption your require to go for synchronized(if some global variables) block,since the same instance will be serving all the requests.
    When you say RMI - my question is how the commercial products handle these kind of issues while they are in multiple servers?I have created some application using RMI but not the same one which you had specified.I had used it for different purpose.
    vicky

  • Broadcasting with Multiple Application Servers

    Hi, If I schedule a query broadcast to fill olap cache and I have multiple production servers which App server(s) will get the cache filled?  What ever server the broadcast job runs on?
    If anyone can give some insight it is greatly appreciated.
    Thanks,
    Ken Murray

    1. If the OLAP cache is set to main memory than the OLAP Cache only gets created on the server in which it is run? So if I have 4 servers with load balancing then it is possible for the next 3 people who run the query to not benefit from the initial OLAP Cache created.
    <i>--> Next 3 people will benefit only if they log in to the same server, if cache was created in app server 1 and next 3 login to app server 2, 3 and 4 they wont hit the cache from app server 1.</i>
    2. If I change it to BLOB than any of the query runs on any server would access the initial OLAP Cache Entry that was created?
    <i>--> Yes.</i>
    3. Where is this BLOB Cached created and made available from? The DB Server or on 1 of the APP Servers?
    <i>--> DB Server</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/00/241da12ef84f40bb6ecd3ae73d8b58/content.htm
    4. If SAP can make BLOB Cache available to all servers then why couldn't they make Main Memory Cache available to all servers?
    <i>Main memory is specfic to a server like how you have RAM for your PC, this is not accessible by other system. BLOB is Database and can be accessed by multiple systems.</i>
    Thanks.

  • Use Redis Cache for Multiple Applications

    Hi,
    I did some searches and could not come up with a straight forward answer so I am hoping someone here can clarify this for me.
    We have two different products that we have built in .NET that we host in Azure as websites. For each of these two products we have multiple clients. Each product and client pair has its own SQL database and its own website setup in Azure.
    We would like to start using Redis Cache for the session of these products. Do I need to:
    1) Create 1 Redis Cache and use it for all clients / products?
    2) Create 2 Redis Caches and use one per product (redis caches needed = # of products)?
    3) Create an individual Redis cache for each client / product pair (redis caches needed = # of products x # of clients)?

    You can do either of the above. It would really depend on how much load are you expecting on the Cache
    For separation and load balancing it might be better to have a Cache per Website
    For a Cache to be useful it should be closer to the Web tier, so ensure that you provision the Cache in the same region as the Website.

  • Load balancing across multiple application servers not working with JCo RFC

    We have a problem where inbound messages to the Mapping Runtime engine (ABAP -> J2EE) are not load balanced over application servers. However, load balancing does take place across server nodes within one application server.
    Our system comprises of the following:
    Central Instance (2 X server nodes)
    Database Instance
    2 X Dialog Instances (with 2 X server nodes each)
    The 1st application server that starts is usually the one that is used for inbound messaging.
    We have looked at the sap gateway configuration and have tried various options without much luck:
    i.e.: local gateways vs. one central gateway, load balancing type by changing parameter gw/reg_lb_level, see: http://help.sap.com/saphelp_nw70/helpdata/EN/bb/9f12f24b9b11d189750000e8322d00/frameset.htm
    Here are our release levels:
    SAP_ABA     700     0012     SAPKA70012
    SAP_BASIS     700     0012     SAPKB70012
    PI_BASIS     2005_1_700     0012     SAPKIPYJ7C
    ST-PI     2005_1_700     0005     SAPKITLQI5
    SAP_BW     700     0013     SAPKW70013
    ST-A/PI     01J_BCO700     0000          -
    Any help would be greatly appreciated.
    Many thanks

    Tim
    Did you follow the guide here:
    How to Scale Up SAP Exchange Infrastructure 3.0  
    Learn what the most likely scaled system architecture looks like, and read about a step by step procedure to install additional dialog instances. The guide also walks you through additional configuration steps and the application of Support Package Stacks.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c3d9d710-0d01-0010-7486-9a51ab92b927
    We followed this guide for XI3.0 and PI7.0 and works successfully!

  • Mail Adapter - Multiple mail ID and multiple mail servers config.

    Hi All
    I am doing BPM synch scenario in which i get the response from SAP box and send the response via email adapter. I am using mail.xsd and doing mail config. in message mapping. However in the TO field i am able to give only one email ID. If i give multiple email ID's mail is not received. I tried comma and semi-colon as separator. Still not working? I have two questions in configuring TO option:
    1) How to send to multiple id's? I am using Lotus Notes.
    2)How to send to multiple mail servers? I have to send to Lotus Notes id's and outlook express id's also simultaneously.
    Thanks for your help in advance
    Warm Regards
    Samuel

    Hi,
    Please find here with some observations about it,
    1) How to send to multiple id's? I am using Lotus Notes.
    If you have specified an IMAP server under URL, the message is saved in the specified folder but is not sent to the receiver specified under To.
    Then even if Under To, you had specified the e-mail address that will receive the message would be separated with a semicolon. It will not work.
    Please verify about it .
    The below link will also help you to verify if there is anything missing
    Mail Adapter (XI) - how to implement dynamic mail address
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    BPM:Single Sender and Multiple Receivers based on synchronous
    exchange(switch) part-1
    /people/prasadbabu.nemalikanti3/blog/2006/03/10/bpmsingle-sender-and-multiple-receivers-based-on-synchronous-exchangeswitch-part-1
    Generic Message Interface in SAP Exchange Infrastructure Email Integration Scenarios
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00d5a235-4803-2a10-f682-889d67c69975
    (If your using Alert Framework then)
    If you want to send it to multiple email addresses and all email addresses are user of XI then you can define "Role" and attach that role to everyuser and make this role as receipent of alert .
    Thanks
    Swarup
    Thanks
    Swarup

  • 7.10 installation server, load balancing and multiple installation servers

    Hi
    In the 7.10 GUI installation server, there is no Load balancing option anamore, also there seems to be no option to easily clone the installation server from within the nwsapsetupadmin.exe program.
    If having MANY users at one location, and needing more than one installation server to accomodate the frontend installations, do you need to do this "manually" now ? grouping users and and the logon script directing different user groups to different sapgui installation servers ?
    what about creating multiple installation servers easily, is it possible to simply copy the installation server directory (c:\sapinst f.ex.) to another file server, share the directory and configure the DS and IS services (if needed) ??
    will configured packages and "on end install" scripts and such be copied too to the new installation server ?
    I need to easily create installation servers in 15 countries, this is the reason for my question...

    Hi Kim Sonny,
    hope you're doing fine
    Regarding your question:
    The "Load Balancing" was more a fail-over service and wasn't intended to use for several locations like in your case.
    So the easiest way to do this is to setup one installation server and copy the files to the other servers. On the new Installation servers you only have to setup the service again and that's it.
    Cheers,
    Martin

Maybe you are looking for

  • Can't get rid of old screen name in iChat

    when I first got my iMac a couple years ago, I was experimenting with the apps, including iChat. In iChat, I setup an account using a screen name that I no longer want to use, but when I try logging into iChat using the AIM account with the screen na

  • AirPlay & Mountain Lion

    I have the full set of Apple products. iPad 2, iPhone 4 (x2), iPod Nano, Shuffle and Touch and iMac. I have decided to upgrade to Mountain Lion and then I purchased the Apple TV for watching the olimpics through the internet. Can someone within Apple

  • Intel/PowerPC and Sharing ...

    I just added an Intel Mac to my collection and I hooked my iMac to it to migrate and it didn't work. When I came here to do research everywhere I click on Tiger Info including the top of this forum - Leopard comes up on screen. Is Tiger Information s

  • Unable to alter leading is weird

    I am unable to alter leading in any text in a document. I have trashed preferences and checked all settings. I can not adjust leading downwards but when I try above 12ponit it will adjust upwards. The weird thing is it works okay on the pasteboard.

  • In which stores iphone 5 is available now in NY?

    In which stores iphone 5 is available now in NY?