ADF 11g Context - the pageFlowScope cache is not clearing

Hi!
I just noticed one behavior that I find unexplainable to me:
1. Using ADF Controller
2. Having one page (p1) on unbounded taskflow and
3. One bounded taskflow (btf1) with one page and return activity with default property settings.
Now, entering into bounded taskflow creates "oracle.adf.controller.pageFlowScope.xxxxxxxxxx_y" entries in SessionScope (observable via ADF Data panel when breakpoint is on the page / bounded taskflow).
The problem is that PageFlowScope of bounded taskflow is not released/cleared from SessionScope on return to parent (unbounded) taskflow. (note: regular return activity is used). Thus, after intensive application usage, the SessionScope is filled with orphaned PageFlowScope entries. Still, the PageFlowScope map (with user defined taskflow paramteres / variables) is emptied on return, but the PageFlowScope object is still preserved.
Is this a bug or "by design behavior"? In cases ov very long and intensive user activities, I noticed a very long list of orphaned PageFlowScopes which in turn produces memory as well as CPU overhead in managing user session on server. I stress-tested a simple app and performance hit for thousand concurrent users with 300 of taskflow entry-return cycles is significant. Memory rises linearly, but the CPU time is rising exponentially (guessing the searching the large PageFlowScope cache is taking the toll).
Anyone else had a similar experience? Or explanation? Or pointing out where is possible to find more info on internal ADF Controller design?
Regards,
PaKo

Hi,
when the pageFlow scope map is preserved on task flow exit then this is a bug. Can you file it ?
Frank

