How to disable cache implementation in 8.1 SP6 for entity beans

How to disable cache implementation in 8.1 SP6 for entity beans
In our production environment, we want to disable cache implementation for entity beans. We are using weblogic 8.1 SP6.
Weblogic cache implementation has been causing many cachefull exceptions so we want that it fetches the data from database everytime instead of cache.

Check the "max-beans-in-cache" setting in your weblogic-ejb-jar.xml. The cache full exception, means that a new bean could not be created because of this cache being full.
Nothing to do with fetching from the database directly.
If you really want direct fetches then do not use beans at all. Consider using direct JDCB/SQL calls (without a entity bean) to fetch huge data.
Let's again review your application based on the below explanation before making a decision on which configuration change to perform:
If you truly have many ejbs simultaneously enrolled in transactions, then yes, the cache must be big enough to hold all the instances.
Your cache must have a max size large enough to handle your peak simultaneous transaction load.
Also, try to ask the following query to your application developer. Does every user actually have to have more than one bean in the cache ? Are many of these values read-only reference values that are not updated ?
SOLUTION CHOICE:
1. If you are testing with more number of users simultaneously, then you will need to increase the "max-beans-in-cache" setting in your weblogic-ejb-jar.xml to match the load.
2. If you have few users but still seeing a lot of beans, then consult with your application developer and try to ask the above questions (Does every user have more than......) and based on that try to redesign/tune your application to make it an effective Entity bean model.
3. If you have queries where huge result sets are returned, consider using plain/direct JDB/SQL calls.
Arun

