"Inconsistent cursor cache. Out of range cursor" error on dual processor multi thread

I have a C++ with Pro*C++ COM object running on a Win2000 OS on
a dual processor Middleware. The program is being called by a
service in a multi threaded way. An oracle error like ORA-2103
and SQL-02103 will be generated after running the program. We've
tried putting mutex on every SQL statement in Pro*C and it works
but the systems became very very slow. We concluded that the
error might be cause by a collision of threads accessing the
same Table or different tables having foreign constraints. This
is so because the error keeps coming from a statement accessing
Table A and following errors comes from a Table B having a
foreign key on Table A.
Our only solution now is to put Mutex on Statements accessing
same tables or tables with foreign constraints but this will
make our system run very very slow. I dont know if the problem
is in our Oracle Database because we already upgraded our system
from 8.1.6 to 8.1.7. The wierd thing on this is that the system
is running smoothly without oracle errors on a SINGLE PROCESSOR
Middleware. Hope you can give me any insights on this problem.

I have a C++ with Pro*C++ COM object running on a Win2000 OS on
a dual processor Middleware. The program is being called by a
service in a multi threaded way. An oracle error like ORA-2103
and SQL-02103 will be generated after running the program. We've
tried putting mutex on every SQL statement in Pro*C and it works
but the systems became very very slow. We concluded that the
error might be cause by a collision of threads accessing the
same Table or different tables having foreign constraints. This
is so because the error keeps coming from a statement accessing
Table A and following errors comes from a Table B having a
foreign key on Table A.
Our only solution now is to put Mutex on Statements accessing
same tables or tables with foreign constraints but this will
make our system run very very slow. I dont know if the problem
is in our Oracle Database because we already upgraded our system
from 8.1.6 to 8.1.7. The wierd thing on this is that the system
is running smoothly without oracle errors on a SINGLE PROCESSOR
Middleware. Hope you can give me any insights on this problem.

