Export web cache rules

Dear All,
I have downloaded 9ias903_win32.zip and it has Oracle9iAS Release 2 (9.0.3). I have a win2k server and installed all the components on one node.
I have made some change via the nice web page gui by adding some lines in the httpd.conf file and also edit the web cache rules.
This has been done on a pilot environment. Our team is thinking about replicate an exact environment in the QA environment. Are there any command to export all the configuration one one node and import into the fresh installation in QA? If not, just saving the changes on web cache rules and httpd.conf files is ok.
Thax,
SC

I can speak for the Web Cache side of things. Other than copying/pasting sections of the webcache.xml from one config to another, or just manually reconfiguring the new installation, you have one alternative. This alternative may be a bit less error prone.
Essentially, you can create a cluster of the two cache instaces (your old one and the new one). Part of setting up a cache cluster is propagating the config to member instances. Once the propagation is complete, you can disable the cluster if you want to.
To do this, make sure both instances are running. Go to the original (old) instance where you have a working config. Login to the Web Cache Manager UI on that instance and create a cluster by "adding the new instance." Follow the directions in the online help or in the user guide for exact instructions. When you're all done and you have a cluster set up, you can disable the cluster and find that you'll still have the caching rules, etc. on the new instance.

Similar Messages

  • Export Cache Rules

    Is there a way to export the caching rules and load the same rules into another webcache?
    This would seem like an obviously useful thing to be able to do but I haven't seen a way of achieving this. I don't especially want to backup/restore the entire OAS using the backup/restore facility as there would be many differences between one installation and another - I just want the same rules in place on 2 instances.
    I don't think I should have to cluster the servers to achieve this either.
    Is there a configuration file which contains the rules?
    Thanks,
    Andy

    Thanks!
    I'd like to see the rules in their own file so that moving them about is really simple and something that's easy to put under configuration control. Having them buried in a file with other configuration items isn't really the best place for them in my view.
    A suggestion to anyone with influence at Oracle!
    Cheers once again,
    Andy

  • Web Cache Default Install Caching ESI fragments

    Hi,
    My platform is Windows 2000 Advanced Server with the latest patches. The web cache is as of the version install from the following file downloaded at ITN 9ias903_win32.zip.
    I just need a quick answer as the web cache rule sets are very complex.
    http://192.168.20.101:7778/home.html has just these lines
    HTML><HEAD><TITLE>TPC-W Home Page</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=big5">
    <META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
    <BODY bgColor=#ffffff>
    <H1 align=center>TPC Web Commerce Benchmark (TPC-W)</H1>
    <P align=center><IMG height=67 src="../tpcw/Images/tpclogo.gif"
    width=288 align=bottom border=0></P>
    <H2 align=center>Home Page</H2>
    <esi:include src="http://192.168.20.101:7777/j2ee/servlet/TPCW_home_interaction" />
    <TABLE ALIGN="center" BGCOLOR="#c0c0c0" BORDER="0" CELLPADDING="6" CELLSPACING="0" WIDTH="700">
    <TR ALIGN="CENTER" BGCOLOR="#ffffff" VALIGN="top">
    <TD COLSPAN="2" VALIGN="MIDDLE" WIDTH="300">
    <IMG SRC="../tpcw/Images/whats_new.gif" ALT="New Product">
    http://192.168.20.101:7778/home.html
    http://192.168.20.101:7778/home.html
    http://192.168.20.101:7778/home.html?test=test
    Will Web Cache from default install automatically cache the first url and the second url will just fetch the doc from cache?
    How about the third url? Will web cache fetch the cached contents or bypasses the cache?
    Will Web Cache caches the images files ?
    ../tpcw/Images/whats_new.gif
    Regards,
    SC

    I can't open any of the links you provided. Anyway, you need to set up caching rules in the config for whatever you want to cache, whether it's html files or gifs or whatever. Either that, or you need to use surrogate-control response headers.
    If you haven't already done so, my suggestion is that you read the relevant sections of the documentation and then follow up on this posting if you have further questions.

  • Is it possible to enable Web Cache gzip compression for 9iAS Disco Viewer?

    Hi,
    Sorry for repeating this question. But it's very urgent and we don't have any idea yet how to solve / work around it:
    To keep it short: Is it possible to use Web Cache gzip compression for pages rendered by 9iAS Discoverer Viewer???
    Our scenario: We have some Discoverer Worksheets which we want to access by ISDN dial in (64 kbit/sec). An average page needs 2 minutes only for sending the html/javascript output rendered by Disco Viewer to the client browser.
    To speed up the response time when users use this slow connection, we want to activate Web Cache gzip compression.
    The problem: But even when we enable Web Cache for Discoverer (configuration.xml and Web Cache rules), Web Cache doesn't compress pages generated by Discoverer Viewer. We found out that the generated responses contain the "content-disposition" HTTP-Header entry. Are we correct that this is the reason why there is no gzip compression? AND DOES ANYONE KNOW A WORKAROUND (p.e. configure Disco not to add the content-disposition http header)???
    Best regards,
    Matthias Scherer

    Matthias,
    Have you raised this as a TAR with Oracle Support? If you've got a specific question, and you need a definitive answer, raising a TAR is the best way to proceed.
    regards
    Mark Rittman

  • Is it possible to enable Web Cache gzip compression with 9iAS Disco Viewer?

    Hi,
    Sorry for repeating this question. But it's very urgent and we don't have any idea yet how to solve / work around it:
    To keep it short: Is it possible to use Web Cache gzip compression for pages rendered by 9iAS Discoverer Viewer???
    Our scenario: We have some Discoverer Worksheets which we want to access by ISDN dial in (64 kbit/sec). An average page needs 2 minutes only for sending the html/javascript output rendered by Disco Viewer to the client browser.
    To speed up the response time when users use this slow connection, we want to activate Web Cache gzip compression.
    The problem: But even when we enable Web Cache for Discoverer (configuration.xml and Web Cache rules), Web Cache doesn't compress pages generated by Discoverer Viewer. We found out that the generated responses contain the "content-disposition" HTTP-Header entry. Are we correct that this is the reason why there is no gzip compression? AND DOES ANYONE KNOW A WORKAROUND (p.e. configure Disco not to add the content-disposition http header)???
    Best regards,
    Matthias Scherer

    When you set the caching rules, you can also specify whether or not you want the pages to be compressed. Web Cache compresses html pages and relies on the accept-encoding: gzip from the client header to determine whether or not to send the content compressed.

  • Web cache limitation-can't add more than 6 cachebility rules

    Hi ,
    I am using 9iAS v10200 on winnt 4.0 server.
    But in webcache I could not able to add more than 6 cachebility rules. In 5 rules it is working fine. But after adding 6th rule, I was unable to edit,add,delete any rule from webcache admin (port 4000)
    Is there any way to increase the no.'s of cacheblity rules in this version of webcache.
    please reply immediately.
    Thanks in advance.
    yogesh

    My memory is a little bit fuzzy on this one, but I think the Web Cache 2.0.0.1 version that is currently available for download on OTN and Metalink fixes this NT UI problem. Note, it's a UI problem, not a limitation of the cache itself. Editing the webcache.xml by hand is a workaround, but you might as well install the 2.0.0.1 version to get the fix.

  • ADF application integrating with Oracle Web Cache

    Hello,
    I am trying to integrated my ADF 11g application with Oracle Web Cache. I used this link http://andrejusb.blogspot.com/2010/06/oracle-webtier-11g-configuration-for.html for it.
    I am able to access my ADF application using webcache port 7785.
    I created few caching rules in the Oracle Web Cache. And in the popular request section of the Oracle Web cache i see jpg,png and other image files cached.
    But the issue is when the application access images like /testapp/test/images/abc.jpg?_adf.ctrl-state=5b0s7lzfo_29 . I created a caching rule with regular expression ^/testapp/test/images/[A-Za-z0-9_]*\.(gif|jpeg|png|jpg)\?_adf\.ctrl-state=[A-Za-z0-9_]*$.
    But when i access the popular request in em i don't see the URL given above as cached. The caching reason it specifies as URL contains query string.
    I am not sure if i need to do anything additional to cache these URL's as well.
    Thanks!
    Ram

    Yes that works. But my question is how to cache the urls which has querystring. I was trying to give a regular expression to match the url so that the url which contains parameters like _afrLoop which changes with each HTTP request can also be cached.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Exporting web Dynpro content into ms-word

    Hi Experts,
    Any one can tell me how to export web Dynpro content (like tables and data etc) into ms-word document.
    Any help is greatly appreciated and rewarded.
    Regards,
    Jay

    Hi Varma,
    you can follow the thred,
    [http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/edc2f3c2-0401-0010-8898-acd5b6a94353]
    In this pdf this code is avaliable. please chek it this code
    public void Download_Reporting( com.sap.tc.webdynpro.progmodel.api.IWDNode dataNode, java.util.Map columnInfos )
        //@@begin Download_Reporting()
         byte[] excelXMLFile;
              IWDCachedWebResource cachedExcelResource = null;
              String fileName = dataNode.getNodeInfo().getName() + ".xls";
              try {
    //             create Excel 2003 XML data as a byte array for the given context node,
    //             attributes and headers
              excelXMLFile = toExcel(dataNode, columnInfos).getBytes("UTF-8");
    //             create a cached Web Dynpro XLS resource for the given byte array
    //             and filename
    cachedExcelResource = getCachedWebResource(excelXMLFile, fileName, WDWebResourceType.XLS);
    //             Store URL and file name of cached Excel resource in context.
              if (cachedExcelResource != null) {
              wdContext.currentContextElement().setExcelFileURL(
              cachedExcelResource.getURL());
              wdContext.currentContextElement().setExcelFileName(
              cachedExcelResource.getResourceName());
    //             Open popup window with a link to the cached Excel file Web resource.
              openExcelLinkPopup();
              } else {
              wdComponentAPI.getMessageManager().reportException(
              "Failed to create Excel file from table!", true);
              } catch (UnsupportedEncodingException e) {
              wdComponentAPI.getMessageManager().reportException(
              e.getLocalizedMessage(), true);
              } catch (WDURLException e) {
              wdComponentAPI.getMessageManager().reportException(
              e.getLocalizedMessage(), true);
        //@@end
    Here please check it this line  cachedExcelResource = getCachedWebResource(excelXMLFile, fileName, WDWebResourceType.XLS);
    here you can u put like this cachedExcelResource = getCachedWebResource(excelXMLFile, fileName, WDWebResourceType.DOC);
    Here different Options is avaliable please find it
    Hope it is help full for u
    Regards
    Vijay kalluri

  • Getting Error while installing oracle web cache

    Hi all,
    after installation of Oracle 9i Application Server version 1.0.2.2.2 on Windows 2000(NT based), while installing oracle web cache on AS following error appears after 96% of installation. Origin oracle database 10g is running on a separate PC in local network.
    Updating User List
    Adding users to the cache
    Adding users to the cache failed.
    Reason: WTE-03501 Error updating list of users:
    Export failed on origin database.
    OCI error - ORA-28595: Extproc agent : Invalid DLL Path
    ORA-06512: at "SYS.WTCSYS", line 3
    ORA-06512: at "SYS.WTCSYS", line 66
    ORA-06512: at line 1
    can anyone please solve this problem.
    thanks.
    regards.
    fahad ejaz
    email:[email protected]

    Hi Fahad,
    I am sorry I am not sure what the solution to your issue is. However, I was wondering why you are not attempting to install Oracle 10g as opposed to 1.0.2.2.2?
    I am guessng here but perhaps the 10g database is incompatible with a 1.0.2.2.2 install.
    Hopefully someone else may be able to provide more useful feedback.
    cheers
    Nick

  • Getting Error while installing oracle web cach

    Hi all,
    after installation of Oracle 9i Application Server version 1.0.2.2.2 on Windows 2000(NT based), while installing oracle web cache on AS following error appears after 96% of installation. Origin oracle database 10g is running on a separate PC in local network.
    Updating User List
    Adding users to the cache
    Adding users to the cache failed.
    Reason: WTE-03501 Error updating list of users:
    Export failed on origin database.
    OCI error - ORA-28595: Extproc agent : Invalid DLL Path
    ORA-06512: at "SYS.WTCSYS", line 3
    ORA-06512: at "SYS.WTCSYS", line 66
    ORA-06512: at line 1
    can anyone please solve this problem.
    thanks.
    regards.
    fahad ejaz
    email:[email protected]

    Hi Fahad,
    I am sorry I am not sure what the solution to your issue is. However, I was wondering why you are not attempting to install Oracle 10g as opposed to 1.0.2.2.2?
    I am guessng here but perhaps the 10g database is incompatible with a 1.0.2.2.2 install.
    Hopefully someone else may be able to provide more useful feedback.
    cheers
    Nick

  • Portal works bad with Web Cache

    I'm creating a web page using the Portal. I add new items to the page in the Layout view, but I can't see this new items in the Graphical view or in the View page. To my surprise this pages are cached in the Web Cache even I haven't create any rule for them, they appear as cached but without using any rule. Any idea?
    thanks.

    The following doc. might help you in how portal uses webcache for caching.
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/OWCOPENHAGEN/30753_FINAL.PDF
    The following doc. will help you with the Config. of the WebCache with the Portal
    http://portalcenter.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/CONFIGHTML/toc.htm
    - Senthil

  • Discoverer Servlet with Web Cache gzip Compression

    Hi,
    we have some Discoverer Worksheets which we want to access by ISDN dial in (64 kbit/sec). To speed up the response time when users use this slow connection, we want to activate Web Cache gzip compression.
    But even when we enable Web Cache for Discoverer (configuration.xml), Web Cache don't compress pages generated by Discoverer Viewer. We found out that the generated responses contain the "content-disposition" HTTP-Header entry. Are we correct that this is the reason why there is no gzip compression? AND DOES ANYONE KNOW A WORKAROUND???
    Best regards,
    Matthias Scherer

    When you set the caching rules, you can also specify whether or not you want the pages to be compressed. Web Cache compresses html pages and relies on the accept-encoding: gzip from the client header to determine whether or not to send the content compressed.

  • Web Cache and cookies - need to understand a bit more!

    FROM THE ORACLES DOCS
    If a document contains a cookie, then Oracle Web Cache evaluates the cookie value of the browser request and application Web server response. If the values match and there is a corresponding cacheability rule, then Oracle Web Cache caches the response. Because a session value change does not necessarily indicate a change of state on the application Web servers, session cookie values are not evaluated. For documents that use these cookies, the response is cached, regardless of whether or not the cookie values match.
    OK so does this mean that if I have a site that has a single persistent cookie that say contains the username and the cookie is global over the site i.e. its set for the root "/" then inheritently WebCache cannot cache any page on this site even if the cacheability rule make no mention of cookies as the request and response cookie will be different ie user "bill" goes for first page and WC caches it then user "larry" asks for a page and becuase the request cookie is "larry" and the response is "bill" then it wont cache it even though this particular pages content may make no use of the cookie value.
    Also does it mean that if I have a session cookie say for "authenticated" even if I have expressed that the cookie be used to cache different version of the page its no use WebCache will ignore it and simply cache one version for all even though this particular page maybe be different for authenticated and non authenticated users.
    Sorry but its not clear just how WC works with cookies.
    Thanks for any assistance
    Rob

    I asked one of the developers about this and here is the
    response:
    "I think he was not clear on 2 points:
    1) we do not store any "Set-Cookie" header from the response.
    all such headers are stripped when the document is inserted;
    2) cookie comparison is only performed when we receive a response
    from the os. On cache hits, no such comparison happens -- we
    don't have anything to compare against as the cached documents
    never contain any Set-Cookie headers
    So in his example, after the response to Bill's request gets
    cached (it's cached only when the non-session cookies in his
    request and response match), Larry's request for the same URL
    will get the cached document WITHOUT the "Set-Cookie" header. So
    Larry gets a cache hit and his cookie will not get overwritten by
    Bill's.
    Now in 9.0 (the upcoming release), the cookie value comparison
    only happens for multiversion cookies. So we are relaxing a bit
    in that sense and will cache more documents than before.
    As for his second part of the question (the authentication cookie
    part), I'm not sure what exactly is the application behavior. Do
    only authenticated users have the session cookie? If that's the
    case, then, he can define a session caching rule to say "cache
    with session, and cache without session, and the 2 versions are
    different" (3 YES' on the 3 session definition questions). Then
    we'll cache a version for the authenticated users (with session)
    regardless of the session value, and another version for the
    non-authenticated users(without session).
    If, however, both authenticated and non-authenticated users have
    the same session cookies with different values, and all
    authenticated users map to one version of the doc and all
    non-authenticated users map to another, then Web Cache can't
    currently handle this. This is basically a multiversion cookie
    rule, with some grouping of cookie values, which we don't support
    yet."

  • How To Increase WEB CACHING HITS

    Hello All,
    I have configure WEB CACHING on my TMG Server 2010 , Full fill all requirements as WEB CACHING Needs but still cache results are not well GOOD.
    I Tired Different type of rules but still cache utilization is around 3 to 4 % and internet traffic goes 97 %
    Is there any technique to more utilization of  WEB Caching.

    Hi,
    You could have a look at the rule in the following blog.
    Configuring Forefront TMG 2010 as a Web Caching Server
    http://www.msserverpro.com/configuring-forefront-tmg-2010-as-a-web-caching-server/
    Note:
    Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Web cache crash after serving first request from Mozilla browser

    Observing this with version 2.0.0.0.0 of the web cache. The first request from a Mozilla browser is successfully responded to - snoop output shows html delivered correctly in response to the GET. Immediately after that request is satisfied, the webcached is not running, with no core file or mention in event_log as to what could be wrong even in verbose mode -- last mention in the event log is "cache inserted one file '/foo.html' in bucket 47630".
    The problem occurs even with default cacheability rules- changing expiration rules seems to make no difference.

    There were some problems with the 2.0.0.0.0 version with regard to the size of response headers. Please download the 9.0.2.0.0 version and see if that fixes the problem. This is the version you should be evaluating anyway. 2.0.0.0.x is over a year old now and 9.0.2.0.0 has undergone more testing and trial deployments than in previous releases.

Maybe you are looking for

  • Why does my Western Digital drive freeze my OSX

    Hey all! I'm in a bad spot. Yesterday I was going through files on my 6TB western digital my book hard drive connected to my old iMac running snow leopard. I had been playing many different movie files from my camera in quick time player to categoriz

  • Installing Mac OS X on an external hard drive

    Due to failure of the internal hard drive, I´m trying to install Mac OS X Tiger on an external hard drive to boot my mini with it. It´s a 40GB USB Lacie. I think it´s been partitioned and formatted correctly (two partitions, one of them with Journali

  • Monitor for DSO Activation

    Hello friends ... I need to monitor the activation of a DSO object. the load of the DSO is complete, the activation process is running, but not many take for complete activation. thanks everyone!

  • Organizational unit's attributes

    Hi! How can i to see the organizational unit's attributes ? For example in the transaction ppoma_crm , subscreen function, radiobutton service, local service organization. I need this information in a very technical level, tables, function modules...

  • HT4913 music not categorized in my library on ipad

    Suddenly a large amount of albums, artists, etc that were categorized and could be found searching by genres and by artists no longer appear in those categories and can only be found by searching by albums. This just happened the last time I synced a