Similar Messages

  • How to disable cache for a particular Report in obiee 10g?

    HI
    My name is Rani .Learning obiee10g ifaced 1 interview in that they asked me like how u disable cache for a particular report?

    In the advanced tab of the report, under prefix you need to mention:
    SET VARIABLE DISABLE_CACHE_HIT=1;
    Refer below link
    http://tipsonobiee.blogspot.com/2009/06/step-by-step-to-bypass-all-caches.html
    Thanks

  • How to Disable caching of all SSL pages?

    May anyone can help me, how to Disable caching of all SSL pages in an web application?
    Thanks in advance.
    Balamurugan.K

    sabre150 wrote:
    kajbj wrote:
    It doesn't matter that you are using SSL if I understood your question correctly. I'm not certain but I think it does matter. As I understand it, no SSL/HTTPS pages should be cached since this could represent a security weakness. I was a bit vague. I meant that it doesn't matter what he is using under the hood since he isn't doing any "programming" if he's only serving pages. Everything should be related to configuring the server correctly, and/or using the correct header directives (not sure since I'm not a web developer)

  • How to disable the status icon in Skype 4 for Andr...

    Dear Skypers,
    How to disable the status icon in Skype 4 for Android phones?
    The guide on this following support page not working anymore: https://support.skype.com/en/faq/FA12359/how-do-i-enable-or-disable-the-status-icon-in-skype-4-for-a...
    Older version has the option to disable Skype Status and get rid of the Skype icon on Android status bar. But latest 4.4.0.31835 could not disable Skype Status in notifications settings. :/
    Device: Google Nexus 4
    Android: 4.3 JWR66Y
    Skype: 4.4.0.31835
    Please bring back the option to disable the Skype icon on Android status bar. This is the main reason I uninstall Skype. :/
    Kudos to the team, the apps is really smooth and fluid to use. Would be nice if you guys are following the Android Design Principles and using Google Cloud Messaging for push notification to improve User Experience and battery life.
    Kind regards,
    /chrone
    everytime i get ahead, i feel more dead.
    Solved!
    Go to Solution.
    Attachments:
    how to get rid of skype icon on android status bar.png ‏46 KB

    Long click on this notification a sub menu having field "App info" would appear goto App Info. You can goto there by "Manage Apps">"Skype" also. 
    Uncheck Option "Show Notifications" A dialog will open. Don't worry about notifications for now just click OK. Now the notification icon skype has also been removed. 
    Now simply check "Show notification again". After doing this you would get notifications but skype icon would not be shown in the status bar anymore.
    Issue: this is just a trick you need to repeat this every time sign out and sign in again. Mostly you don't do that so no need to worry.

  • How to disable the validity of a particular Role for 100 users, in a single

    Hi
    How to disable the validity of a particular Role
    which is assigned to 100 users. (disabling the role of change the validity of the role )
    at present am doing manually, by entering into each user and changing the validity of the role
    Thanks.

    > How to disable the validity of a particular Role for 100 users, in a single ...
    ... shot?
    Assign a reference user to the 100+ users and create events in the factory calendar which assigns and removes the role from the reference user only.
    The downside is that it is not scalable for many of the same concepts at the same time, because a dialog user can at one logon time only have one reference user assigned to them.
    Cheers,
    Julius

  • How to disable chanllenging questions while user log in for first time

    Hi All,
    How to disable challenging questions while user log in for first time in OIM 10g and OIM 11g
    also i need to know how to change the Oracle logo with custom logo in both versions

    In 11G:
    To disable challenge questions at start up: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e14308/system_props.htm#BABBDCJH (System Property Named: "Force to set question at start up)
    To change logo: http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/uicust.htm#CHDIFJEJ
    In 10G:
    Dig the documentation.
    A suggestion, please go through the documents first as they have quite a bit of information.
    HTH,
    BB

  • How set diff. timeouts for entity beans?

    How do i set diff. timeouts for diff. entity beans? Is it in the ejb-jar.xml file? Is this refreshed every time it is accesses?

    Hi there,
    Although not familiar with all of the App servers on the market, I'd say that you are unlikely to find a timeout value for Entity Beans. Passivation of Entity beans is normally a function of the commit options supported by a specific App server. For example, with Commit Option C an entity bean instance should always be returned to the instance pool after a transaction has completed. You can find details of the various commit options in the EJB specification which you can view or download from:
    http://java.sun.com/products/ejb/docs.html
    Hope this helps
    Amanda
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers

  • How to disable cache for a single query ?

    Hello BW Experts,
    I am running a Bex query. since the cache is not getting cleared it shows me wrong results. how to disable the cache settings for a single query ?
    are these settings different if you are running query using a web template..
    Please suggest.
    Thanks,
    BWer

    check also this post:
    Re: Query cache question

  • How to disable caching for pcui applications

    Somehow the PCUI applications are cached and when we go to some opportunity and come back to the previous one,
    we can still see the changed data which is not actually saved to the Box but if we refresh the page it will go off.
    If we click on save, and if it has some error ,it wont save the opportunity but the changed data remains in the page something like Work protect in Portal.Couldnt find any options in portal and disabling cache for Iview didnt help.How can we disable the PCUI or Sever cache so that the unsaved data goes off..
    George

    Hello George,
    This can be done in two ways, one you can use transaction CRM_BSP_STATE_
    ERASE and delete all the previous states.
    Otherwise please append crm_bsp_restore=FALSE in the URL. This is
    explained in SAP Cookbook. Please have a look at the same. Kindly let
    me know for more information on the same.
    This issue  happens
    because of state manager which saves the state for individual
    application and individual user . This can be switched off by adding
    a URL parameter "CRM_BSP_RESTORE=FALSE" in the query string.
    Kindly please reffer the cook book for further  detail.
    Can you please try this & check if this helps.
    Thanks & Regards,
    Bhavya

  • How to Disable cache for an especific Site??

    How i can disable in the CE 507 the Cache for one Web Site???

    The reply at the link says to configure a rule for "no-cache". This will not prevent the CE from making the request, it only tells the CE to not Cache it.
    Reading the question, I am not sure of exactly what the request is, but if the goal is to have the client go directly to the server, there are multiple ways to do this.
    If you want the client to make the connection to the site, you can you a redirect list on the WCCP router
    In the following example, traffic to 172.18.124.193 will not be redirected to the CE, but will go directly to the server.
    router# configure terminal
    router(config)# ip wccp web-cache redirect-list 120
    router(config)# access-list 120 deny ip any host 172.18.124.193
    router(config)# access-list 120 permit ip any any
    Or, you can create a static bypass entry on the CE using the bypass command. Bypass, like the router redirect list, requires the use of WCCP.

  • How to disable cache of Ink Signature.

    Is there a setting in Acrobat / Acrobat Reader XI that will prevent the ink signature from being cached?
    Explanation:
    If I select 'Place Signature' from the reader 'Sign' toolbar, then select 'Draw My Signature', accept and place the signature...
    This 'ink' signature is now cached / saved, and can be reapplied..
    I need to disable this functionality, so that the ink signature is no longer cached..

    Nope.. as you can see, you are the only one to reply...
    I did notice since that there is a dropdown menu next to the 'place signature', with a menu item to clear the signature.
    I was going to investigate executing that menu item somehow..  Haven't gotten back to it yet though..
    Please let me know if you figure something out..
    Cheers!

  • Q: How to disable cache for a single portlet ?

    Due to performance reasons I need to set the full page cache. But I have just one custom portlet on the home tab page which will count the logins. But the cache will prevent this portlet from getting the right value out of the DB. It would be pretty sad when I have to disable the full page cache because of this single portlet. I know that there's a way to set cache calls on portlet level. Can anyone shed a light on it. Thanks.

    Hi Amjad,
    I want to remove cache completely for a portlet. Is there any easy way of doing this. I tried to disable from Administer --> Cache. No luck.
    I want to load the page every time from server. Please help me.
    Thanks
    Satyapal

  • How To Disable Caching Of Workspace Name

    Hello Everyone.
    I have an issue that I suspect many others have also encountered. However, searching through this Forum and on the web has not gleaned any solution.
    Here's the situation.
    I have an IE browser open to my Apex application workspace. If I now open a second IE browser (note: I do not mean simply opening up a new tab in the first browser but, rather, opening up an entirely new IE browser window) and proceed to log into a different workspace, I find that my first browser has automatically logged me out of the original workspace.
    This is frustrating. During development, I'm often wanting to open browsers into several different workspaces so that I can compare what I've done or copy/paste from one workspace into another. As soon as I log into a different workspace in one browser, all of the other browser windows automatically log me out.
    I am seeing this behavior in both IE8 and IE9. I also see the same thing if I have two or more Firefox (latest version: 4) browsers open, each into a different workspace. I've not tried with any other browsers (Opera, etc.).
    I've looked at the IE (and Firefox) "Internet Options" and do not see anything that would account for this.
    Is this behavior something that can be controlled from within Apex itself or is there some browser setting I need to set to prevent this?
    Thank you for any help/advice.
    Elie

    Hello, again, Varad.
    Again, you've come to my aid, and I'm grateful.
    I was not aware of that Firefox article. I read through it. All I can say is that it seems alot to do to achieve the same functionality that IE8/9 already provides.
    Perhaps I'm misinderstanding, but the article implies that one must create profiles for the number of different (in this case) Apex workspaces I intend on using, as if I must set this up prior to doing any development work. In IE, however, there is no required setup. Just click the "File -> New Session" option and I have a new IE browser with no concern of caching my previous session id. Seems much more flexible and easy.
    Still, I'll give it a go and see how it works.
    Thank you so much for your kind help. It's much appreciated.
    Elie

  • How to disable cache for the Dashbaord Prompt in OBIEE11G

    Hi Friends,
    I have a write back table with column a,b,c,d in the OBIEE. I am using column c as dashboard prompt for this report. I want to by pass the cache for the report as well as Prompt. I followed the following blog
    http://tipsonobiee.blogspot.com/2009/06/step-by-step-to-bypass-all-caches.html
    I was successful in bypassing the report cache...
    Its not working for dashbaord prompt... Let me know if you have any other ways to achieve this.
    Thanks
    Venkat

    Try to convert the prompt as SQL and use the same
    set variable DISABLE_CACHE_HIT=1 followed by your prompt query at 2nd line.
    ex: SET VARIABLE DISABLE_CACHE_HIT=1;SELECT Year FROM Day
    If helps mark
    Edited by: Srini VEERAVALLI on Apr 8, 2013 11:20 AM

  • How to disable caching of scheduling options in advance scheduler form

    IN Field Service module, we can schedule tasks from dispatch Center from through advance scheduler.
    Form name - CSFDCMAI (12.0.89.12010000.143)
    In Advance Scheduler the search criteria for a resource within the Schedule Task UI are cached until a new session of Dispatch Center is invoked. Therefore the Schedule Task UI qualifiers on the “Preferences” tab seem to change and are not consistent with the Default Scheduler Rules when scheduling because the UI retains whatever was last selected within the session of the form.
    My requirement is that Default Scheduler Rules that are set in Scheduler Rule Configurator to be applied every time the Schedule Task UI is invoked.

    Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>Announcement: Forums Etiquette / Reward Points
    </ul>
    This forum is for general Oracle Forms questions. Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
    Thanks,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