Similar Messages

  • "SQL-02103 Inconsistent cursor cache." error on dual processor multi threaded system

    I have a C++ with Pro*C++ COM object running on a Win2000 OS on
    a dual processor Middleware. The program is being called by a
    service in a multi threaded way. An oracle error like ORA-2103
    and SQL-02103 will be generated after running the program. We've
    tried putting mutex on every SQL statement in Pro*C and it works
    but the systems became very very slow. We concluded that the
    error might be cause by a collision of threads accessing the
    same Table or different tables having foreign constraints. This
    is so because the error keeps coming from a statement accessing
    Table A and following errors comes from a Table B having a
    foreign key on Table A.
    Our only solution now is to put Mutex on Statements accessing
    same tables or tables with foreign constraints but this will
    make our system run very very slow. I dont know if the problem
    is in our Oracle Database because we already upgraded our system
    from 8.1.6 to 8.1.7. The wierd thing on this is that the system
    is running smoothly without oracle errors on a SINGLE PROCESSOR
    Middleware. Hope you can give me any insights on this problem.

    I have a C++ with Pro*C++ COM object running on a Win2000 OS on
    a dual processor Middleware. The program is being called by a
    service in a multi threaded way. An oracle error like ORA-2103
    and SQL-02103 will be generated after running the program. We've
    tried putting mutex on every SQL statement in Pro*C and it works
    but the systems became very very slow. We concluded that the
    error might be cause by a collision of threads accessing the
    same Table or different tables having foreign constraints. This
    is so because the error keeps coming from a statement accessing
    Table A and following errors comes from a Table B having a
    foreign key on Table A.
    Our only solution now is to put Mutex on Statements accessing
    same tables or tables with foreign constraints but this will
    make our system run very very slow. I dont know if the problem
    is in our Oracle Database because we already upgraded our system
    from 8.1.6 to 8.1.7. The wierd thing on this is that the system
    is running smoothly without oracle errors on a SINGLE PROCESSOR
    Middleware. Hope you can give me any insights on this problem.

  • "SQL-02103: Inconsistent cursor cache." error on dual processor multi thread apps

    I have a C++ with Pro*C++ COM object running on a Win2000 OS on
    a dual processor Middleware. The program is being called by a
    service in a multi threaded way. An oracle error like ORA-2103
    and SQL-02103 will be generated after running the program. We've
    tried putting mutex on every SQL statement in Pro*C and it works
    but the systems became very very slow. We concluded that the
    error might be cause by a collision of threads accessing the
    same Table or different tables having foreign constraints. This
    is so because the error keeps coming from a statement accessing
    Table A and following errors comes from a Table B having a
    foreign key on Table A.
    Our only solution now is to put Mutex on Statements accessing
    same tables or tables with foreign constraints but this will
    make our system run very very slow. I dont know if the problem
    is in our Oracle Database because we already upgraded our system
    from 8.1.6 to 8.1.7. The wierd thing on this is that the system
    is running smoothly without oracle errors on a SINGLE PROCESSOR
    Middleware. Hope you can give me any insights on this problem.

    I have a C++ with Pro*C++ COM object running on a Win2000 OS on
    a dual processor Middleware. The program is being called by a
    service in a multi threaded way. An oracle error like ORA-2103
    and SQL-02103 will be generated after running the program. We've
    tried putting mutex on every SQL statement in Pro*C and it works
    but the systems became very very slow. We concluded that the
    error might be cause by a collision of threads accessing the
    same Table or different tables having foreign constraints. This
    is so because the error keeps coming from a statement accessing
    Table A and following errors comes from a Table B having a
    foreign key on Table A.
    Our only solution now is to put Mutex on Statements accessing
    same tables or tables with foreign constraints but this will
    make our system run very very slow. I dont know if the problem
    is in our Oracle Database because we already upgraded our system
    from 8.1.6 to 8.1.7. The wierd thing on this is that the system
    is running smoothly without oracle errors on a SINGLE PROCESSOR
    Middleware. Hope you can give me any insights on this problem.

  • "SQL-02103: Inconsistent cursor cache." error on a dual processor multi threaded apps

    I have a C++ with Pro*C++ COM object running on a Win2000 OS on
    a dual processor Middleware. The program is being called by a
    service in a multi threaded way. An oracle error like ORA-2103
    and SQL-02103 will be generated after running the program. We've
    tried putting mutex on every SQL statement in Pro*C and it works
    but the systems became very very slow. We concluded that the
    error might be cause by a collision of threads accessing the
    same Table or different tables having foreign constraints. This
    is so because the error keeps coming from a statement accessing
    Table A and following errors comes from a Table B having a
    foreign key on Table A.
    Our only solution now is to put Mutex on Statements accessing
    same tables or tables with foreign constraints but this will
    make our system run very very slow. I dont know if the problem
    is in our Oracle Database because we already upgraded our system
    from 8.1.6 to 8.1.7. The wierd thing on this is that the system
    is running smoothly without oracle errors on a SINGLE PROCESSOR
    Middleware. Hope you can give me any insights on this problem.

    I have a C++ with Pro*C++ COM object running on a Win2000 OS on
    a dual processor Middleware. The program is being called by a
    service in a multi threaded way. An oracle error like ORA-2103
    and SQL-02103 will be generated after running the program. We've
    tried putting mutex on every SQL statement in Pro*C and it works
    but the systems became very very slow. We concluded that the
    error might be cause by a collision of threads accessing the
    same Table or different tables having foreign constraints. This
    is so because the error keeps coming from a statement accessing
    Table A and following errors comes from a Table B having a
    foreign key on Table A.
    Our only solution now is to put Mutex on Statements accessing
    same tables or tables with foreign constraints but this will
    make our system run very very slow. I dont know if the problem
    is in our Oracle Database because we already upgraded our system
    from 8.1.6 to 8.1.7. The wierd thing on this is that the system
    is running smoothly without oracle errors on a SINGLE PROCESSOR
    Middleware. Hope you can give me any insights on this problem.

  • String index out of range: 0 error when sending to SOAP Receiver

    Hi experts,
    I have an interface
    IDOC -> XI -> SOAP
    Occasionally I will get this error message from RWB when sending to the SOAP service:
    Delivery of the message to the application using connection AFW failed, due to: String index out of range: 0
    To trace the soap message, I sent the message through a TCPMonitor, the error does not occur anymore.
    Has anyone met with this problem before?
    How do I resolve this?
    Thanks!
    Ron

    > Wee,
    >
    > The error states there is some problem in your
    > message mapping. Have you used any substring function
    > in your mapping. If yes can you check the message for
    > which you have got error in message mapping. For this
    > open sxmb_monin and open your message and then right
    > click and then view source. Then copy this source and
    > test in message mapping test tab. Then you will come
    > to know whether you have any mapping error or not?
    >
    > ---Satish
    I did not do any substring in the mappings.
    The strange thing is, with the same message, I can re-send without any error if I send this message through the SOAP TCP Monitor.

  • About to purchase a MacPro trying to figure out if i need the Westmere Dual Processors or say the single processor 3.32 ghz w/3gb RAM? This is for the electronic prepress department of a printing company. Mainly we need to have multiple apps. running

    Will be using applications all at once like Quark ,CS5... Indesign,photshop, AI...etc.
    Will be exporting and writing PDF's and Postsript files constantly along with a few networked servers.
    Just a lot of application work!
    Right now the department has 5 Macs 4 of them are the older PowerPC's and one is a 2008 or 2009  MacPro 2.8ghz QuadCore (singleprocesser) which is by far the fastest machine. Now we need another one or maybe two more but would like to be even faster than the MacPro we have but not go over the 3,000 mark for price.

    buy 2,8 4-core and upgrade to W3680 yourself. sell the 2.8 or keep it as backup. Very affordable 6-core, or just spring for the fastest single cpu BTO.
    Invest in 8GB DIMMs (4 x 8GB) and SSD - 3rd party RAM, 3GB is enough to boot, period.
    Wait for SATA3, more bandwidth, Sandy Bridge E Xeons.
    Macintosh Performance Guide: Articles & Reviews

  • Inconsistent cursor cache  error still presisting

    Hey I have asked this question before but no solution has been provided me. I have been facing a very serious problem. I have oracle 11g on windows 2003 on 64 bit machine. With 2 processor 8GB RAM. Sga/pga automatically features turn on and 6GB assign to memory_max_target, memory_target . My problem is when I run update 600 hundred statements in one go and every update statement update record between 1 to 30000 and after 20 records I use commit. But after 20 to 30 record oracle go down (shutdown) when i check alert log It advise to check Trace file and in trace file I got this error ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref). I turn on my cache sharing to force but no way. Is there any other fast way to update records??
    cursor_sharing string force
    cursor_space_for_time boolean FALSE
    open_cursors integer 300
    session_cached_cursors integer 50
    my update statement are following
    Update jg_6july_dg0 Set Operator_code= '915724' where Operator_code= '015325';
    Update jg_6july_dg0 Set Operator_code= '915715' where Operator_code= '015323';
    .Update jg_6july_dg0 Set Operator_code= '915712' where Operator_code= '015374';
    Cursor Caching I think is not a problem either it is a oracle bug or I’m doing something wrong. I can’t believe that oracle does not have solution for such little problem. My question is why oracle shutdown?? Waiting for you reply

    sir no such error i got nothing. sir proces of rqasing SR is quite cumbersome. i'm stuck where SR first page ask Type of Problem it is hide how i set its value one more strange thing i have change the setting of SGA or PGA now the error in my alter log has been changed i have pasted here some part of alterlog plz check and told me what should i do now.
    Checkpoint not complete
    Current log# 2 seq# 1844 mem# 0: E:\APP\ADMINISTRATOR\ORADATA\ORCL\ONLINELOG\O1_MF_2_4VH0YMCK_.LOG
    Current log# 2 seq# 1844 mem# 1: E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ONLINELOG\O1_MF_2_4VH0YMLC_.LOG
    Fri Apr 03 19:15:50 2009
    Errors in file e:\app\administrator\diag\rdbms\orcl\orcl\trace\orcl_lgwr_5088.trc (incident=164082):
    ORA-00494: enqueue [CF] held for too long (more than 900 seconds) by 'inst 1, osid 3604'
    Incident details in: e:\app\administrator\diag\rdbms\orcl\orcl\incident\incdir_164082\orcl_lgwr_5088_i164082.trc
    Killing enqueue blocker (pid=3604) on resource CF-00000000-00000000
    by killing session 545.1
    Killing enqueue blocker (pid=3604) on resource CF-00000000-00000000
    by terminating the process
    LGWR (ospid: 5088): terminating the instance due to error 2103
    Fri Apr 03 19:15:51 2009
    Errors in file e:\app\administrator\diag\rdbms\orcl\orcl\trace\orcl_j000_4256.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref)
    Fri Apr 03 19:15:52 2009
    Errors in file e:\app\administrator\diag\rdbms\orcl\orcl\trace\orcl_j001_4764.trc:
    ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref)
    Instance terminated by LGWR, pid = 5088Fri Apr 03 19:25:08 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =61
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 11.1.0.7.0.
    Using parameter settings in server-side spfile E:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEORCL.ORA
    System parameters with non-default values:
    processes = 500
    sessions = 555
    sga_max_size = 5G
    nls_length_semantics = "BYTE"
    resource_manager_plan = ""
    sga_target = 5G
    memory_target = 0
    memory_max_target = 7360M
    control_files = "E:\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROLFILE\O1_MF_4VH0YL9L_.CTL"
    control_files = "E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_4VH0YLF0_.CTL"
    db_block_size = 16384
    compatible = "11.1.0.0.0"
    db_files = 7000
    db_create_file_dest = "E:\app\Administrator\oradata"
    db_recovery_file_dest = "E:\app\Administrator\flash_recovery_area"
    db_recovery_file_dest_size= 2G
    undo_tablespace = "UNDOTBS1"
    undo_retention = 900
    sec_case_sensitive_logon = FALSE
    remote_login_passwordfile= "EXCLUSIVE"
    db_domain = ""
    dispatchers = "(PROTOCOL=TCP) (SERVICE=orclXDB)"
    audit_file_dest = "E:\APP\ADMINISTRATOR\ADMIN\ORCL\ADUMP"
    audit_trail = "DB"
    db_name = "orcl"
    open_cursors = 300
    pga_aggregate_target = 2112M
    enable_ddl_logging = FALSE
    aq_tm_processes = 0
    diagnostic_dest = "E:\APP\ADMINISTRATOR"
    Fri Apr 03 19:25:09 2009
    PMON started with pid=2, OS id=2752
    Fri Apr 03 19:25:09 2009
    VKTM started with pid=3, OS id=1252 at elevated priority
    VKTM running at (20)ms precision
    Fri Apr 03 19:25:09 2009
    DIAG started with pid=4, OS id=2596
    Fri Apr 03 19:25:09 2009
    DBRM started with pid=5, OS id=1436
    Fri Apr 03 19:25:09 2009
    PSP0 started with pid=6, OS id=5104
    Fri Apr 03 19:25:09 2009

  • ORA-02103: PCC: inconsistent cursor cache

    I have been hit by one error ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref). it occur when user execute thousand of update statement in one go. I have place commit after 50 records. But problem is still there. It shutdown the oracle. I have to again startup oracle database. I’m running query from Toad. Server machine remotely connected with Toad using TNS. Why this error occur or plz guide what is the best way to update records. I have also used parallel Hint. Committing after 50 record reduce error occurrence but problem not solve completely

    As per ora description:
    Error: SQL 2103
    Text: Inconsistent cursor cache (out-of-range CUC ref)
    Cause: The precompiler generates a unit cursor entry (UCE) array. An element
    in this array corresponds to an entry in the cursor cache (CUC). While
    doing a consistency check on the cursor cache, SQLLIB found that the
    UCE array contains an ordinal value that is either too large or less
    than zero. This happens only if your program runs out of memory.
    Action: Allocate more memory to your user session, then rerun the program. If
    the error persists, call customer support for assistance.
    How user is connected dedicated or shared? How much memory is used during update? Is it enough?
    Is parameter open_cursors high enough?
    And as You can see from error description - call Oracle support. Raise SR to Oracle - they will investigate and ask dump files and look through them and propose a solution.

  • Getting error: RC-50004 String index out of range when running adclonectx.pl

    Hi,
    I'm trying to clone a RAC database on the same host. I'm using the MOS note:
    Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone ( Doc ID 559518.1  )
    I run the command from Step 5.1.3:
    perl adclonectx.pl ......
    But getting error:
    "RC-50004: Error occurred in CloneContext:
    String index out of range: 38
    ERROR: context creation not completed successfully."
    From the Clone Context logfile:
    PROMPT :
    Number of DATA_TOP's on the Target System [3]
    ANSWER :
    1
    PROMPT :
    Target System DATA_TOP Directory 1
    ANSWER :
    +DATA/prod/datafile
    ASM Path, not Validating: +DATA/prod/datafile
    Creating ../data/stage/addbhomtgt.xml which will contain Target system database mount points.
    StackTrace:
    java.lang.StringIndexOutOfBoundsException: String index out of range: 38
             at java.lang.String.substring(String.java:1765)
             at oracle.apps.ad.context.CloneContext.gen_iFile(CloneContext.java:6681)
             at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:1114)
             at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:601)
             at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5260)
    RC-50004: Error occurred in CloneContext:
    String index out of range: 38
    Context file creation not succesful
    And workaround/solution will be much appreciated. Thanks very much.

    FYI, I'm cloning on the same host as target. This is 2 node EBS RAC setup.
    PATH is OLD source for contextfile.xml
    Latest clone patches applied.
    Here is the complete output from the log file...
    [oracle@PPDBS11 bin]$ cat /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/bin/CloneContext_0908210110.log  
    Using admin directory: /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/bin
    #------Log File time stamp: 0908210110------------
    # $Header: CloneContext.java 120.92.12010000.26 2013/05/06 12:02:01 mmanku ship $
    # Running on          - ppdbs11
    # Source Host         - null
    # Domain Name         - <xxxx.yyyy.zz>
    # Context Location    - /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/PREPROD1_ppdbs11.xml
    # Context Type        - null
    # Context Template    - /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/template/adxdbctx.tmp
    # Clone Stage Area    - null
    # Pairs File          - /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/pairsfile.txt
    # Destination Context - null
    # Validation          - false
    # Platform Migration  - false
    # no prompt           - false
    Variables extracted from pairsfile: /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/pairsfile.txt
    ****************************************************/n
       s_undo_tablespace  =  APPS_UNDOTS1
       s_dbClusterInst  =  2
       s_db_oh  =  /u01/app/oracle/product/11.2.0/dbhome_1
    ****************************************************   PROMPT :
    Target System Hostname (virtual or normal) [ppdbs11]
    ANSWER :
    ppdbs11   PROMPT :
    It is recommended that your inputs are validated by the program.
    However you might choose not to validate them under following circumstances:           -If cloning a context on source system for a remote system.
             -If cloning a context on a machine where the ports are taken and
              you do not want to shutdown the services at this point.
             -If cloning a context but the database it needs to connect is not available.   Do you want the inputs to be validated (y/n) [n] ?
    ANSWER :
    n   PROMPT :
    Target Instance is RAC (y/n) [y]
    ANSWER :
    y   PROMPT :
    Target System Database Name
    ANSWER :
    PROD   PROMPT :
         Host name [ppdbs11]
    ANSWER :
    ppdbfmisscan   PROMPT :
         Virtual Host name [null]
    ANSWER :
    ppdbs11-vip   PROMPT :
         Instance number [1]
    ANSWER :
    1   PROMPT :
         Private interconnect name [ppdbs11]
    ANSWER :
    ppdbs11-priv   PROMPT :
    Target System Base Directory
    ANSWER :
    /u01/app/oracle   PROMPT :
    Oracle OS User [oracle]
    ANSWER :
    oracle   PROMPT :
    Oracle OS Group [oinstall]
    ANSWER :
    oinstall   PROMPT :
    Target System utl_file_dir Directory List
    ANSWER :
    /usr/tmp/PROD   PROMPT :
    Number of DATA_TOP's on the Target System [3]
    ANSWER :
    1   PROMPT :
    Target System DATA_TOP Directory 1
    ANSWER :
    +DATA/prod/datafile
    ASM Path, not Validating: +DATA/prod/datafile
    Creating ../data/stage/addbhomtgt.xml which will contain Target system database mount points.  
    StackTrace:
    java.lang.StringIndexOutOfBoundsException: String index out of range: 38
             at java.lang.String.substring(String.java:1765)
             at oracle.apps.ad.context.CloneContext.gen_iFile(CloneContext.java:6687)
             at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:1120)
             at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:601)
             at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5266)   RC-50004: Error occurred in CloneContext:
    String index out of range: 38
    Context file creation not succesful

  • Numeric Value Out Of Range Error in Callable Statement

    I keep getting an error whenever I try and pass in a value greater than 9000 into my stored procedure. The procedure call looks like this:
    sSelect = "execute sp_storedproc ?, ?, ?, ?, ?, ?, ?";
    CallableStatement call = objConn.prepareCall(sSelect);
    call.setString(1, "TEST"); //DB TYPE = VARCHAR
    call.setInt(2, 4); // DB TYPE = INTEGER
    //*******************PROBLEM LINE***************************
    call.setFloat(3,(float) 9001); //DB TYPE = MONEY
    call.setInt(4, 25 ); // DB TYPE = INTEGER
    call.setFloat(5,(float) 0); // DB TYPE = MONEY
    // output parameters
    call.setDouble(6, 0);
    call.setDouble(7, 0);
    call.registerOutParameter(6, Types.DOUBLE);
    call.registerOutParameter(7, Types.DOUBLE);
    // execute stored procedure
    call.execute();
    // retrieve value
    val1= call.getDouble(6);
    val2= call.getDouble(7);
    I keep getting a "[Microsoft][ODBC SQL Server Driver]Numeric value out of range." error.
    I'm using MS SQL server 2000. The error only occurs when I pass in values > 9000. Since there's no direct mapping between java data types and SQL MONEY data type, I've tried passing every possible type into the procedure with the same result (e.g. float, long, double, int, BigDecimal). If anyone has come across this problem and knows a solution please help!!
    Thanks.

    knows a solution please help!!Modify the stored proc so it takes a varchar. In the stored proc convert the string to the correct type. In java use setString() to pass in the value.

  • Obiee 10g - schedule to clear cursor cache

    hi, experts, I applied the command line to clear cache.
    I found that it only clears cache at bi server level (cache entries in rpd).
    it does not clear the cursor cache (those are viewed in Web , Manage Session)
    can I set any schedule to clear cursor cache?

    Hi,
    OBIEE Cursor Cache clear from Dashboard Java Script
    OBIEE Cursor cache is normally cleared from the Administration - Manage Sessions Screen...
    Here is a way that a piece of java can be embedded into a dashboard and call an xframe so you cant see it being called and clear the OBIEE Cursor cache - Presentation cache in effect.
    1. Just insert a text box into Dashboard - Tick the "Contains HTML Markup"
    2. Paste the script below into the text box
    <script language="javascript">
    document.write(
    "<iframe width=0px height=0px src=" +
    document.location.href.match(/^[^?]+/) +
    "?ManageSessions" +
    document.location.href.match(/&_scid=[^&]+/) +
    "&Action=CloseAllCursors&Done=saw.dll%3fSessions',{ensureFreshUrl:true});return false;')></iframe>"
    </script>
    Voila - when ever you click on the dashboard or refresh it the cursor cache will get cleared.
    Please refer the below links for more information on this.
    What Is Presentation Services Cache In Fact?
    http://prolynxuk.com/blog/?p=496
    how to seed n clear cache of obiee
    http://obiee101.blogspot.in/2008/03/obiee-manage-cache-part-1.html
    How to clear the cache daily automatically
    http://obiee10grevisited.blogspot.in/2012/02/cache-in-obiee.html
    Award points it is useful.
    Thanks,
    Satya

  • PCC-F-02044, CMD-LINE:  Illegal or out of range value for option

    Good day,
    I very new to Pro*C and its compiler, i was tasked to recompile a program from a previous developer and got stuck with the above mentioned problem.
    The command i'm using to compile the program is: proc xxx.pc
    This returns the illegal or out of range value error
    #include <iostream>
    #include <fstream>
    #include <string>
    #include <stdio.h>
    #include <sqlda.h>
    #include <sqlcpr.h>
    #include <sqlca.h>
    #include <stddef.h>
    using namespace std;
      char myfile[60];     
      char puk [][];
      int last_col = 0;
      int last_row = 0;
      int line_nr = 0;
      string line = ""; 
    int main(int argc, char *argv[])
        if (argc != 2)
           return(1);
      ifstream myfile;
      myfile.open (argv[1],ios::in);
      if (myfile.is_open())
        while (! myfile.eof() )
        //while(getline(myfile,line))
          getline (myfile,line);
          line_nr++; //counting number of lines
          line = trim(line); //remove whitespaces
          if (line == "\r" or line.length()  == 0) {
             continue;  //ignore blank lines
           if (line_nr == 1) {        
              last_col = 1;
              last_row = 0;
              puk [last_row][last_col] = line;          
           } else if (line_nr > 1 && line.substr(1,3) != 'OOF') {          
              last_col = last_col + 1;
              puk [last_row][last_col] = line;          
           } else {     
             last_row = last_row + 1;
              puk [last_row][1] = line;                    
        myfile.close();
        line_nr = 0;
      return 0;
             Any assistance will be appreciated.
    Regards,

    My pcscfg.cfg file is set as follows:
    sys_include=(/usr/include/c++/4.1.1/iostream,/usr/include/c++/4.1.1/backward/iostream.h,/usr/include/c++/4.1.1/fstream,/usr/include/c++/4.1.1/backward/fstrea
    m.h,/usr/bin/strings,/usr/include/string.h,/usr/include/strings.h,/usr/include/stdio.h,/usr/lib/syslinux/com32/include/stdio.h,/oracle/client/9.2.0/precomp/p
    ublic/sqlda.h,/oracle/client/9.2.0/precomp/public/sqlcpr.h,/oracle/client/9.2.0/precomp/public/sqlca.h,/usr/include/linux/stddef.h,/usr/lib/gcc/x86_64-redhat
    -linux/4.1.1/include/stddef.h,/usr/lib/syslinux/com32/include/stddef.h,/usr/lib/syslinux/com32/include/bitsize/stddef.h,/usr/include,/usr/lib/gcc-lib/i386-re
    dhat-linux/2.96/include,/oracle/app/oracle/client/precomp/public,/user/include/g++-3)
    ltype=short

  • String index out of range: -1

    I am making a program which takes screenshots and uploads them to imageshack.us, I have got the following code.
    import java.awt.image.BufferedImage;
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.ImageIO;
    public class Screenshot extends Thread {
         public static void main(String[] args)
              new Screenshot().start();
         public void run()
              try {
                   Robot robot = new Robot();
                   BufferedImage screenShot = robot.createScreenCapture(new Rectangle(
                             Toolkit.getDefaultToolkit().getScreenSize()));
                   ImageIO.write(screenShot, "PNG", new File("screenshot.png"));
                   String image = uploadToIs("screenshot.png");
                   System.out.println(image);
              } catch (Exception e) {
                   e.printStackTrace();
         private static String uploadToIs(String fffffile) {
              HttpURLConnection conn = null;
              DataOutputStream dos = null;
              DataInputStream inStream = null;
              String lineEnd = "\r\n";
              String twoHyphens = "--";
              String boundary = "*****";
              int bytesRead, bytesAvailable, bufferSize;
              byte[] buffer;
              int maxBufferSize = 1 * 1024 * 1024;
              String urlString = "http://www.imageshack.us";
              try {
                   String strFilename = fffffile;
                   try {
                        FileInputStream fileInputStream = new FileInputStream(new File(
                                  strFilename));
                        URL url = new URL(urlString);
                        conn = (HttpURLConnection) url.openConnection();
                        conn.setDoInput(true);
                        conn.setDoOutput(true);
                        conn.setUseCaches(false);
                        conn.setRequestMethod("POST");
                        conn.setRequestProperty("Connection", "Keep-Alive");
                        conn.setRequestProperty("Content-Type",
                                  "multipart/form-data;boundary=" + boundary);
                        dos = new DataOutputStream(conn.getOutputStream());
                        dos.writeBytes(twoHyphens + boundary + lineEnd);
                        dos
                                  .writeBytes("Content-Disposition: form-data; name=\"fileupload\";"
                                            + " filename=\"" + strFilename + "\"" + lineEnd);
                        dos.writeBytes(lineEnd);
                        bytesAvailable = fileInputStream.available();
                        bufferSize = Math.min(bytesAvailable, maxBufferSize);
                        buffer = new byte[bufferSize];
                        bytesRead = fileInputStream.read(buffer, 0, bufferSize);
                        while (bytesRead > 0) {
                             dos.write(buffer, 0, bufferSize);
                             bytesAvailable = fileInputStream.available();
                             bufferSize = Math.min(bytesAvailable, maxBufferSize);
                             bytesRead = fileInputStream.read(buffer, 0, bufferSize);
                        dos.writeBytes(lineEnd);
                        dos.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);
                        fileInputStream.close();
                        dos.flush();
                        dos.close();
                   } catch (MalformedURLException ex) {
                        System.out.println("Got a malformed URL:" + ex);
                   } catch (IOException ioe) {
                        System.out.println("Got an IO issue:" + ioe);
              } catch (Exception e) {
                   System.out
                             .println("Sorry, could not find the file to upload. Skipping...");
              try {
                   inStream = new DataInputStream(conn.getInputStream());
                   int ii;
                   String returnd = "";
                   while ((ii = inStream.read()) != -1) {
                        returnd += (char) ii;
                   int pos = returnd.indexOf("Include details");
                   returnd = returnd.substring(pos);
                   pos = returnd.indexOf("[IMG]");
                   returnd = returnd.substring(pos + 5);
                   pos = returnd.indexOf("[/IMG]");
                   returnd = returnd.substring(0, pos);
                   inStream.close();
                   return (returnd);
              } catch (IOException ioex) {
                   System.out
                             .println("Got an IO issue from (ServerResponse): " + ioex);
              return "";
    }When I start the thread by doing:
    new Screenshot().start();I get the String index out of range: -1 error.
    StackTrace:
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(Unknown Source)
         at java.lang.String.substring(Unknown Source)
         at Screenshot.uploadToIs(Screenshot.java:93)
         at Screenshot.run(Screenshot.java:23)
    But when I add a main method into that class and start the thread it runs fine.
    I would appritiate help, thanks alot:)

    I understand that part, I was just wondering why my string isn't read when I try and start the thread from another class, but when I run this class on its own and start the thread, it runs fine..

  • The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value.

    Below select statement results in "The conversion of a nvarchar data type to a datetime data type resulted in an out of range value"   error. By the way Terms
    field's data type is nvarchar
     SELECT * from INVOICE
    where convert(datetime,Terms) 
    BETWEEN
    '01/01/14'
    and
    '01/30/15' 

    If you can't use TRY_CONVERT (It's only available in 2012+) You should be able to validate the data with something like this (based on your example date formats):
    DECLARE @notDate TABLE (Terms NVARCHAR(10))
    INSERT INTO @notDate (Terms) VALUES
    ('01/01/14'),('02/29/14'),('01/32/15'),('13/13/14'),('13/3/14'),('13-13/14'),('02/29/12'),('02/29/13')
    SELECT *,
    CASE WHEN (LEN(Terms) - 2) <> LEN(REPLACE(Terms,'/','')) OR LEN(Terms) <> 8 THEN 'Bad Form'
    WHEN LEFT(Terms,2) > 12 THEN 'Bad Month'
    WHEN LEFT(Terms,2) IN (9,4,6,11) AND LEFT(RIGHT(Terms,5),2) > '30' THEN 'Bad Day'
    WHEN LEFT(Terms,2) = 2 AND LEFT(RIGHT(Terms,5),2) > (28 + CASE WHEN (2000+RIGHT(Terms,2)) % 400 = 0 THEN 1 WHEN (2000+RIGHT(Terms,2)) % 100 = 0 THEN 0 WHEN (2000+RIGHT(Terms,2)) % 4 = 0 THEN 1 ELSE 0 END) THEN 'Bad Day'
    WHEN LEFT(Terms,2) NOT IN (2,9,4,6,11) AND LEFT(RIGHT(Terms,5),2) > '31' THEN 'Bad Day'
    END
    FROM @notDate
    Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question.

  • Can't store new target Array index out of range: 1 - SLD Configuration

    Hello ,
    Issue is regarding SLD configuration , We have ABAP + Java Addin on Suse Linux x86 ( 64 bit ) with Oracle 9.x .
    Java instalaltion competed succesfully , J2EE is up and runnung while configuring SLD , Data Supplier Bridge - Configure the data supplier bridge - Update SLDs
    As I set Update local SLD (sld/active) to true it gives error : Can't store new target Array index out of range: 1
    ( Error recorded in default.trace ,
    #1.5#001635052D79005D000000010000393A00041904004A592B#1153404882278#com.sap.engine.library.monitor.mapping.ccms.Trace##com.sap.engine.library.monitor.mapping.ccms.Trace######87587b2017f911dbc661001635052d79#SAPEngine_System_Thread[impl:5]_82##0#0#Error##Plain###RegisterNode</Services/Web Services/Requests Number/sap.com/com.sap.engine.heartbeat/GRMGWSTest/CurrentClient>: com.sap.mona.api.JMonException: com.sap.mona.api.JMonAPIException: Internal error in tree structure#
    #1.5#001635052D790049000000060000393A000419040226E9F1#1153404913510#com.sap.lcr.sagent.BuilderDirector#sap.com/com.sap.lcr#com.sap.lcr.sagent.BuilderDirector#J2EE_ADMIN#317####29009b1017fa11db96bd001635052d79#SAPEngine_Application_Thread[impl:3]_14##0#0#Error#1#/Applications/SLD#Plain###Can't access http store#
    #1.5#001635052D790049000000070000393A000419040226EA90#1153404913511#com.sap.lcr.sagent.BuilderDirector#sap.com/com.sap.lcr#com.sap.lcr.sagent.BuilderDirector#J2EE_ADMIN#317####29009b1017fa11db96bd001635052d79#SAPEngine_Application_Thread[impl:3]_14##0#0#Error##Plain###Thrown:
    com.sap.lcr.api.cimclient.LcrException: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
    I have already through updated Component Repository – SAP Note : 669669 . 
    Regards ,
    Santosh

    Hi,
    I am having exactly the same issue. Would you please advise what the solution was?
    Thanks,
    Murad.

Maybe you are looking for

  • Unable to install package created by CC Packager

    I created a package this morning with the latest/ updated version of Creative Cloud Packager. And am trying to install it on a machine with CS6 recently uninstalled. The machine is a Win 7 x64, under an AD admin account. The installation stops halfwa

  • Skype video call for Macbook

    I am using 2013 Macbook air and download the lasted version of Skype. However, I can't do video call because of the camera. It can't be connected to either Yahoo messenger or Skype. I went to Skype > Preferences > Audio/Video to set up the camera but

  • ISight Question

    My iSight, upon starting photobooth, flickers bright green for about 1 second, and then produces the normal picture. I assume that this is just the camera calibrating itself based on the light conditions in the room, but I wanted to be sure. Is it no

  • CreateRow,insertRow, removeCurrentRow and findByKey odities in VIewObject

    I have a view object, which has rowsetlistener and i use createRow, insertRow, commit and findByKey and there are problems. The Key of the viewobject consists of to attributes. And Here is what I do: ViewObject vo = panelBinding.getApplicationModule(

  • Bought new Audigy SE, unable to install new Vista Driv

    I just bought and installed a new Audigy SE, immediatelly after turn on the computer via Windows Update download and installed the drivers and that worked fine with playback but the mic sounds in very low, I even tried to manually edit the mic boost