Error in Cache purge using nqCmd.exe

Hi,
While excuting the nqCmd.exe giving error as shown below.
!http://img685.imageshack.us/img685/5373/capture2pm.png!
PurgeAllCache.sql is shown below.
!http://img685.imageshack.us/img685/1791/capture4h.png!
How to eliminate the error and purge the cache.
Thanks.

Don't extend your file with .sql, try .txt instead
see http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1.html
regards
John
http://obiee101.blogspot.com

Similar Messages

  • Cache Purging Using Event Poll Table

    Hi Experts,
    We are Facing a problem when we use the event poll table to purge the cache using OBIEE (10.1.3.4.1). The Oracle BI Server goes down for the polling frequency that has been set. However when we use the same with OBIEE 10.1.3.4.0, the purging happens without any problems.
    Please give me suggestions on this
    Thanks&Regards
    Naresh

    HI Naresh,
    I am interested in your purging mechanism of the OBIEE cache. Can you please let me know how to do the cache purging. Also, can you please provide pointers on cache purging manually would be appreciated.
    Thanks in Advance
    svr

  • I use blackboard, since the latest update to 3.6.14, I get errors with caching applets, use IE and works fine. Whats happened and what can I do to resolve it?

    Error Cache:
    Unable to update files in cache.
    Name: myApplet
    java.net.MalformedURLException: no protocol: jar/dragndrop_applet.jar
    I get a bunch of these Cache Errors. Happens with application only, its blackboard hosted by continuinged.uml.edu.
    Run the same thing using IE it has no problems. Firefox till the latest upgrade was also working fine.
    What can I do to resolve this problem?

    There's a bug in 3.6.14 with Java applets. 3.6.15 was released last Friday to fix that bug. Use '''Help > Check for Updates''' to start the update process to 3.6.15.

  • Implementing Automatic cache purging

    Hi All ,
    I want to implement Automatic cache purging using Event pooling table in obiee..
    i have followed one site, in that they asked me to crated one table in database ... table columns are as follows
    1.update_type
    2.update_date
    3.databasename
    4.catalogname
    5.schemaname
    6.tablename.
    here i am having one doubt .. in my rpd , i am having two tables which are using in 4 catalogs . so.. my doubt is .. how should i came to know the table has come from particular catalog .. then i should i populated the catalog names in backend table ..
    if any one knows please let me know.
    Thanks
    Sree

    Hi,
    The below links should help you
    http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1.html
    and
    http://oraclebizint.wordpress.com/2007/12/18/oracle-bi-ee-101332-scheduling-cache-purging/
    To purge the cache automatically you have to set the cache persistent time in the tables present in the physical layer. There you can mention the time after which you want to purge the cache. The steps are provided below:
    1. Double click on the table in the physical layer.
    2. Select the General tab.
    3. Select the Cacheable option.
    4. Select the Cache Persistent time.
    5. Specifiy the time interval when you need the cache to be refreshed.
    You have to do the same for all tables for which you want to purge the cache
    Thanks
    Deva
    Edited by: Devarasu on Sep 28, 2011 2:39 PM

  • Using nqcmd command to purge cache

    Hi,
    I'd like to ask a question,
    in OBIEE11G, I need to use nqcmd command to purge cache,
    in server I run below commond:
    nqcmd -d coreapplication_OH1568635987 -u weblogic -p weblogic1 -s C:\purgecache.txt
    in purgecache.txt is following command:
    call sapurgeallcache()
    it's ok in server,
    now I want to run this command in other machine,like I want to use informatica to invoke this commant to purge cache in schedule time.
    how to do it?
    thank you in advance!

    lets assume the column name is etl_end_time
    Agents can be controlled using reports(analysis in 11g). There is a Condition tab while creating agents which can be used to control agents based on output of the report.
    Lets say u create a dummy report. In that you are putting some dummy column. In the Edit formula dialog, use the TIMESTAMPDIFF function to compare your etl_end_time and current_time.
    Lets say you are setting the TIMESTAMPDIFF function to return the difference in minutes. Then create a filter on this column with operator as greater than or equal to and value as say 1 minute( this is ur choice)
    So this report will now return true when the difference between the time stamps is greater than 1 minute (which means it will become true 1 minute after the etl is over). Suppose you configure the agent to check the condition every 1 minute then at one point when the agent runs, this report will return true and agent is triggered
    This agent will then call you purge command
    You can of course add another filter to the dummy report as less than or equal to 5 minutes because the timestamp difference of the current time and the previous etl runs will also be greater than 1 minute ;) So to make sure only the latest etl end time is used you can add a second filter as just said.
    Phew.. :) hope I made myself clear

  • Error when running a script using upsshell.exe

    I have a simple custom script which is
    Sub Test1()
    Set fso=  CreateObject("Scripting.filesystemobject")
    Set ts = fso.CreateTextFile("D:\DATA\****\Outbox\Templates\Test.txt")
    ts.writeline "hi"
    End sub
    When I am running it manually in workbench, the script runs fine but when I try to run it using upsshell.exe(command provided below)
    D:\Oracle\MIDDLE~1\EPMSYS~1\products\FINANC~2\SHARED~1\upsShell.exe CustomScriptEx=****~admin~****~~****~D:\DATA\test\Outbox\Logs~Test1~1033~0
    i get the following error
      ERROR:
        Code............ 438
        Description..... [Script failure caused error]: Object doesn't support this property or method
        Procedure....... modupsShell.ExecuteCustomScriptEx
        Component....... upsShell
        Version......... 1112
        Process ID...... 292496
        Thread.......... 290292
      IDENTIFICATION:
        User............ admin
        Domain..........
        Computer Name... *******
        App Name........ ****
      PROCEDURE STEPS:
        1-Split Arguments
        2-Create Load balancer=*******
        3-Authenticate
        4-Get Next App Server
        5-Open App Server=*******
        6-Execute the script=Test1
        7-Step was not reached, a previous step failed
    Any ideas on the error?

    Hello Verdulken,
    I have a few additional questions:
    Does your application function correctly when running the LabVIEW operator interface you have created as a VI in the LabVIEW development environment (i.e. does this problem only occur when the LabVIEW operator interface is run as an executable)?
    What is the error that you are receiving?
    Regarding the VI that you open programmatically, do you open it in a visible manner (i.e. use the Show front panel when called option from VI Properties)?If so, do you also close this VI after it finishes (i.e. use the Close if originally closed option from VI Properties)?
    Does the error occur on the step that calls this very same VI again later in the sequence?
    Does your application function correctly if you use the development adapter for all of your calls?
    Thank you in advance for this information,
    Matt G.
    National Instruments
    Applications Engineering

  • How to solve "Error: Invalid Embed directive in stylesheet - can't resolve source" while building using mxmlc.exe on command prompt

    Hi,
    Currently, I am developing a powershell script for Flex build automation.
    I found some problem and have been trying to search any references and tried any ways to fix it but It did not work.
    I am using compc.exe for compiling the libraries and it works fine.
    I compiled css files into swf files using mxmlc.exe and it works fine.
    However, I have a problem while building my main application (mxml file).
    It complains about embedded resources.
    I run this command, it works fine:
    "C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\styleLang.css" -output "C:\{somePath}\FlashClient_deploy\styleLang.swf"
    However, when I tried to run these command on cmd for testing:
    "C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\FlashClient.mxml" -load-config "C:\{somePath}\FlashClient\src\dump_config_temp.xml" -output "C:\{somePath}\FlashClient_deploy\flashclient_test.swf"
    I got a lot of this error message:
    this is my folder structure:
      FlashClient
      |
      |---assets
      |---src
          |
          |---FlashClient.mxml
          |---FlashClient.as
          |---FlashClientStyleLoopup.css
          |---styleLang
    Already tried to add / at the beginning of the relative paths but It did not work.
    Also tried to compile one of the image to a swc file and include it on the dump_config, but also did not work. something similar with Tech Diary: Flex : Solution to Error: unable to resolve '/assets/icons/icon.png' for transcoding using Embed tag
    Does anyone know how flex builder resolve the relative path to make the embedded resources work? or how to fix this?
    I've been trying to work on it for days but haven't had any luck.
    Will be really appreciate it if someone could help me with this.
    Many Thanks.

    Hi,
    make sure you are using 32 bit Java JDK. Check that your systems variables CLASSPATH, JAVA_HOME are pointing to correct 32 bit Java JDK folder (e.g. CLASSPATH=C:\Program Files (x86)\Java\jdk1.8.0_25 and JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_25). Also make sure you have 32 bit Java JDK's "bin" folder in your system's variable PATH.

  • Cache purging in RPD using Event polling table

    Hi All,
    We have a star schema implemented with few dimension tables and one fact. I am trying to implement Cache management using Event Polling table concept.
    During validation,
    1. Created and ran an adhoc user report
    2. Inserted a record in event polling table with one of dimension table(not fact) of star schema used in adhoc reporting.
    3. Cache in the RPD doesn't get purge.
    Also i have tried validating by inserting a Fact table in Event polling table for which cache gets purged in the RPD within certain interval of time.
    Please help , why dimension tables inserted in Event Polling table and the corresponding RPD query is not getting purged.
    Thanks,
    LonaD

    I can't help you with why this happens, but we experience the same behavior in our environment.  I've always chalked it up to either bad design in the cache polling feature or a bug.
    To work around this, in the past we've used one of these two solutions -- (1) Schedule a daily cron job to clear the entire cache sometime after your nightly ETL refresh usually completes (2) Have your nightly ETL refresh trigger a clear of the entire cache as the last thing it does.  This way, your cache is cleared for most queries on a fact by fact basis, and the dimension-only queries (and anything else left over) get cleared at the end.
    If you figure out a way to do this via the event polling, I'd love to hear it.
    Tony

  • "please use setup.exe for installati​on instead of blackberry desktop software.m​si" error when trying to install the software through 610_b038_m​ultilangua​ge.exe

    "please use setup.exe for installation instead of blackberry desktop software.msi" error when trying to install the software through 610_b038_multilanguage.exe
    I need to install this so that i can transfer my contacts and calendar to my laptop

    Hi and Welcome to the Community!
    Sorry to be dense, but what happens when you do exactly as the message instructs?
    Thanks!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to purge data cache table using command line

    Hi:
    Is there a way to purge the data cache table using command line?
    thanks!

    Thanks, Mike.
    I'm thinking about the ldconsole provided with ALDSP.
    The ldconsole has a link for purging the cache. Is there anything I can leverage from there? Is it a JMX component that I can call?

  • Error msg = pls. install/uninstall the product using setup.exe in the root folder

    unable to install photoshop elements v10 on a windows 7, ultimate 64bit computer, get:
    error msg = pls. install/uninstall the product using setup.exe in the root folder

    yes, I am installing as the administrator.  I have tried to install from
    two different folders;
    1. c://adobe photoshop elements 10.msi
    and
    2. c://program files/adobe/adobe photoshop elements 10.msi
    get the same error message from both locations.
    the error message is not specific as to "root folder"
    someone please help with this.  I would like to be able to install this app.

  • Clear cache automatically using JavaScript in Linux

    Hi,
    I created this Javascript to be executed when an iBot completes (BI Delivers-->Advanced -->Add Action-->Custom Script; and Type:JavaScript)
    I am able to create a Javascript (Purge.js) on Windows and Purge the Cache accordingly like this:
    var nqCmd = "C:\\OracleBI\\server\\Bin\\nQCmd.exe";
    var dsn = "AnalyticsWeb";
    var user = "Administrator";
    var pswd = "Administrator";
    var tempInFileName = "C:\\Purge.txt";
    var tempOutFileName = "C:\\Output.txt";
    var wshShell = new ActiveXObject("WScript.Shell");
    var dosCmd = nqCmd + " -d \"" + dsn + "\" -u \"" + user+ "\" -p \"" + pswd + "\" -s \"" + tempInFileName + "\"" +" -o \"" + tempOutFileName + "\"";
    try
    wshShell.Run(dosCmd, 0, true);
    catch(e)
    throw e;
    Can anyone help me doing the same on Linux Environment?
    As our development server environment is Linux I want to implement the same procedure to clear the cache automatically.
    Hope I explained clearly!
    Thanks in advance.

    What you have there is actually a VBScript script which has even less chances of ever working in Linux than JavaScript. for Linux you can use nqcmd as shown in this post:
    http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1.html

  • TS3212 Still unable to download itunes to my pc. Tried with IE, Mozilla and Google Chrome. Keep getting an error message :"Windows cannot open itunes.exe the file is corrupt contact support."previous itunes files were wipped out by "disk cleaner." Any hel

    Still unable to download itunes to my pc. Tried with IE, Mozilla and Google Chrome. Keep getting an error message :"Windows cannot open itunes.exe the file is corrupt contact support."previous itunes files were wipped out by "disk cleaner." Any help??
    Please!
    Thanks!

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • How to set up automatic cache purge

    I am using the event polling table for setting up automatic cache purging.
    I have created a table 'event polling table' in the database with the following fields:
    CATALOGNAME
    DATABASENAME
    OTHER
    SCHEMANAME
    TABLENAME
    UPDATETIME
    UPDATETYPE
    LOAD_ID
    with TABLENAME, UPDATETIME, UPDATETYPE as non-nullable fields.
    Then I have imported the table to the physical layer of the rpd, set up 'Oracle BI Event tables' in the Utilities as this table and set up a polling frequency of 15min.
    I have created a report with 2 columns (DeptID, Saleamt) from 2 tables (Department, Sales) respectively. Both these tables were made 'cacheable' in the physical layer with cache never expires. Now the saved report is ran by logging in once again. So a cache entry is registered. My NQSCONFIG file enables cache.
    I have added these 2 tables to the event polling table after the cache entry was registered. Technically after 15min, this cache should be purged automatically as the request created was from these 2 tables. But that does not happen. Even after half hr when I log in and run this report a cachehit occurs as cache still persists. My cache folder is the C:\OracleBIData\cache. I also check entries in the Repository (Manage ->cache).
    Please let me know where am I making a mistake.
    My goal is to get cache purged automatically every time there's an entry in the EPT. (To test when I create an entry in the EPT, I give the tablename and updatetype (=1), the updatetime is obtained automatically as sysdate.
    Thanks
    ===================================================
    For reference I have copied an earlier posting here:
    ===================================================
    lets look at all your questions one by one
    As the event polling table gets a row added for each table whose data is updated at the end of each ETL run, when exactly does the BI server purges cache related to that table - As soon as the polling happens and it finds a new record in your table
    Lets say I set up a polling frequency (in Tools -> Utilities -> Oracle BI Event Tables) to every 60 minutes. At the end of every 60 minutes does the BI server restart by itself or does the polling take place without restart. - Polling takes place only when the server is up (there is no need to restart)
    At the end of every 60 minutes does the BI server poll the event polling table whether or not any new rows are added to it? -(Yes )
    What exactly happens when a new record is added to the event polling table in the database. - (The cache is purged )
    If at the end of the ETL run data in 3 tables has changed, would 3 records be added to the event polling table in the database. - (yes , after the polling happens)
    Let me know if you have more questions ...
    Another way you can set it up is to create a batch file which would purge a table as its updated (use a procedure to capture the tables which have a value of 1 for update_type or use triggers to populate a table with these table names ) ...once purged you can set up your cache by using ibots (use javascripts) .
    =============================================================================

    I seem to have all the steps running except #3 - which is clearing the cache!
    select T54927.UPDATE_TYPE as c1,
    T54927.UPDATE_TIME as c2,
    T54927.DB_NAME as c3,
    T54927.CATALOG_NAME as c4,
    T54927.SCHEMA_NAME as c5,
    T54927.TABLE_NAME as c6
    from
    MPO_OWNER.MPO_EVENT_POLLING T54927
    where ( T54927.OTHER in ('') or T54927.OTHER is null )
    minus
    select T54927.UPDATE_TYPE as c1,
    T54927.UPDATE_TIME as c2,
    T54927.DB_NAME as c3,
    T54927.CATALOG_NAME as c4,
    T54927.SCHEMA_NAME as c5,
    T54927.TABLE_NAME as c6
    from
    MPO_OWNER.MPO_EVENT_POLLING T54927
    where ( T54927.OTHER = 'cac7057v' )
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Execution Node: <<121787>>, Close Row Count = 1, Row Width = 384 bytes
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Sending query to database named Event Polling (id: <<121830>>):
    insert into
    MPO_OWNER.MPO_EVENT_POLLING("UPDATE_TYPE", "UPDATE_TIME", "DB_NAME", "CATALOG_NAME", "SCHEMA_NAME", "TABLE_NAME", "OTHER") values (1, TIMESTAMP '2009-03-27 16:59:19', 'Trading', 'remedy', 'MPO_READ', 'MPO_POSITION_DATE_CHOICES', 'cac7057v')
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Execution Node: <<121830>>, Close Row Count = 0, Row Width = 0 bytes
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Execution Node: <<121830>> DbGateway Exchange, Close Row Count = 0, Row Width = 0 bytes
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Execution Node: <<121830>> DbGateway Exchange, Close Row Count = 0, Row Width = 0 bytes
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Execution Node: <<121787>> DbGateway Exchange, Close Row Count = 1, Row Width = 384 bytes
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Execution Node: <<121787>> DbGateway Exchange, Close Row Count = 1, Row Width = 384 bytes
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Sending query to database named Event Polling (id: <<121831>>):
    select T54927.UPDATE_TIME as c1
    from
    MPO_OWNER.MPO_EVENT_POLLING T54927
    where ( T54927.OTHER = 'cac7057v' )
    group by T54927.UPDATE_TIME
    having count(T54927.UPDATE_TIME) = 1
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Execution Node: <<121831>>, Close Row Count = 1, Row Width = 16 bytes
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Execution Node: <<121831>> DbGateway Exchange, Close Row Count = 1, Row Width = 16 bytes
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Execution Node: <<121831>> DbGateway Exchange, Close Row Count = 1, Row Width = 16 bytes
    +++Administrator:fffe0000:fffe021b:----2009/03/27 17:02:14
    -------------------- Sending query to database named Event Polling (id: <<121875>>):
    delete from
    MPO_OWNER.MPO_EVENT_POLLING where MPO_OWNER.MPO_EVENT_POLLING.UPDATE_TIME = TIMESTAMP '2009-03-27 16:59:19'
    What am I missing? My NQServer.log shows this:
    The physical table Trading:remedy:MPO_READ:MPO_POSITION_DATE_CHOICES in a cache polled row does not exist.
    Any thoughts are appreciated.
    Thanks
    Mano

  • Copying an app from one server to another using HfmCopyApplication.exe

    Hi,
    I am trying to copy an HFM application from Production Instance to DR Instance using HfmCopyApplication.exe.
    I have added the Hyperion product folder of DR to the network of production so that I can select the Destination database connection file while running HfmCopyApplication.exe.
    While running the HfmCopyApplication.exe as I select the MS_SQL_SERVER_hfm.udl for the destination and click Next I get an error.
    The SQL Server database for DR instance is located in a different server and therefore it is not being able to connect it seems.
    The error that I am getting says : "Failed to connect to the destination database using the UDL provided!"
    "SQL Error : [DBNETLIB][ConnectionOpen(Connect()).]SQL Server doesnot exist or access denied."
    Please suggest how to resolve this issue.
    Thanks,
    Suchismita

    It seems UDL cannot connect to the target database.
    You can do the following check:
    1. Ping DR database server from Prod App Server. If ping is ok, it means the network between Prod and DR is ok.
    2. Check DR database is started.

Maybe you are looking for