How do I invalidate the cache in the JCos on EP Portal.

How do I invalidate the cache in the JCos on EP Portal.

hi michael,
for NW7.3+ environmnet this can be done via the netweaver administrator ( http://host:port/nwa).
you can find the function under "Availablity and Performance" - "Resource Monitoring" - "JCo Monitoring" - "Metadata Cache". there you have the possibility to clear the cache for an abap application server and/or a special structure from it.
regards,
christian

Similar Messages

  • How to clear the cache in the portal browser

    Hello Experts,
    Iam unable to clear the cache in the portal. I tried  clearing the Navigation cache , PRT cache,PCD cache,Database cache,UME cache.
    The senario is in the browser if iam logging with some user X , he should see only 1,2,3 countries, and if i logg off and again logg in the same browser with different user he is seeing same 1,2,3 countries unlike he should see 4,5 countries.
    But if iam opening in different browser iam getting the correct one with cache cleared.
    I want to acheive this in the same browser.
    Qucik help in solving out this cache problem is appreciable.
    Regrds,
    Manasa.

    There is one more important cache: the HTTP Provider Service cache (in VA).
    To find out why the browser is showing the same languages, analyze what the server is sending to the browser with HTTPWatch or Firebug and look at the cache flag. Also check what is the iView cache parameter? Is it user, session, shared or none?
    How do you do the logoff? The best thing is to make sure that the HTTP Session is killed. If not, the portal may send data that is cached for the HTTP Session to the browser. When you open a new browser, you will also open a new HTTP Session. That could be the cause why it is working with a new browser instance.
    br,
    Tobias

  • How to flush the cache of a JCO repository ?

    Does anybody now how to flush the cache of the JCO repositories of pools managed by Netweaver application server without restarting the JVM ?
    The reason I'm asking is that, whenever a tables or structure changes on ABAP side (CRM,  IS-U, R/3), even though we redeploy the J2EE applications, they do not see the new definitions, and we have to restart the JVMs.
    This is particularily annoying in an "high availability" production environment such a ours.
    We need a close to 24/7 up time, and putting down the JVM for even a few minutes is becoming a problem.
    I'd like to be able to manually flush the repositories when needed.
    For example, is it possible to write a small java application that could perform the flush on a single request ?
    I did not try writing any code to do so yet, but I guess this snippet can do the work:
    IRepository rCRM = JCO.createRepository("FLUSH_CRM", "java:comp/env/eis/pool_crm")
    while (rCRM !=null)
       String [] crmFuncts  = rCRM.getCachedFunctionInterfaces()
       String [] crmStructs = rCRM.getCachedStructureDefinitions()
       for (int i=0; crmFuncts!=null && i<crmFuncts.lenght; i++)
          rCRM.removeFunctionInterfaceFromCache(crmFuncts<i>);
       for (int i=0; crmStructs!=null && i<crmStructs.lenght; i++)
          rCRM.removeStructureDefinitionFromCache(crmStructs<i>);
       rCRM = rCRM.getNextRepository();
    Does it ?
    Edited by: Croussette Yves on Jun 9, 2008 8:46 PM
    Edited by: Croussette Yves on Jun 9, 2008 8:47 PM

    Hi,
    Please check these link:-
    1.[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3219]
    2.https://www.sdn.sap.com/irj/scn/thread?messageID=601915
    3.https://www.sdn.sap.com/irj/scn/thread?messageID=135202
    Best Regards,
    Atul Bhatia

  • Increase the size of the cache using the cache.size= number of pages ?

    Hi All,
    I am getting this error when I do load testing.
    I have Connection pool for Sybase database that I am using in my JPD. I am using Database control of weblogic to call the Sybase Stored procedure.
    I got following exception when I was doing load testing with 30 concurrent users.
    Any idea why this exception is coming ?
    thanks in advance
    Hitesh
    javax.ejb.EJBException: [WLI-Core:484047]Tracking MDB failed to acquire resources.
    java.sql.SQLException: Cache Full. Current size is 2069 pages. Increase the size of the cache using the cache.size=<number of pages>
         at com.pointbase.net.netJDBCPrimitives.handleResponse(Unknown Source)
         at com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse(Unknown Source)
         at com.pointbase.net.netJDBCConnection.prepareStatement(Unknown Source)
         at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:917)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:905)
         at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:350)
         at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:479)
         at com.bea.wli.management.tracking.TrackingMDB.getResources(TrackingMDB.java:86)
         at com.bea.wli.management.tracking.TrackingMDB.onMessage(TrackingMDB.java:141)
         at com.bea.wli.management.tracking.TrackingMDB.onMessage(TrackingMDB.java:115)
         at weblogic.ejb20.internal.MDListener.execute(MDListener.java:370)
         at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:262)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2678)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    hitesh Chauhan wrote:
    Hi All,
    I am getting this error when I do load testing.
    I have Connection pool for Sybase database that I am using in my JPD. I am using Database control of weblogic to call the Sybase Stored procedure.
    I got following exception when I was doing load testing with 30 concurrent users.
    Any idea why this exception is coming ?
    thanks in advance
    Hitesh Hi. Please note below, the stacktrace and exception is coming from the
    Pointbase DBMS, nothing to do with Sybase. It seems to be an issue
    with a configurable limit for PointBase, that you are exceeding.
    Please read the PointBase configuration documents, and/or configure
    your MDBs to use Sybase.
    Joe
    >
    javax.ejb.EJBException: [WLI-Core:484047]Tracking MDB failed to acquire resources.
    java.sql.SQLException: Cache Full. Current size is 2069 pages. Increase the size of the cache using the cache.size=<number of pages>
         at com.pointbase.net.netJDBCPrimitives.handleResponse(Unknown Source)
         at com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse(Unknown Source)
         at com.pointbase.net.netJDBCConnection.prepareStatement(Unknown Source)
         at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:917)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:905)
         at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:350)
         at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:479)
         at com.bea.wli.management.tracking.TrackingMDB.getResources(TrackingMDB.java:86)
         at com.bea.wli.management.tracking.TrackingMDB.onMessage(TrackingMDB.java:141)
         at com.bea.wli.management.tracking.TrackingMDB.onMessage(TrackingMDB.java:115)
         at weblogic.ejb20.internal.MDListener.execute(MDListener.java:370)
         at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:262)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2678)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

  • How to remove the caching in the jspx page?

    I have few links in a jsp page through which i can navigate to jspx pages. In one of the jspx pages there are few drop downs of whose options will be populated from database. when I select a value from the drop down (values are prepopulated in the drop down), then go to the jsp page and visit the jspx again through the link, (without closing the browser) the value which i selected previously is selected as a default value. Why this is happening? Is there anything to be set to remove the caching?
    Thanks in advance
    Uday

    I have an application which uses JSP - only welcome page, ADF Faces, Spring, Hibernate technologies. The IDE I am using is NetBeans 5.5 bundled with Tomcat & JBoss.
    The welcome page (index.jsp) consists of normal html anchors - hyperlinks (2 Numbers) which each hyperlink would navigate the user to 2 individual jspx pages.
    Uday

  • I want to empty the Safari cache in OS 10.8.5, but cannot find the cache in the drop down menus. Where is it? Or do I go to preferences-privacy and select remove all cookies and website data?

    I received a 'bogus' email saying I had a virus and to click to scan my entire OS. I did not click - I trashed the email.
    I wanted to empty my cache but couldn't find it (OS 8.10.8.5) -- In the main menu, under Safari, the only thing I found was to select preferences, then privacy -- where a window showed an option of removing some or all cookies and other website data.
    Is that what I should do or is there a cache somewhere on the laptop?
    Thanks

    You were scammed. There's nothing wrong with your computer. You don't need to empty the cache.
    Helpful Links Regarding Malware Problems
    If you are having an immediate problem with ads popping up see The Safe Mac » Adware Removal Guide and AdwareMedic. If you require anti-virus protection Thomas Reed recommends using ClamXAV. (Thank you to Thomas Reed for this recommendation.)
    Open Safari, select Preferences from the Safari menu. Click on Extensions icon in the toolbar. Disable all Extensions. If this stops your problem, then re-enable them one by one until the problem returns. Now remove that extension as it is causing the problem.
    The following comes from user stevejobsfan0123. I have made minor changes to adapt to this presentation.
    Fix Some Browser Pop-ups That Take Over Safari.
    Common pop-ups include a message saying the government has seized your computer and you must pay to have it released (often called "Moneypak"), or a phony message saying that your computer has been infected, and you need to call a tech support number (sometimes claiming to be Apple) to get it resolved. First, understand that these pop-ups are not caused by a virus and your computer has not been affected. This "hijack" is limited to your web browser. Also understand that these messages are scams, so do not pay any money, call the listed number, or provide any personal information. This article will outline the solution to dismiss the pop-up.
    Quit Safari
    Usually, these pop-ups will not go away by either clicking "OK" or "Cancel." Furthermore, several menus in the menu bar may become disabled and show in gray, including the option to quit Safari. You will likely have to force quit Safari. To do this, press Command + option + esc, select Safari, and press Force Quit.
    Relaunch Safari
    If you relaunch Safari, the page will reopen. To prevent this from happening, hold down the 'Shift' key while opening Safari. This will prevent windows from the last time Safari was running from reopening.
    This will not work in all cases. The shift key must be held at the right time, and in some cases, even if done correctly, the window reappears. In these circumstances, after force quitting Safari, turn off Wi-Fi or disconnect Ethernet, depending on how you connect to the Internet. Then relaunch Safari normally. It will try to reload the malicious webpage, but without a connection, it won't be able to. Navigate away from that page by entering a different URL, i.e. www.apple.com, and trying to load it. Now you can reconnect to the Internet, and the page you entered will appear rather than the malicious one.

  • What are the differences between the Caching and the Software Update Services

    New to working with OS X Server and am confused about the differences between the Caching Service and the Software Update Service...it seems to me that they overlap in that i) the Caching Service updates OS X software, iOS software and any apps purchased from the app store while ii) the Software Update service updates OS X software.
    If the above is correct they why would one run both Services?  I would think that one would run the Caching Service and call it a day!
    And while on the subject, what about caching and pushing third party apps like MS Office?

    Linc Davis wrote:
    The simple answer is that you almost certainly don't need the Software Update service. Just use the Caching service. Neither one works with content that doesn't come from Apple.
    Appreciate the response but could you please explain the difference between the two as that is the one item that remains unanswered.
    Thanks,
    Joel

  • I am having difficulty clearing the cache on the latest upgrade of Firefox. I click both clear now buttons in preferences but the images remain cached.

    I close the tab, click both clear now buttons in preferences > advanced, but the images do not update to newly uploaded ones on my site. I had a long session with my CDN and it is not their issue. It does not occur on Safari or Chrome, only Firefox. I updated to the latest version two days ago. Please advise on this bug... issue... or procedure...
    Thank you,
    Kevin

    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)

  • I need to clear the cache and the advanced button is missing!

    As above but I use PClinuxOS as my operating system/

    "Clear the Cache":
    *Edit > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
    *https://support.mozilla.org/kb/remove-browsing-search-and-download-history
    If you do not see the Advanced tab in Preferences then check for issues caused by an extension.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to refesh the cache from the ABAP?

    Dear SDN fellows:
    I did a cache refresh from ABAP last year and I forget what I did.
    Would you please remind me ? Points guaranteed.
    Thanks!

    Hi,
    see below  posts....u might get some info here....
    ABAP HTTP cache refresh
    XI ABAP Cache Refresh
    regards
    biplab

  • Module exist in the cache of the company web server

    Hi,
    I am accessing my Flex Application through the web server of
    my company. Just today, I have noticed that the module which my
    flex application downloads is not the latest version of the module.
    I have deleted the module from my PC internet cache but still the
    old version od the module is being downloaded.
    It seems that my company web server has an old copy of the
    module in its cache. So, how can I overcome this issue?
    Best regards
    Dr. Khaled

    Hi,
    Try restarting the web server or try appending some random name value pair as query string to your request URL to the module.
    Hope this helps.

  • How to determine the path of the jar file cache of javawebstart?

    Hello, I need to know how to determine where the java web start application
    file jar cache is stored on windows system hard drive.
    I would have launch of the inner processes
    I have need to know the path of file jar .
    example if my application is myAppliation.jar
    in code generic class of myAppliation.jar i have the command runtime
    String strCmd =
    System.getProperties().getProperty("java.home") + "\\bin\\java" +
         " -cp " +
         System.getProperties().getProperty("java.class.path") + ";"
         + " anotherClass.class ";
    Runtime.getRuntime().exec(strCmd);
    the anotherClass.class has need
    of the contained library in myAppliation.jar.

    Thanks i have tried this metod and function
    java.net.URL resource = classLoader.getResource("myResource");
    if (resource != null) {
    String s = resource.toString();
    if (s.startsWith("jar:")) {
    int index = s.indexOf("!");
    if (index > 4) {
    String fileurl = s.substring(4, index);
    if (fileurl.startsWith("file:")) {
    String path = fileurl.substring(5);
    // now path is the path to the jar file in the cache containing the resource
    System.out.println("file jar: "+path);
    }

  • How to stop caching on the server

    Hello,
    Can anyone please guide me as to how do we disable caching on the
    portal server since the changes i am making in the JSP pages are not
    reflected immediately. I have already cleared the browser cache but now i
    want to clear the cache on the portalserver. I have also cleared all the
    class files created when the jsp was compiled but still there is no change.
    If anyone has faced similar problems and can throw some light on it.
    akshay

    Akshay
    I faced the same problem as you did.I went thru what Adrian advisesd and it works.Did
    you update teh correct XML file?.In my case,the weblogic.xml file is whawt holds
    this property and resides in
    D:\wlportal4.0\applications\portal\dp2\WEB-INF\weblogic.xml
    where 'dp2' is the sample portal iam working on.
    I hope this helps.
    - Logesh
    "akshay" <[email protected]> wrote:
    Hi Adrian,
    Thanks again for the quick reply but even this setting
    did not
    work.
    This has created a major development problem and the only way out i found
    was either to restart the server or change the name of the file which
    i am
    accessing. Please suggest some other way to achieve this no caching state
    on
    the server i even cleared the browser cache.
    Thanks in advance
    akshay
    "Adrian Fletcher" <[email protected]> wrote in message
    news:[email protected]...
    Akshay,
    Ok, now I understand your problem. What you need to do is to changethe
    JSP
    operating parameters for this webapp. These parameters are found inthe
    weblogic.xml file associated with your webapp. The reference for thejsp
    descriptor element can be found here:
    http://edocs/wls/docs61/webapp/weblogic_xml.html#1012195
    I think the parameter you need to change is pageCheckSeconds. Ifyou set
    this to 0 then the page is checked every request.
    Hope this helps,
    Sincerely,
    Adrian.
    Adrian Fletcher.
    Senior Software Engineer,
    BEA Systems, Inc.
    Boulder, CO.
    email: [email protected]
    "akshay" <[email protected]> wrote in message
    news:[email protected]...
    Hi adrian,
    Thanks for your quick reply I am not aware about theclustered
    environment but here i have created a jsp page (named first.sjp)
    to
    check
    a
    connection pool i have created which i have placed it along with
    the
    index.jsp page of stockportal and using the following URl i havemade a
    request http://<myportalserver>:7501/stockportal/first.jsp the first
    time
    when i request for this page it works fine -- the data flows perfectlybut
    after making any changes say for example if i change the table name
    from
    where the data is to be fetched
    it does not show me the new data it shows me the data from the previous
    table. whereas if i change the name of the jsp page and request itworks
    fine. I want to disable this caching
    at the server to make this thing work i cleared all the cache ofthe
    browser
    but still could not achieve no cache state.
    thanks in advance
    akshay
    "Adrian Fletcher" <[email protected]> wrote in message
    news:[email protected]...
    Akshay,
    The design of the caching in portal is such that all changes should
    be
    reflected immediately, even across a cluster. However there isone
    outstanding issue around a performance enhancement for the anonymoususer
    case, where this cache is not updated unless the associated .portal
    file
    is
    datasynced. So for changes to the default group either test with
    a
    logged
    in
    user of this group or do a datasync to clear the cache.
    If this does not solve your problem please let us know.
    Sincerely,
    Adrian.
    Adrian Fletcher.
    Senior Software Engineer,
    BEA Systems, Inc.
    Boulder, CO.
    email: [email protected]
    "akshay" <[email protected]> wrote in message
    news:[email protected]...
    Hello,
    Can anyone please guide me as to how do we disable caching
    on
    the
    portal server since the changes i am making in the JSP pages
    are not
    reflected immediately. I have already cleared the browser cachebut
    now
    i
    want to clear the cache on the portalserver. I have also cleared
    all
    the
    class files created when the jsp was compiled but still there
    is no
    change.
    If anyone has faced similar problems and can throw some light
    on it.
    akshay

  • How to clear the cache of an applet?

    I m working on an applet displaying images for client side. So server will send me an image(picture),but for the first time i display the image,it will be successfully. when i want to view another new image ,it display the previous image, so i suspect the problem is the cache of the applet.so how do i clear the cache of an applet?

    This is quiet clear:
    http://java.sun.com/products/plugin/1.3/docs/appletcaching.html
    On Windows platform the Java Control Panel has also a "clear cache" option.
    Anyway you may find the cache on your harddrive.
    Hope that helps.

  • Caching issue - How ro remove cache from the portal iview

    Hi,
    I am facing problem of caching.In my application I am substituting one user(user 1) to some other user(user 2).Based on the substitution(latest substitute user 2),I should get the values for the User 2.
    But after substitution,I am getting the values for the user 1 and after some time(2/3 second) I am able to get all the values for the User 2.The application is working fine.But some how its retaing the previous values of the user 1.
    Can anyone please suggest me how to remove the cache from the iview.
    Regards
    -Sandip

    Hi Sandip,
    Enterprise Portal caching can be taken care or in a number of ways, all these are listed in the doc below:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/71d7b8dc-0701-0010-dfba-881dba1b5b95
    - Regards, Dibya

Maybe you are looking for