Portal 10 p13n cache

hi,
We are migrating our portal 8.1 application to 10.
i am facing the following issue,
We are using CacheManagerMBean to flush the portal cache in our program.
But it seems in portal 10
'com.bea.p13n.mbeans.CacheManagerMBean' is not available.
Could you tell me how can i manage (flush) the portal cache using the admin mbean in portal 10?
Many thanks,

That information is very old and IMHO mostly wrong.
Read the javadocs on CacheFactory.flush():
[url http://edocs.bea.com/wlp/docs100/javadoc/com/bea/p13n/cache/CacheFactory.html
It does a cluster-wide flush of the cache, removing the key or the whole cache on all nodes of the cluster.
The underlying implementation uses the same multicast that the WLS server nodes use to keep in sync with each other. It is also exactly the same method that all the WLP internals use to keep caches in sync across a cluster.
If it doesn't work for you, then I'm sure support would like to hear why.
-- Dave, WLP Architect

Similar Messages

  • Custom p13n-cache-config.xml

    Trying to implement 5.1 P13N CacheProvider SPI Implementation from link:
    http://docs.oracle.com/cd/E24290_01/coh.371/e22621/wlportal.htm#CHDIFHCD
    In step 2: The p13n-cache-config.xml has been updated with the <default-provider-id>com.tangosol.coherence.weblogic</default-provider-id> line.
    Question:
    How can a custom p13n-cache-config.xml be loaded using a -D command?
    Edited by: user734247 on May 1, 2013 1:28 PM

    Hi,
    The p13n-cache-config.xml needs to changed in each of your WLP application's META-INF directory. Coherence does not need this file but rather the provider configuration in file makes Portal application to start using coherence for p13 caching.
    HTH
    Regards,
    _NJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Portal Drive Cache

    Hi All,
    I have a question about the portal drive cache.
    Portal Drive is a web dav client to connect to your portal content with the windows explorer.
    My problem ist that Portal Drive stores cached data on the c:\-drive, in my environment
    it is C:\Documents and Settings\tfelp4\Local Settings\Application Data\Xythos\cache.
    My requirement is to store the cached files on another drive like d:\, because the c-drive is already full and only
    used for storing pinstallation files.
    Thanks for helping me
    Steve

    Any ideas so far??
    Thanks in advance
    Thomas

  • Invalidating portal page cache

    On a portal page, contents are rendered by portlets using java programs. With page caching on, the entire portal page is cached. Performance is great when users are navigating back to this portal page from other pages.
    Because the portlets hold session context in the application, this portal page is invalid once a user signs out or closes the browser window. The problem is that if this portal page is cached, when the user signs in again portal would present the cached page without going to the portlets to re-establish a new session context.
    What can we do to invalidate the cache of this portal page? We found nothing in the portal to specify any invalidation rules for a portal page. We believe we cannot invalidate the cached portal page from the application.
    Any ideas will be appreciated,
    Chung

    With the following settings:
    1. Portal page caching:
    Cache Page Definition Only
    2. Provider.xml of portlets:
    <pageExpires>20</pageExpires>
    3. Provider registration info:
    Require portal user specific session information. (Option checked)
    we get the following results:
    - When portal user navigates back to the portal page consisting the portlets,
    the page is rendered quickly. It's because provider.xml says portlets are good for 20 minutes.
    - When a user logs out and within 20 minutes logs in again IN A NEW BROWSER WINDOW, a new session id will be used, portal will not use the cached portlets. Hence, requests will be made to the application and a new application session context will be created.
    However, if the user uses the same browser window, then cached portlets will be used. It would encounter the application session timeout error. This restriction might be acceptable to customers.
    We will recommend the above settings to the customer. Please verify that this is a valid solution.

  • Jar for com.bea.p13n.cache.Cache for weblogic 10: where to found it ?

    Hi All,
    Does anybody know which jar contains com.bea.p13n.cache API in Weblogic 10.x ?
    It was in p13n_ejb.jar in Weblogic 8.1.

    Please note the all configuration files are placed at their required locations.
    Thanks,
    Sanjeev

  • Com.bea.p13n.cache any documentation/examples

    I'm looking for some samples or documentation on using the
    com.bea.p13n.cache routines.
    I want to create a global cache for my application.
    Thanks

    its there in server class path,,,, do i need to copy it from server path and paste somewhere else ,,,, and as i searched this jar in my appdoain but didnt found it ... what is the resolution of this issue ,,, its already there in server class path

  • Using P13N Caching Service in Cluster (J2EE Apps)-Not portals

    Problem Statement: We are using the BEA Weblogic 8.1 app server for developing J2EE application in clustred environiment. We are running four managed servers and one admin server. (two managed servers for each hardware Dell 2250). For application performance we are caching some the data (Database Lookup tables and some dynamic data in appication scope). The problem exists with the dynamic data. When we clear the cache for dynamic data it is refreshing only in one instance of managed server. To resolve this problem, implemented the servlet 2.3 feature(HttpAttributeListner). I came to know that very quickly it won't solve the problem. I found interesting paper on BEA edocs. Here is the solution in BEA Portal world.
    http://dev2dev.bea.com/products/wlportal/articles/jiang.jsp
    Since we are not using the portal, is there any workaround to the solution?
    Thanks,
    Chandra

    Hi,
    One thing that can be helpful is to add the references of the JAR files that you are adding as Used DC in the EAR.
    This can be done by adding Library type References in the application-j2ee-engine.xml Deployment descriptor in the EAR project.
    Following link will be helpful: http://help.sap.com/saphelp_nw70/helpdata/EN/83/82814282cfc153e10000000a1550b0/content.htm
    Regards,
    Alka.

  • Clear portal navigation cache from java

    Hi,
    I've written a navigation connector service based on the example in the ep6 pdk. It works fine but if I make changes to its configuration so that some new navigation entries should appear/disappear, it may last up to 2 hours until they show up. I think the portal caches the navigation entries for each user. Is it possible to clear the nav cache  for certain/all users with a java statement?
    thanks in advance,
    Markus

    Hi,
    if you know what you're doing and what the consequences of programming against a not-public API are, you could do the following:
    CacheAccess cacheAccess = CacheAccess.getAccess("prt");
    cacheAccess.invalidate();
    build time dependency:
    compile against j2ee\cluster\dispatcher\bin\ext\com.sap.ip.basecomps\BaseComps.jar
    run time dependency:
    add the SharingReference value SAPJ2EE::library:com.sap.ip.basecomps to your portal component deployment descriptor (dist/PORTAL-INF/portalapp.xml)
    BR, Fabian

  • BI Beans Portal sample cache error

    Hi,
    I have tried to implement the BI Beans Portal sample, I have followed the instructions and everything has worked, however if I try and display a Portlet, I get the message "This view has not been cached yet".
    I have cached all the Dataviews with the UpdateCache class, and can see cached Dataviews in the BI Catalog Explorer.
    Has anyone got this working, or know where I have gone wrong.
    Thanks,
    Jon

    I did resolve this issue, or I should say it resolved itself. It was one of those issues that I didn't change anything and it started working. I found that if I tried to explicitly name the dataviews that I wanted to cache in the java command line caching tool, it had a better chance of working.
    Jon

  • How to clear portal navigation cache

    hi
    How to clear portal navigation cache

    Hi,
    Refer this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/19edcf16474a9798a5681ce4fe4b25/frameset.htm
    EFP: Navigation Caching
    Regards,
    Senthil K.
    [points welcome]

  • Programmatically Delete Portal user Cache

    Hi! I have a problem re-using the "Portal User Profile" portlet to put on my own portal page. It is not able to execute unless i am Portal Administrator (PORTAL). The requirement is that I need to clear the cache for a Particular User.
    <br><br>
    I tweaked the Portal User Profile Portlet and from the "View Source", was able to construct the following HTML and place it in an "HTML Portlet". But when I submit, it doesn't work. Am I missing something...? Any Help is greatly appreciated.
    <br><br>
    Thanks
    Ram
    <br>
    HTML Code
    <head><br>
    <script type="text/javascript">
    function buttonClearCacheSubmit(){
         document.UserProfile.p_username.value=document.UserProfile.username.value;
         document.UserProfile.username.value="";
         document.UserProfile.submit();
    </script>
    </head><br>
    <font style="portlettext1">Clear the cache in Web Cache for User</font><br>
    <form name="UserProfile" method="POST" action="/pls/portal30/portal30.wwsec_app_user_mgr.edit_user" enctype="multipart/form-data"><br>
    <input name="username" type="text" size="30" maxlength="30"><br>
    <input type="button" name="p_request" value="OK" onClick="javascript:buttonClearCacheSubmit()"><br>
    <input type="hidden" name="p_username" value=""><br>
    <input type="hidden" name="p_clearcache value="Y"><br>
    <input type="hidden" name="p_action" value="TAB1"><br>
    <input type="hidden" name="p_back" value="http%3A%2F%2Fhostname.domain%3A7778%2Fportal%2Fpage%3F_pageid%3D428%2C61204%26_dad%3Dportal30%26_schema%3DPORTAL30"><br>
    </form><br>

    I'm glad with this (default) behaviour, although I would have no problems with a cascaded delete as an option.
    We use portal for our intranet site, and a default cascaded delete, would mean that if a worker leaves our company, and therefore his account would be deleted, all his contributions to the intranet would be deleted too.
    Ton

  • Portal 10g cache sucks

    I've been struggling for a whole week now with caching issues on portal 10g (9.0.4 -linux).
    Like other postings in this forum I get pages from another previous session in my browser, and since my portlets are browser dependent, this is very annoying: I get the page on a windows - ie just as the where made on the first visit as konqueror on linux.
    Putting the cache off did not help: I stopped the webcache and the portal cache, same song allover again.
    But for all who is having the same problem, I found a workaround that seems to work (only for own build portlets): I just put an extra parameter on the page (I called it ts - from timestamp) and give it the value of the millisecond the page was made. eg: &ts=20040306232915765, this seems to force the page to be regenerated (since it has a different parameter every time again).
    Note: As I saw in some postings, one suggest to set the browsercache to 'every visit': sorry, you can't expect the whole world visiting your pages to do so!!!

    Leo.
    The browser cache setting for every visit to the page is a mandatory requirement to ensure that the content is managed in a timely and expeditious manner. If the user's browser is caching content then we (and you) cannot control the update of that content, and you will (as you've experienced) end up with stale content.
    The 10g cache does not 'suck'. From the description you have given here, you are implying that you have turned on 'FULL PAGE' caching which causes 2 things to happen, the fully parsed and generated page is stored in the file cache for a specified period of time. The fully parsed and generated page is cached in the user's browser cache for a period of time (specified by you). When using this type of caching even if you clear the file cache you will still retain the cached objects in the browser cache for the stated retention period, only after that period has expired will the content be regenerated.
    The reason the content regenerates when you add a parameter is because this forces the regeneration of a new and differing object (uniquely identified by the URL) which will subsequently be added to the cache.
    If I have not described your scenario, please provide some more details about the types of portlets you have written, the pages they are placed on, and the caching decisions you have taken with regard to those portlets and pages.
    JP

  • Portal cache library

    Hi I use portal cache in wlp1034 in one of my project. there are p13n_ejb and p13n_ejb_base. Which one should I use? Or both? Thanks!

    Perhaps I'm not understanding your question, but the WLP Cache APIs are in com.bea.p13n.cache package.
    Brad

  • Update Portal with new Web Cache location

    Hi!
    We are trying to move our front-end WebCache to a new server. The Web Cache seems to work allright, but I can't get Portal to access the Web Cache.
    After moving the Web Cache I've updated the Portal Web Cache Settings in IAS console's portal:portal instance. OC4J_Portal and portal:portal are running and are not showing any errors in IAS console. When I try to access Web Cache through Portal administrative page i get an error saying WWC-40019 "Could not open web cache connection". The URL Portal uses to access Web Cache admin page i.e. is wrong.
    I need some help finding the appropriate way to configure Portal with the new Web cache addresses.
    Thank you!
    Best regards
    "Heyers"

    Portal PM, I thought you said that this solution would not work. Everyone I have heard so far has said that you cannot configure webcache to work with Portal documents. Does this work or does it not?
    Read the messages below from the bottom up.
    It's not possible to do that today.
    In 9.0.2 (the next release) we will be using WebCache configured out of the box so you won;t need to, however, till then you cannot use webcache with Portal 3.0.x
    Thanks
    Portal PM
    Title : re:Oracle Portal with Oracle Web Cache O/S : N/A POST: REPLY (W/QUOTE)
    Author : Agus Jaelani Type : Question
    Date : Feb 4, 2002 23:11 PT
    please try using this configuration on http.conf
    Port <webcache port>
    Listen <apache listen port>
    ServerName <webcache hostname>
    you must running ssodatan script again.
    Note :
    this config only make portal work together with webcache.
    Title : re:Oracle Portal with Oracle Web Cache O/S : N/A POST: REPLY (W/QUOTE)
    Author : Krzysztof Jungowski Type : Question
    Date : Feb 5, 2002 06:58 PT
    Thanks a lot. It works.
    best regards
    Krzysztof Jungowski

  • Portal Commerce Templates in WLP 8.1?

    Hi;
    Just having a first look around the new WebLogic Platform 8.1, I wanted to
    understand the strategy for developing and deploying e-Commerce websites.
    It seems clear that it should be possible to host an existing WebLogic Portal
    7 SP2 e-Commerce templates based web-site in a new WebLogic Portal 8.1 compatibility
    domain.
    The WLP 7 commerce templates are based on deprecated WebFlow and Pipeline technology
    which is being superseded by PageFlow.
    Will BEA or a partner will be supplying a WLP 7 SP2 Commerce templates style functionality
    based on PageFlow technology for new developments?

    You can use the <wl:cache> tag
    (http://e-docs.bea.com/wls/docs81/jsp/customtags.html#56944) in jsps to
    cache dynamically generated JSP content.
    In other, java-based code you can use the com.bea.p13n.cache.Caches,
    which supports TTLs and external-flushing. See the WLP javadoc.
    Greg
    Manjit wrote:
    I'm looking to cache content in the portlet itself, something like:
    -The banner is cached indefinitely.
    -The headlines are cached for an hour.
    -The weather forecast is cached for six hours.
    -The weather map is cached for a day.
    -The highly-personalized section with the reader's name doesn't get cached at
    all.
    When a visitor requests a page, construct only those portlets that are not cached.
    Then, portal builds the complete page out of the newly constructed portlets and
    the cached portlets. On many complex sites, well over 90% of the page can be cached,
    leading to vastly superior performance over sites that have to reconstruct the
    entire page each time a visitor requests it.
    We are looking at a competing product that can do all this.
    Manjit
    "manjit" <[email protected]> wrote:
    Is it possible to cache contents displayed by Portlets? Pages? Books?
    especially
    in the web server from where they are served?

Maybe you are looking for

  • RG1 register- J_2iRG1BAL table values plant wise

    Hi Experts, I have a requirement in RG1 report, client is not satisfied with the  standard sap format, so we are intending to develop a Z-report. the steps which i am following as below: I have uploaded the J_2iRG1BAL table but requirement is that wh

  • Ipod does not hold charge

    My iPod Classic only holds a charge for 10 minutes. Can this be repaired?

  • Configuring SQL Data Sources in Essbase Server

    Hello,<BR><BR>I was trying to connect Oracle from Essbase Application Manager, after <BR>executing inst-sql.sh and properly setting the ARBORPATH variables and ODBC ini <BR>file into the correct path.Driver is also setup<BR>I created a Rule file and

  • Email Reply Language

    Hello all, I've got my iPod touch language set to Russian, and regional settings set to English Canada. When I reply to a message in Mail, the language of the bits added by the app (forwarded message begins, replying to, from, to, etc) are in Russian

  • Memory read for follow up transaction

    Hi , Can anyone please help me how to capture memory value for follow up transaction? Here is my busniess case: 1) User creates Lead 2) From Lead, using manual follow up user creates Order 3) When you are creating order as a follow up system gives po