Maybe you are looking for

  • A question of BAPI_BILLINGDOC_CREATEMULTIPLE

    i have BAPI_BILLINGDOC_CREATEMULTIPLE working OK with this code: wa_vbrk-ref_doc = '0010001318'. wa_vbrk-ref_item = '000010'. wa_vbrk-ref_doc_ca = 'C'. wa_vbrk-bill_date = sy-datum. APPEND wa_vbrk . wa_text-ref_doc = '0010001318'. wa_text-ref_item =

  • XSL indentation help

    Hi everybody, I managed to pass a .xsl file to my method that writes out the DOM in a xml file. For the moment it just prints out the nodes in different lines (instead of writing them in one eternal line) with this code: <xsl:stylesheet xmlns:xsl="ht

  • Error while Reversal of Accrual/ reversal document number using F.81

    The document that has been created using FBS1 has to be reversed using F.81. However this doc does not get reversed and it comes under Documents that cannot be reversed heading. This is the error: KI 806: Transaction CO through-postings from FI has b

  • How to use the Oracle 10g JDBC OCI driver in JBoss ?

    Greetings, I deployed ojdbc14.jar in JBoss and I created an Oracle datasource. I have the following questions: 1. In the datasource descriptor file I have: <connection-url>jdbc:oracle:oci:@(description=(address=(host=localhost)(protocol=tcp)(port=152

  • IChat won't keep me logged in

    its kind of strange... all of the messaging programs don't stay logged in or stop recieving messages every 10 minutes or so