Similar Messages

  • ORACLE ADF 11g /JSF TO  serviet (Service method) not invoking

    Hi,
    ORACLE ADF 11g /JSF TO serviet (Service method) not invoking
    My project name is : ComplProject
    inside the project im having 1 jsp say x.jsp
    work environment : (oracleADF 11g) jdev11 and weblogic server 10.3
    in x.jsp im displaying 1 go link -> when ever we click on GO link it should go to ComplServlet.java
    i tried like,
    FacesContext.getCurrentInstance().getExternalContext().redirect("/servlet/ComplServlet");
    the "ComplServlet" is an URL pattern in web.xml which points to servlet.
    but not working
    i pointed to faces-config.xml also , not working
    i tried to forward like
    FacesContext context = FacesContext.getCurrentInstance();
    ServletContext sContext = (ServletContext)context.getExternalContext().getContext();
    ServletRequest request = (ServletRequest)context.getExternalContext().getRequest();
    System.out.println("third line...............");
    HttpServletResponse response = (HttpServletResponse)context.getExternalContext().getResponse();
    response.sendRedirect("/servlet/ViewDocument");
    sContext.getRequestDispatcher("/servlet/ViewDocument").include(request, response);
    brief
    (from jsf page) after clicking on GO LINK i need to redirect or control should go to servlet ->service method
    thanks in advance
    regards,
    sandeep

    Hi,
    i tried like,
    FacesContext.getCurrentInstance().getExternalContext().redirect("/servlet/ComplServlet");
    the "ComplServlet" is an URL pattern in web.xml which points to servlet.
    but not workingUse like following.
        public HttpServletRequest getServletRequest() {
            return (HttpServletRequest)facesContext.getExternalContext().getRequest();
        public redirect(String url){
           getServletRequest().sendRedirect(getServletRequest().getContextPath() + "/servlet/ComplServlet");
        }If you are using golink as frank suggested then use it like this.
    <af:goLink text="ComplServlet" destination="/servlet/ComplServlet"/>no need of using context when using goLink,
    Regards,
    Santosh.

  • HT5343 Resetting the DNS cache does not seem to work on OS X 10.8, what does really work?

    Resetting the DNS cache does not seem to work on OS X 10.8, what does really work?
    Desired activity: access a site that used to not have a SSL connection through the new https:// root domain. I can accomplish the task over a machine running Windows 7 or XP but flushing the dns of my mac does not affect the outcome — I am still redirected to the hosting provider's website whenever I tried to access the domain with a https:// prefix rather than http://
    I tried sudo killall -HUP mDNSResponder and it's older alternative but no luck.

    In the terminal:
    dscacheutil -flushcache
    and to get a very detailed report on the state of your DNS cache in /var/logs/system.log:
    sudo killall -INFO mDNSResponder

  • OBIEE:Cache is not clearing

    Hi
    cache is not clearing in obiee setup.I did the following things
    1.open rpd in online mode and purged all the cache entries
    2.opened obiee answers(session log) .clicked on "close all cursors", cache entries are removed.but if i again opened the session log "same cache entries are still there"
    pls help to resolve the problem
    regards
    mervin

    Hi mervin,
    This would solve your problem.
    http://www.oraclenerd.com/2010/02/obiee-call-sapurgeallcache.html
    http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1.html
    Hope it helps you,
    By,
    KK

  • HT201412 My ipad mini will not power off. The ICloud Backup  reminder is stuck on the screen and will not clear off.

    My ipad mini will not power off, nor will it respond to any commands.  The ICloud Backup reminder (which I do not use and have not activated)is stuck on the screen and will not clear.

    Hold down the sleep and home keys for about 20 seconds and see if you can get it to reboot.

  • Clear cache does not clear all the cache

    Hi,
    After clearing the cache, the browser assumes some of the files are still cached so it won't try to get the file from the server. This causes the website to hang as it does not timeout.
    It does not always happen, for example in my machine is OK, but a colleague's machine has it consistently and other people too.
    The only way that they could make it work is going to about:support and doing a reset.
    The Troubleshooting Information I've added is from the problematic machine.
    regards,
    Daniel.

    They use the built-in means to clear the cache.
    Tried deleting the cache folder but it did not help.
    Tried also deleting the profile folder contents and it did work. I guess that is similar to reset functionality.
    Still, if clearing the cache folder worked would be a a workaround for us, as developers but not something we could ask from our customers.
    You can try it with this URL:
    https://hornbill.socialworkforce.com/socialworkforce/user/lib/hux/server/comboloader/comboloader.php?ver=1.1.0&../../ext/yui3/../../../esp_hux/components/Xmlmc/Xmlmc-min.js
    Again, they are able to load it for the first time, but if they clear the cache, they cannot get the response from that url, in fact there is not even a request from the browser.

  • HT5275 Safari 6.0 on Mac OSX Lion - The 'Empty Cache" option not visible in the File pull-down menu

    Booted up Safari today and the "Empty Cache option is no longer availabe in the Safari pull down menu.  Any suggestions?

    Clearing History will empty the cache now but it will also clear your favicons. You can clear cache only by going to Safari>Preferences > Advanced and select Show develop menu in the menu bar. There is an option to clear caches from there.

  • HT6195 Safari cache will not clear......cannot get to current version of website.

    I design our company website.  It was recently moved from Hostgator to Flywheel and I am unable to open a current version of the site or make changes via the admin page on Word Press and have it go live.  I have tried to clear the cache, but it will not clear.  Also, this is happening on my iPad 2 and my husbands MacBook Pro.  I cannot un-install safari because Maverick's won't let me.  I AM able to make changes and see the current live version on the Dell PC laptop I have.  Any ideas???

    If it only happened in one location, that would work.....it occurs when mobile, at work, at home, everywhere.  Thanks for the thought though.

  • Yosemite 10.10.1 - DNS cache does not clear when switching between WiFi networks

    Before updating to Yosemite, DNS caches would clear when switching between WiFi networks, as they should.
    For Example, when using an Exchange server, your server name might be something like mail.company.com. Outside of the corporate LAN the IP would resolve to the outside (WAN) address. When you move the laptop inside the corporate LAN, it should clear the cache so mail.company.com resolves to the internal (LAN) address.  This is just one example of a dumb DNS transition not taking place switching from outside to inside (and vice versa).
    Instead, OS X is holding onto the outside DNS record even when moving to the Corporate LAN. The only way to fix is to run the DNS cache command (which is MUCH more convoluted in Yosemite now), or more easily, to quickly turn off then turn on WiFi.
    This is an irritation as I have to perform this action every morning, and every time I come back to my desk from offsite.

    Well, clearing the caches is as simple as this, no?
    Clear MDNS Cache
    sudo discoveryutil mdnsflushcache
    Clear UDNS Cache
    sudo discoveryutil udnsflushcaches
    One other thing: Have you tried 10.10.2? There are many many fixes in 10.10.2 over 10.10.1.

  • ADF 11g + getting the user details in ADF BC layer

    Hello,
    I am using Jdeveloper build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.553
    How to get the user name and roles in ADF BC layer? . I need to get the username in entity layer,view layer and am layer.
    Is there way to write common method to get the username from session data??
    Any advice??
    Thanks
    RB

    Hi,
    You can get User name using EL ---adf.context.securityContext.userName
    and also using---getUserPrincipalName()
    Thanks,
    Vijay

  • When I click the FireFox icon, nothing happens. It looks like it is starting to load but then doesn't. It appears the internet cache is not getting cleared. How do I clear this to get FireFox to execute?

    When the above happens, I try to run CCleaner and it tells me I need to close FireFox before it will clean the files, but it is not running? It just shows internet cache file is there at 0kb.

    More likely an extension and "AVG Safe Search" is a distinct possibility, but only if you are using AVG antivirus application from Grisoft.com
    '' If you were on Firefox 4 or 5 then you can get into safe mode with the least amount of difficulty. but you're not''
    * Safe Mode - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/Safe_Mode
    * Problematic extensions - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/Problematic_extensions
    and if you can run okay in Safe Mode then you pretty much know the problem is an extension. Clearing cache using Firefox Tools > Options > Advanced > Network > Clear Now

  • I built a website for a customer using HTML only, so it would work on everything, but some of the text numbers are not clear on the ipad. It works perfectly on all the other browsers.

    I built a website for a customer using HTML only, so it would work on any browser, and it works perfectly on everything except ipad safari. I'm loosing information with most of my text numbers - instead of being black they are displaying a 'ghost' image (white) of the numbers.
    Is this a memory issue, or cache issue, or something else?  I've downloaded iCab and the site works perfectly with it.
    Also wondering if I can manually reload/refresh web pages in iPad Safari.
    Since most people with iPads will use Safari rather than iCab, I have to tweak this site to work in Safari.

    Detecting phone numbers and making them clickable is a feature of the browser, and rebuilding your web-site links will not make any difference. Its done when the page is shown in the browser, not when the page is created.
    According to the Safari iOS developers guide, you can turn these data detectors off using this code:
    <meta name = "format-detection" content = "telephone=no">
    http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Referen ce/Articles/PhoneLinks.html

  • Problem with the variable in FM not cleared.

    Hi all,
    I'm using RM_BACKFLUSH_GO function module for BackFlushing a serial number. Inside this FM other function module MB_CREATE_GOODS_MOVEMENT is called inside this function module there is variable called XCOMMIT and this is not getting cleared when i called RM_BACKFLUSH_GO.
    I found that, this variable is set in another function call BAPI_HU_UNPACK in the same program.
    Inside BAPI_HU_UNPACK, the MB_POST_GOODS_MOVEMENT is called where the variable is set.
    I'm not able to clear this variable XCOMMIT. I have tried calling the perform clear_xcommit in program LMBWLFE0 from my program, but it didnt worked.
    Can anybody tell me how to clear this variable.
    Thanks n Regards

    Hi,
    You can clear the variable dynamically from the call stack
    Data: l_f_stack(72) type c value '(SAPLMBWL)XCOMMIT'.
    Field-symbols: <fs> type any.
    Assign (l_f_stack) to <fs>.
    If <fs> is assigned.
    clear <fs>.
    endif.
    Hope this will help you
    Regards,
    Krishnakumar
    Edited by: Krishnakumar on Apr 1, 2009 11:29 PM

  • The Lightroom Manual is Not Clear on Options for the White-Balance Tool

    In the section "Working with image tone and color" the Lightroom manual states:
    Specify a neutral area in the photo
    1. In the Basic panel of the Develop module, click the White Balance Selector tool to select it, or press the W key.
    2. Move the White Balance Selector into an area of the photo that should be a neutral light gray. Avoid spectral highlights or areas that are
    100% white.
    3. Set options in the toolbar as needed.
    Sets the White Balance Selector tool to dismiss automatically after clicking only once in the photo.
    Displays a close-up view and the RGB values of a sampling of pixels under the White Balance Selector.
    Zooms the close-up view in the Loupe...."
    Item 3 is unclear.  I selected the white balance selector, and moved it to an area as instructed,
    but I cannot find any toolbar with the options described. 
    How do I get to this mysterious toolbar??  Everyone seems to think its a simple thing, but I cannot find it and I am not able to set any of the options described!
    While I am sure this is a simple thing, I think that the manual should be much more clear about this description;  what is there now is very inadequate.

    It should be directly underneath the image preview - press the T key if it's not there.

  • ADF 11g Deployment on other webservers

    Hi All
    can i deploy my ADF 11g R2 application on web server not WebLogic server , something like ibm WebSphere or Apache
    thanks

    Have you checked the certification matrix at http://www.oracle.com/technetwork/developer-tools/jdev/jdev11gr2-cert-405181.html#Application_Servers ?
    Timo

Maybe you are looking for