How to enable invalidation cache in struts portlet?

Dear Friends,
I am in need of implementing invalidation based caching in my pdk struts portlet application. The sample in the jpdk is for normal pdk portlets (not struts.) and the code did not work for my application. Plz help.
Many thanks,
Alvi

In the [Licensing document|http://download.oracle.com/docs/cd/E11882_01/license.112/e10594/editions.htm#CJACGHEB] , in the 'performance' section of the table, the result cache is only available on Enterprise and not Standard, so I wouldn't expect it to work in Express Edition

Similar Messages

  • What's the implication of 'enabling invalidation caching'?

    Hi,
    From the web.xml file after I have finished deployment for the jpdk.ear file, I found the following lines:
    <servlet>
    <!--The following parameter enables invalidation caching-->
    <init-param>
    <param-name>invalidation_caching</param-name>
    <param-value>true</param-value>
    </init-param>
    </servlet>
    What's the effect of setting this parameter?
    Thanks for any replies and help!

    This is a required configuration step if your portlets want to use invalidation based caching.
    The PDK contains sample portlets using invalidation based caching, that's why this entry in web.xml.
    You can learn more about the steps you need to perform to leverage Oracle9iAS Web Cache's invalidation based caching in the Setting up the Invalidation Caching Sample PDK article.
    If you've subscription to iLearning, you may find this eClass useful: Oracle9iAS Portal Release 2: Enhance Portlet Performance using Web Cache.
    Hope this helps.

  • How to enable DVM cache policy in soa suite 11G

    Hello,
    Can someone describe how to enable DVM cache policy in soa suite 11G?. Also how can i configure the cache policy to load values to cache at server startup? I have very large DVM which i want to load to cache for faster access.
    Thanks in advance.

    Hi,
    DVM cache policy is lazy load. there is no option to preload the cache with server startup currently. However this would be affecting only the first request the susequent requests are serviced from cache.
    HTH..
    appologies for reaching on this late.
    regards,
    Jitendra

  • How to Enable Result Cache in 11g XE ?

    Does anyone know how to enable the result cache in 11g XE?
    I've tired startup/shut down immediate with various ALTER SYSTEM commands (see below) but result_cache_max_size still defaults to zero when the database comes back up.
    ALTER SYSTEM SET result_cache_max_size = 2M SCOPE = SPFILE;
    ALTER SYSTEM SET result_cache_max_size = 2M SCOPE = BOTH;
    ALTER SYSTEM RESET result_cache_max_size SCOPE = SPFILE SID='*';
    Any advice would be helpful.
    Thanks

    In the [Licensing document|http://download.oracle.com/docs/cd/E11882_01/license.112/e10594/editions.htm#CJACGHEB] , in the 'performance' section of the table, the result cache is only available on Enterprise and not Standard, so I wouldn't expect it to work in Express Edition

  • How to enable password caching( mine was disabled by accident), is this mozilla or windows ?

    cant enable password caching, dont no if this is a firefox issue or windows xp

    ''' "... password list appeared in lower right hand corner of screen ..." '''
    Firefox doesn't display preferences or passwords there. Sorry, I have no idea what that was or how to fix it.
    Do you have an Firefox Addons installed, that might have provided that display?

  • How to Enable Log4j in Struts

    Hi,
    I have a struts application and I need to implement a logger for it. I would like to use Log4j but am having problems initializing it.
    Because I am using struts, I do no have access to the Action servlet and so cannot place the intiializing code in the servlets init() method.
    Is there a way of using the struts-confix.xml file to enable Log4j logging ?
    Basically I need the application to load up the log4j.properties file using
    PropertyConfiguratior.configure("log4j.properties");
    But how do I do this in Struts ??
    thanks
    Paul

    Struts core library uses commons logging , some drop log4j.properties files /WEB-INFO/classes, cooomons lgging will pick up and initialize.
    Other way is write a plug-in and load the log4j configuration
    ==============================================
    1. Add plug in to struts-config files like validator plug in
    <plug-in className="com.tests.utl.Log4jPlugin">
    <set-property
    property="log4jconfig"
    value="/WEB-INF/log4j.xml"/>
    </plug-in>
    2. Drop log4j.xml file in "/WEB-INFO" folder
    3. Sample "log4j" plug in java class, here key is define property "log4jconfig" as plugin setter/getter, struts will set the value read from struts-config.
    ================================
    public class Log4jPlugin implements PlugIn {
    private String log4jconfig;
    public Log4jPlugin() {
    public void destroy() {
    System.out.println("Destroying Hello World PlugIn");
    public void init(ActionServlet servlet, ModuleConfig config)
    throws ServletException {
    URL url =null;
    try {
    url = servlet.getServletContext().getResource(log4jconffile);
    System.out.println(" url " + url);
    } catch (MalformedURLException ex) {
    ex.printStackTrace();
    DOMConfigurator.configure(url);
    public String getLog4jconfig() {
    return log4jconfig;
    public void setLog4jconfig(String log4jconfig) {
    this.log4jconfig = log4jconfig;
    }

  • How to install metadata cache invalidation tool

    Hi,
    I have  a problem in using JCO destinations for Adaptive RFC models.
    I went through the below pdf and they mentioned metadata cahce invalidation tool and it is not installed in the portal
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10465350-b4f5-2910-61ba-a58282b3b6df
    please let me know how to install metadata cache invalidation tool
    points will be rewarded for sure for the helpful answers

    This tool is already installed on your system.
    1) navigate to http://<hostname>:<port>/index.html
    2) Click on "Webdynpro"
    3) Click on "Web Dynpro Console"
    3) Login as an Administrator (any user with admin priv's is ok).
    4) Notice the last entry in the list

  • How can I display UTF-8 content in a struts portlet

    How can I display UTF-8 (with English and Traditional Chinese mixed characters) content in a struts portlet?
    Version used
    Oracle Portal 10g Release 1 (9.0.4) on Linux
    Portal language support: English only
    Many thanks !!!

    You can utilize multi-lingual support in your Struts portlets, as described in the Portal Developer's Guide.
    Peter

  • How to enable OHS compression/cache for OBIEE

    Hi i have installed OHS (11.1.1.7) and webcache on OBIEE 11.1.1.7. Does any one know how to enable/configure compression/cache for OBIEE analytics? Also how to validate if compression is working?

    Hi Anke,
    all tables that have been created in V9.7 with attribute COMPRESS YES will be compressed statically .
    db2 " select count(*) , rowcompmode from syscat.tables group by rowcompmode "
    After the upgrade to 10.5 all tables created with attribute COMPRESS YES will get rowcompmode='A' but old tables created with V9.7 will stay with rowcompmode='S' .
    You can change tables from  rowcompmode='S' to rowcompmode='A' via  ALTER TABLE . After this all new pages or old pages that are touched will be adaptively compressed. But old pages that are not touched will only be static compressed. To get all pages of an existinbg table adaptive compressed you need to move data. For example with DB6CONV.
    Regards
                   Frank

  • How to create pdk java struts portlet in jdeveloper 11g

    Hi All,
    Im newbie ,I am unable to follow the steps in creating struts portlet on using Oracle portal developers guide in Jdeveloper 11g .can any one tell me the step by step procedure of creating struts portlet or any other related links.
    FYI:I stuck up in the guide which didn't explain how to create struts-config.xml( and its structure) and also how to create view and page flow .
    In the book they gave as :"To create a new view, first create a new set of ActionMappings (page flow) that will redirect the various actions and requests to Portal-specific JSPs. "
    Please help me on this, Thanks in Advance,
    Regards,
    siva
    Edited by: siva on Sep 25, 2011 10:51 PM

    You are mixing versions.
    JDev 11g needs the 11g SOA version (download from here )or use JDev10g together with Oracle SOA Suite 10.1.3.1.0
    Timo

  • How to build struts portlet for DispatchAction?

    hi,
    I'm building struts portlet which wrap up a struts module, and it works fine for ordinary struts Action class, but for struts DispatchAction class, it doesn't work, the corresponding method never called.
    could any one here help me out?
    thanks

    I am trying to implement your solution.
    I have a portlet for navigation on the left side and the inline rendering on the right. My left side url's keep rendering outside of portal. Also can't figure out how to make the inline rendering portlet grab the url from the navigation portlet. (In your post you mentioned that your portlet would display whatever URL was passed to it.)
    Can you provide more detail on the steps you took to make this happen?
    Thanks

  • How to enable the edit option for the sample downloaded portlets

    Hi,
    I had downloaded some samples from the portal studia site. Here is the folowing URL
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/GUIDELINES.PARAMETER.PASSING.HTML
    This is related to passing the parameters between the portlets on the same page.
    I'm able to install the samples and evnerunning them. But the funniest thing is i'm unable to edit the portlet.
    Can Any shoot some answers for How to pass the parameters between the portlets.
    I had also tried as Sharmila said in the following URL...
    <A
    href="http://forums.oracle.com/forums/message.jsp?id=1180583&amp;gid=469632"
    target=_new>Re: session state security
    </A>
    Guys and Gals .. I'm in neck depth trouble .. Please Do Rescue me ASAP.....
    Thanks inadvance,
    Sudheer Ravikanti.
    [email protected]

    Hi,
    I think easiest way is re-create your report , so wizard do things for you.
    Other vise you need create "search bar" region and items manually and edit report where clause.
    You can first set your old report condition to never and create new report with same select.
    When you are sure that new report working ok, you delete old report.
    Br, Jari

  • Struts Portlet to Struts Portlet Communication

    Hello,
    We have two struts portlets (portlet1, portlet2) in our page. We have the following queries:
    1. When user performs some action (submit) in portlet1, can we render the second porlet (portlet2). Second portlet should be visible only after submit in first portlet.
    2. We are trying to pass objects between two struts portlets. Can some one provide an idea on how to achieve this. We are trying to set the objects to be passed in request object, but they are not visible in the second portlet.
    Basically, our requirement is portlet1 will contain the search criteria and when the user clicks on submit, the results should be displayed in another portlet. Both these portlets are struts enabled.

    1. You can create your security manager to dynamically control whether the portlet is displayed or not on the portal page. You can refer to the Portal Developer's Guide to learn more about security managers.
    2. You can use the page parameters and portlet parameters to pass this information from one portlet to the other. The Portal Developer's Guide discusses how to do this.
    If this doesn't work for some reason (the string is way too long - or for any other reason), you can try to save the information to the session context. The session can be shared between two portlets if they belong to the same provider.
    Hope this helps,
    Peter

  • Enable Folder Cache - Pls urgent Help needed

    I WANTED TO TEST HOW IT WORKED THE "ENABLE FOLDER CACHE" ,SO I CLICKED ON THAT FIELD.
    (AT THE CONTENT AREA LEVEL AND ALSO IN A COUPLE OF FOLDERS).
    BUT TO MY SURPRISE NOW BOTH FOLDERS DON'T SEEM TO WORK PROPERLY. IT ALWAYS SHOW ME AN OLD VERSION OF THE FOLDER.
    I UNCLICKED THE FOLDER CACHE OPTION (AT CONTENT AREA LEVEL AND FOLDER LEVEL) BUT STILL IT DOES NOT SHOW ME THE LATEST VERSION OF THE FOLDER.
    ONLY IF I GO TO "EDIT FOLDER" I CAN SEE THE CORRECT CONTENTS OF THE FOLDER, BUT WHEN I RETURN TO "VIEW FOLDER" IT SHOWS ME AN OLD VERSION.
    I REALLY DON'T KNOW WHAT I AM DOING WRONG OF IF THERE IS A BUG SOMEWHERE.
    I WILL APPRECIATE ANY HELP.
    TKS!!

    Maria,
    Try turning caching off. Go to the Portal Home page, Administer Tab, Listener Gateway Settings. In Cache Settings, set "Enable PLSQL Caching" to No.
    If that fixes the problem, set it back to Yes and see if the problem continues.
    Also, what type of items do your folders contain? What changes are you making to those items that aren't showing up?
    BTW, the folder cache is always invalidated if you make any change to a folder. So even though you turn caching on, you will always see fresh content. There is no good reason to NOT turn caching on (except when you run into problems like yours, which shouldn't be happening). See the white paper on OTN called Page Generation and Assembly Scalability in Oracle9iAS Portal.
    Regards,
    Jerry
    null

  • How to enable the EL in jsp page

    hi can u tell 'how to enable the EL in jsp page'?

    *I am getting below exception in tomcat when i inclued +<%@ page isScriptingEnabled="true" isELEnabled="true"%>+*
    org.apache.jasper.JasperException: /index.jsp(1,1) Page directive has invalid attribute: isScriptingEnabled
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
         org.apache.jasper.compiler.JspUtil.checkAttributes(JspUtil.java:311)
         org.apache.jasper.compiler.Validator$DirectiveVisitor.visit(Validator.java:106)
         org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:590)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2394)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
         org.apache.jasper.compiler.Validator.validate(Validator.java:1700)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Maybe you are looking for

  • Photosmart 6510 e-ALL-IN-ONE Series offline

    I can't get my 6510 all in one to go back on-line.  I have windows 7 on my hp laptop and use my android phone as my wireless connection - this has worked perfectly for the past two years.  I ran a wireless network test and the printer indicates PASS

  • Styling bullets in text without using indesign's bullets

    Having a problem with aligning bulleted lists that have multiple lines. I need the text to align but I also need the bullets to stay within the text... Any help would be awesome.

  • Is Windows 7 64-bit Compatible with This iMac late 2013 ?

    Is Windows 7 64-bit compatible with this computer? Hardware and software: • Late 2013 iMac 27", 3.5 GHz I7, 32 GB memory, 1 TB hard drive Flash * 4GB Graphic Card • Mac OS 10.9.1 • USB thumb drive 2.0 16GB • Boot Camp Assistant 5.1.0 • Windows 7 64-b

  • Response payload in sxmb_moni

    hi , in my XML Message in sxmb_moni the response payload is missing. and this is happening only for one scenario and it is working fine for other interfaces. can some one help me the structure of XML message is depend on which configuration exactly?

  • XPath expression test possibilities in Fault Policy file

    Hi All, It would be a great help if someone can show me a way to implement the next case: I have the next scenario, in a fault policies file I have different actions to execute for the same fault andI have to choose what action will be executed check