Clear Report cache directory

Hi,
We are running 12.0.4 EBS version. I want to clear the reports cache directory (/apps/oracle/PROD/inst/apps/PROD_glapp/logs/ora/10.1.2/reports/cache). It has large number of PDF and XML files. How can I delete them since 'rm' command is giving error 'Argument list too long'.
Is same process for clearing reports cache can be used to clear the concurrent cache. It also has large number of out put and log files.
Regards,
Farhan Ali

For concurrent manager, you should be running the job "Purge Concurrent Request and/or Manager Data Program " as described in "Concurrent Processing - Purge Concurrent Request and/or Manager Data Program (FNDCPPUR)" [ID 104282.1]
For Reports cache, please review "Reports Cache Directory in Oracle E-Business R12 is Growing Rapidly" [ID 859255.1] as following this note should allow the files to be controlled automatically in future
With regards to your specific question, the issue is with the "rm" command not being able to cope with the number of files. One easy way to deal with it, is to provide a shortened list to the rm command... for example
rm a*.pdf
rm b*.pdf
rm z*.pdf
You could automate this slightly, but I would be nervous to do so without testing, and it will surely be quicker to type the rm command multiple times than to write and test a script :)
Hope this helps
regards
Mike

Similar Messages

  • Clear Reports cache after running report

    Hi
    Is there any way I can programmatically clear the reports cache on the 9iAS server once the report has been run ?
    I am using web.show etc in my forms and would like to delete the report once I exit the form.
    I have the jobid - but how does that relate to the physical file on the disk ?
    Ideas anyone ?
    Andrew

    I am having the same problem.
    I manage a database with highly confidential data that has forced me to implement a Virtual private database (VPD) on Database 9i release 2.
    Once users run their reports, copies are saved on the reports cache on Oracle9iAS. The reports in the cache can be viewed by anyone who knows the URL http://my9iASserver_name:7778/reports/rwservlet/getjobid1?server=myrepserver_name
    without the need of authentication (username and password).
    This negates the work I have done on the VPD, moreover everyone including the intenal auditors think that the system is bogus since a user can access information that does not belong to them without being restricted.
    The solution I require is either to bypass the reports cache (or any other cache involeved including the web cache), or if this is impossible, then a program to delete any report as it hits the cache. So that at any given second, the reports cache is empty.
    I am also aware that the minimum time you can schedule a task on the windows scheduler is 1 minute which is too much.
    At this time, my focus is not the performance of the Oracle9iAS but its security and management does not care how slow it becomes as long as it is secure
    Your help is appreciated

  • Regarding reports cache

    Dear all,
    In appsTier in the directory $INST_TOP/logs/ora/10.1.2/reports/cache I have more than one lakhs file in formats txt and xml which are generated from the day instance was created and the size of cache is 9.5 Gb, should I delete them or are they necessary.
    Regards,
    Charan

    Pl post details of OS, database and EBS versions.
    Pl see
    EBS R12 Oracle Reports Cache Directory Not Being Cleaned Up (Doc ID 1062825.1)
    Reports Cache Directory in Oracle E-Business R12 is Growing Rapidly (Doc ID 859255.1)
    How To Delete The XML, TXT Files From /U02/Inst/Apps/Prod_prod/Logs/Ora/10.1.2/Reports/Cache (Doc ID 1200864.1)
    Re: removing files in R12 from reports cache
    HTH
    Srini

  • Clear cache report file directory

    i have notice taht after execute a report (pdf file in cache directory of report server) the file remain in this directory, and if anyone change the objectid(n) cab view the report of an other person.
    This is thery dangerous : i ask if it is possibile to clear the file after a user have displayd it in his client adobe reader ????
    Thank's !!

    hi,
    any solution on this issue?
    tnx,
    T.

  • How To Clear The Web Intelligence Report Cache in BO 4.0 Linux

    Hi Experts,
    I have followed the SAP Note 1207029 to Clear The Web Intelligence Report Cache in BO 4.0 Linux, but in the note they have mentioned the path of BO XI 3.1 that doesn't exist in BO 4.0.
    Given Path in the note: <installation directory>/useraccount/xir2/bobje/data/computername_50064/storage/docs
    In BO 4.0: Inside Installation directory theres no useraccount directory.
    Please anybody tell me the path of BO 4.0 in the linux server to clear the WEBI report cache.
    Thanks in Advance,
    Gandhi

    This would be your path
    <install_dir>/bobje/data/<cms_port/storage//docs

  • Clear wsdl cache from java

    hi ,
    I am trying to clear wsdl cache from java , some errors are coming,
    Please any one help me
    this is my code
    package bpeltest;
    import com.oracle.bpel.client.BPELProcessId;
    import java.util.Properties;
    import com.oracle.bpel.client.IBPELDomainHandle;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.ServerException;
    public class UnDeployBPELProcess {
    public static void main(String[] args) throws ServerException {
    UnDeployBPELProcess unDeployBPELProcess = new UnDeployBPELProcess();
    //Properties with BPEL server connection information
    Properties props = new Properties();
    props.put("orabpel.platform", "ias_10g");
    props.put("java.naming.factory.initial", "com.evermind.server.rmi.RMIInitialContextFactory");
    props.put("java.naming.provider.url", "opmn:ormi://EC3-VEDARRA:6005:home");
    props.put("java.naming.security.principal", "oc4jadmin");
    props.put("java.naming.security.credentials", "oracle1");
    props.put("dedicated.connection","true");
    //Get a locator in default domain
    Locator locator = new Locator("default","oracle1",props);
    //Get a handle to the domain
    IBPELDomainHandle iBPELDomainHandle = locator.lookupDomain();
    iBPELDomainHandle.undeployProcess(new BPELProcessId("default","MyUndeployedBPELProcess"));
    System.out.println("iBPELDomainHandle" + iBPELDomainHandle);
    iBPELDomainHandle.clearWSDLCache();
    compilation errors:
    C:\jdevstudio10131\jdk\bin\javaw.exe -client -classpath C:\jdevstudio10131\jdev\mywork\javatest\BPELTest\classes;C:\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel.jar;C:\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-common.jar;C:\product\10.1.3.1\OracleAS_1\j2ee\home\lib\oc4j-internal.jar;C:\product\10.1.3.1\OracleAS_1\opmn\lib\optic.jar;C:\jdevstudio10131\j2ee\home\lib\ejb.jar -Dhttp.proxyHost=157.204.22.4 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.2o7.net|32.85.*|chipsndip|157.204.*|localhost|127.0.0.1|*.wlgore.com|EC3-VEDARRA|tigger -Dhttps.proxyHost=157.204.22.4 -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=*.2o7.net|32.85.*|chipsndip|157.204.*|localhost|127.0.0.1|*.wlgore.com|EC3-VEDARRA|tigger bpeltest.UnDeployBPELProcess
    Exception in thread "main" java.lang.Exception: Failed to create "ejb/collaxa/system/FinderBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/FinderBean not found
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupFinderBean(BeanRegistry.java:337)
         at com.oracle.bpel.client.Locator.getFinder(Locator.java:920)
         at com.oracle.bpel.client.Locator.lookupDomain(Locator.java:228)
         at bpeltest.UnDeployBPELProcess.main(UnDeployBPELProcess.java:29)
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:82)
         at com.oracle.bpel.client.Locator.getFinder(Locator.java:926)
         at com.oracle.bpel.client.Locator.lookupDomain(Locator.java:228)
         at bpeltest.UnDeployBPELProcess.main(UnDeployBPELProcess.java:29)
    Caused by: java.lang.Exception: Failed to create "ejb/collaxa/system/FinderBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/FinderBean not found
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupFinderBean(BeanRegistry.java:337)
         at com.oracle.bpel.client.Locator.getFinder(Locator.java:920)
         at com.oracle.bpel.client.Locator.lookupDomain(Locator.java:228)
         at bpeltest.UnDeployBPELProcess.main(UnDeployBPELProcess.java:29)
         at com.oracle.bpel.client.util.BeanRegistry.lookupFinderBean(BeanRegistry.java:351)
         at com.oracle.bpel.client.Locator.getFinder(Locator.java:920)
         ... 2 more
    Process exited with exit code 1.
    and one more
    where we find thiis value
    "java.naming.factory.initial"= "com.evermind.server.rmi.RMIInitialContextFactory"
    Regards
    janardhan

    I think there is error with this line in code
    props.put("java.naming.provider.url", "opmn:ormi://EC3-VEDARRA:6005:home");
    Please see the post for details
    http://oraclebpelindepth.blogspot.com/2008/08/bpel-context-properties-for-client-api.html
    The value should be
    props.put("java.naming.provider.url", "opmn:ormi://EC3-VEDARRA:6005:home/orabpel");
    Every Little Helps
    Kalidass Mookkaiah
    http://oraclebpelindepth.blogspot.com/

  • Is there a way to set maximum cache size or to change default cache directory to sd card on Android?

    I'm low on space in my Android Phone and Firefox Cache is huge by my phone standards. I have to clear data after each time I use firefox. Firefox is great but I'm using it less and less, day by day. I browsed Internet for tips, but while I was able to set a cache directory on sd card using "about:config", it still writes on phones internal too. It seems it duplicated cache.
    Setting a different max size using "about:config" only works temporarily, because it seems Firefox returns to default after a while.
    Thank you.

    Hello.
    To help automatically clear up some cache from Firefox, click on each of the images from left to right. Now at least you won't have to constantly do it yourself.
    Also, to help you with your space issues, download Clean Master from the Google Play app Store: https://play.google.com/store/apps/details?id=com.cleanmaster.mguard this app will clean up hidden cache and useless files on your phone, helping free up space.
    And as for why Firefox keeps reverting to the default cache in "about:config", I do not know. We are sorry for any inconveniences that this has caused you. But please try doing what was mentioned above to help with your issue.
    Hope this helps!

  • BI Publisher Reports Cached on Client

    Hi,
    I've noticed that when running a BIP report there is a pdf cached on the client. The pdf/report is stored in the following locations depending on the browser used.
    Using I.E.
    C:\Documents and Settings\user\Local Settings\Temporary Internet Files\Content.IE5\S1M3O9IR
    Using FireFox
    C:\Documents and Settings\user\Local Settings\Temp
    Is it possible to run a BIP report and not have it cached on the client?
    I'm concerned about these files being outside the security defined in my APEX applications. At our company we have some employees sharing workstations. So one employee may have access to run a report while another employee would not. However, when the pdf file lands in the cache directory on the local machine the file is outside of the security of the APEX application.
    Todd

    Hello,
    At our company we have some employees sharing workstations.
    So one employee may have access to run a report while another employee would not.Do you mean sharing workstations or sharing accounts?
    If they are sharing workstations but using their own logons, then there shouldn't be a problem as they should not be able to see the other users files (assuming correct setup).
    If you have the situation where people are sharing accounts (or worse...using auto-logins on the machines), then I guess the PDF's being cached is the least of your problems ;)
    John.
    http://jes.blogs.shellprompt.net
    http://apex-evangelists.com

  • Cache directory structure

    I clear my Cache regularly (with EACH shutdown at minimum). I am aware of and use the Cache location setting "browser.cache.disk.parent_directory".
    Is there a setting to go back to the Cache directory structure of 3.6?
    I am not experiencing Cache access disk slowdown issues and I liked the single directory structure.

    No. That new structure was created to allow more and larger files to be cached and overcome the limitations of the cache that is used in older Firefox versions.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=597224 Bug 597224] - HTTP Cache: use directory tree to store cache files

  • Custom assembly & Report Caching

    Our reports are using a custom assembly which encapsulates some common functionality. The problem is that report caching stopped working since we've implemented this cahnge.
    We can still activate caching via "Manage processing options" --> "Use cached data"... but it doesn't work. Reports are using live data instead of cache.
    Any idea?
    Thank you in advance.

    Hi stanhe,
    Based on the limited information you provide, we cannot figure out what happened for the cache. Here are some suggestions you can do first:
    Check the cache config from reporting service database as the steps:
     1. Find the [Path] value of the issued report from table [dbo].[Catalog],
     2. Execute the stored procedure GetCacheOptions with the [Path] as parameter value.
    If there is no result returned, it means the report use the live data. You can try to clear the cache of the browser and reopen the web to re-configure the cache.
    If there is a cache setting, check whether the setting is correct or not and whether you have configure any cache refresh plans.
    If you do confirm that all the cache settings are correct but the report still uses the live data, please provide more detailed information for us to trouble shoot as:
     1. What is the custom assembly and how it is used in your report.
     2. Your database and reporting services version.
     3. All the configurations in "Manage processing options" page and "Manage cache refresh plans" page.
    Best Regards,
    Wynn

  • Environment / Clear SLD cache

    Hi,
    I am trying the FIlE to IDOC scenario,
    integration Directory-> Integration scenario -> Service With out party -> Assign Business system....  In the wizard the Business system i have created is not displayed even after a Environment / Clear SLD cache.
    Kindly let me know how to get it or proceed to the next step.
    ( I am following TBIT40 as reference.)
    Regards
    Santosh  B

    Hi,
    as it's a new installation, you certainly missed something. have you did controls of Readiness Check doc and tcode SLDCHECK ([see PI 7.1x oss note|https://service.sap.com/sap/support/notes/1143810]).
    and check these post installation controls (but it's for PI 7.1): [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60d2a693-9504-2b10-5ba7-82964bd8370e?QuickLink=index&overridelayout=true]
    Mickael

  • Clearing Safari Cache Automatically when it Quits

    I work for a school district that uses Safari 2.0.4 on eMac’s running 10.4.7 and 10.4.8 and the students have their network home folders located on a 10.4.8 Server.
    I would like to have Safari clear its cache every time a student quits Safari or logs out, but don’t see a way to have this done automatically. Is there a script or utility out there that clears the cache automatically?
    Thanks for the help!

    Hello again,
    Ok, let's give this a go then
    Personally, for editing scripts I like to use the command line 'vi' editor, but for starting with that may scare you off so lets use the regular TextEditor application for the time being.
    Fire up TextEditor and open a new document. Change the type of the document to be a plain text file. This can be done via the Format menu -> Make Plain Text option (if it says Make Rich Text, then the file is already in plain text mode).
    In the editor, copy and paste the following, but remove the line numbers I've added:
    1 #!/bin/bash
    2
    3 logFile=/tmp/SafariCleanerLog.txt
    4
    5 echo "-----------------" >> $logFile
    6 echo `date` >> $logFile
    7 echo "" >> $logFile
    8 echo "Deleting Safari cache files in: $HOME/Library/Caches/Safari/" >> $logFile 2>&1
    9 echo "" >> $logFile
    10
    11 rm -rf $HOME/Library/Caches/Safari/* >> $logFile 2>&1
    Some lines may appear to wrap around in the webpage, so use the line numbers as your guide to know if something is supposed to fit on one line or not.
    This is what it does:
    - The 1st line indicates what particular shell application to use to execute this script (/bin/bash in this case)
    - The 3rd creates a variable that I'm using to store the path to a log file for what this script is doing
    - Lines 5 to 9 append some logging information to the logfile we've decided to report to
    - Line 11 does the actual deletion of the Safari cache files. rm is short for remove, aka delete, and the -rf means recursively (i.e. all subdirectories in the Safari cache folder) and forceably (i.e. don't askif you are sure for each and every file). The cryptic 2>&1 at the very end is to make any error messages that rm might generate appear in our logfile. If you try out the commands to see how they work, please please please be very careful with rm, once a file has been rm'ed its gone - it doesn't go to the Trashcan
    Note that if you want to see more about what each of these commands do, you can use the man pages either from the Terminal itself or here. ('echo' is a built-in command to bash, so you would need to read the bash manpage for information on that)
    Ok, so now we have a script. Save that on your Desktop with a name that makes sense for you (e.g. SafariCacheCleaner.sh - sh is the standard extension used to indicate something is a script, it's not required)
    Now we need to execute a few Terminal commands to make this work when a student logs out. Fire up the Terminal from /Applications/Utilities/Terminal.app
    The first thing we need is somewhere to place the script that is out of bounds to regular users, students, etc. OS X already has an area for scripts in /Library/Scripts/, so you may want to create your own area under this folder. For example, I created a 'Custom' folder via the following:
    sudo mkdir /Library/Scripts/Custom
    You may want to replace Custom with something else, like SchoolAdmin for instance. sudo is a command that gives the executor temporary administration rights. When you press return after typing the above command, you will be asked for a password - enter the password for your current user account and press return (note that you will not see anything appear in the Terminal while you are typing, this is a security feature).
    Next up, we need to copy the script to this location and give it the correct permissions to be executed:
    sudo cp ~/Desktop/SafariCacheCleaner.sh /Library/Scripts/Custom/
    sudo chmod 755 /Library/Scripts/Custom/SafariCacheCleaner.sh
    In this case, sudo will probably not prompt you for the password as it trusts access for a few minutes. If you leave things for, say, 10 minutes, it would ask you for your password again.
    cp is the command for copying files/folders.
    chmod is used to change permissions on a file. In this case, 7 means the owner of the file can write/read/execute the file, the first 5 means anyone in the same unix group as the owner can read/execute the file and the second 5 means everyone else can read/execute it.
    Lastly, we need to tell OS X that we want this script to run everytime a user logs out. This can be done with the following command (this is one long line that the browser may wrap):
    sudo defaults write com.apple.loginwindow LogoutHook /Library/Scripts/Custom/SafariCacheReset.sh
    Hopefully, that should be it. You can test it out by logging out of your account and logging back in. The /Users/YourUsername/Library/Caches/Safari/ should be sparkling clean now.
    I've tried to be a bit verbose to explain what's going on, so it's not as complex as it may look at first.
    If you have any questions at all, feel free to ask - it's better to be sure of what you are doing when it comes to the Terminal sometimes.

  • How to clear the cache files in folder Temporary Internet Files

    When one user opens files such as pdf. or doc. from Portal,  the same file will be downloaded into the Temporary Internet Files folder. if another user copied the files out of the Temporary Internet Files folder from this computer and save to someplace else, then we face one security problem.
    So my question is: How to clear the cache files in folder Temporary Internet Files??  Can we delete the files automatically when close the files in Portal??
    or is there some ways to make encrypty???
    Thanks very much!

    Hello,
    this is a basical security problem which should be resolved by the OS standard security setup . No other user should have access to the temporary file folders in the personal directory. The user account must be secure. Normaly your security problem should not be a problem if basic security exists on the clients.
    You can resolve this problem if every user has his own account on the client
    The users having no administration permissions on the clients
    The folder for the temporary internet files is placed in the personal profile folder of the user account.
    On default no other user has access rights to you personal folder, this means the client OS is setup correctly.
    You can setup the IE that no temporary files are saved (but it reduces performance)
    You can enable IE to delete automaticly the temporary files if IE is closed.
    Hope it helps.
    Regards
    Alex

  • If I clear browser cache, will it delete my opened tabs?

    I have many opened tabs. Now I need to clear the cache. If I do this, my opened tabs will be lost or not?

    If you value your currently open tabs then you can either right-click the Tab bar and choose "Bookmark All Tabs" to bookmark the currently open tabs or you can create a backup copy of the sessionstore.js file in the Firefox Profile Folder to be able to restore a session in case of problems.
    *http://kb.mozillazine.org/sessionstore.js
    *http://kb.mozillazine.org/Session_Restore
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder
    If you use "Clear history when Firefox closes" to clear the "Browsing History" then you will lose open tabs.<br />
    It shouldn't happen under other conditions unless you close a window to quit Firefox via the close X on the tittle bar and had missed that there are other windows still open. You can avoid such an issue by always using the Exit Firefox command in the Firefox or File menu.
    *Tools > Options > Privacy: History: [X] Clear history when Firefox closes > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History

  • I have a Quicktime video posted on my website. It plays perfectly in Safari but won't reload in Firefox unless I clear the cache.  I have Firefox 4.0.1, Quicktime plugin 7.6.6 and Quicktime Pro 10.0..

    I have a Quicktime video posted on my website. It plays perfectly in Safari but won't reload in Firefox unless I clear the cache.  I have Firefox 4.0.1, Quicktime plugin 7.6.6 and Quicktime Pro 10.0..

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

Maybe you are looking for