ORA-900 sql not valid reporting error while calling the optimize_index pl/sql procedure


Hi Experts,

I'm on Oracle 11.2.0.3 on Linux and I have installed in my database Oracle text. I want to configure annex dbms_job to optimize my oracle text index. So first, I created a pl/sql procedure to optimize indexes. It gives me error ORA-900, but the sql even if I run in sqlplus works very well! Can you please help me the question is to find:

Here is the procedure:

(Either incidentally CTXAPP role has been granted in the schema where these Oracle text indexes are created and where the below procedure to optimize the index is running.)

CREATE OR REPLACE PROCEDURE optimize_ora_txt_indexes_debug
IS
   CURSOR cur_context_indexes
   IS
        SELECT index_name
          FROM user_indexes
         WHERE index_type = 'DOMAIN'
    AND ROWNUM<2  
    ORDER BY INDEX_NAME;
   v_user         VARCHAR2 (30);
   v_pod          VARCHAR2 (30);
   v_start_time   TIMESTAMP;
   v_end_time     TIMESTAMP;
   v_elapsed      VARCHAR2 (40);
   v_msg   VARCHAR2 (1000);
   v_error_code      NUMBER;
   v_error_msg   VARCHAR2 (1000);
   v_sql VARCHAR2 (1000);
BEGIN

   FOR c IN cur_context_indexes
   LOOP
      BEGIN
        v_sql:= 'ctx_ddl.optimize_index (idx_name =>'||chr(39)|| c.index_name||chr(39)||', optlevel => '||chr(39)||'FULL'||chr(39)||')';
        dbms_output.put_line(v_sql);
        execute immediate v_sql;
      EXCEPTION
         WHEN OTHERS
         THEN
            v_error_code := SQLCODE;
            v_error_msg := SQLERRM;
            v_msg :=
                  'Error while optimizing the index '
               || c.index_name
               || ' '
               || TO_CHAR (v_error_code)
               || ' '
               || v_error_msg;
            DBMS_OUTPUT.put_line (v_msg);

      END;
   END LOOP;

EXCEPTION
   WHEN OTHERS
   THEN
      v_error_code := SQLCODE;
      v_error_msg := SQLERRM;
      v_msg :=
            'Error while in the optimize index procedure'
         || ' '
         || TO_CHAR (v_error_code)
         || ' '
         || v_error_msg;
      DBMS_OUTPUT.put_line (v_msg);

END optimize_ora_txt_indexes_debug;
/

 --the procedure compiles successfully. 
 Now when I run it , I get the error:
SQL>exec optimize_ora_txt_indexes_debug;
ctx_ddl.optimize_index (idx_name =>'ACCESS_CLNT_IDX04', optlevel => 'FULL')
Error while optimizing the index ACCESS_CLNT_IDX04 -900 ORA-00900: invalid SQL
statement


 --When I run the same command from sqlplus as execute statement , it works fine:
SQL>exec ctx_ddl.optimize_index (idx_name =>'ACCESS_CLNT_IDX04', optlevel => 'FULL');
PL/SQL procedure successfully completed.
 
 


If everything runs from sqlplus, but fails in plsql... I'll be very grateful for pointers solve the problem.

Thanks,

OrauserN

Hello

It is a problem of pl/sql syntax. A call with EXEC is the same using BEGIN... Code of... END of block;

SO, you need to include a beginning and an end to your call:

 v_sql:= 'BEGIN ctx_ddl.optimize_index (idx_name =>'||chr(39)|| c.index_name||chr(39)||', optlevel => '||chr(39)||'FULL'||chr(39)||'); END;';

That's all.

Herald tiomela

http://htendam.WordPress.com

Tags: Database

Similar Questions

  • Table validation - report errors without losing the changes made

    Hi all

    I'm experimenting with validation of table from Denes Kubicek example at http://apex.oracle.com/pls/otn/f?p=31517:41. I had no problems to make this work,
    but I need to stop if data loss when the validation rules are not met.

    If I have 10 rows in my table and updates user 6 of the latter with the new valid values and 1 with a non valid value then the causes of the button send the error message to be displayed as expected, but the page / table returns to the data in the database and all changes are lost.

    How can I get the page to keep entered values when the page is refreshed?

    Thank you
    Martin

    Martin,

    You may need to replace the validation using JS. Equivalent to Dene JS for example

    Put this in the HTML Header page...

    
    
    Change the 'Submit' button target to URL and type javascript:f_validate(); as URL Target
    
    Cheers,Hari
    
    Edited by: Hari_639 on Oct 29, 2009 7:07 PM 
    
  • ORA-01001: cursor not valid error

    Cursor UNA is throwing this error... ORA-01001: cursor not valid error
    Can you please please help me find the problem.

    CREATE OR REPLACE TRIGGER LOT_DBA.CR_FIELD_CUT_AFTER_INSERT
    AFTER INSERT
    ON LOT_DBA.CR_FIELD_CUT_STAGING
    REFERENCING OLD AS OLD NEW AS NEW
    FOR EACH ROW
    DECLARE
    
      stmt_var     VARCHAR2(50);
      err_msg      VARCHAR2(250);
      conn         UTL_SMTP.CONNECTION;
      crlf         VARCHAR2(2)   := CHR(13) || CHR(10);
      mesg         VARCHAR2(2000);
      --cc_recipient VARCHAR2(50) DEFAULT '[email protected]';
      cc_recipient VARCHAR2(50) DEFAULT '[email protected]';--6/24
      msg_body     VARCHAR2(200) := 'Please check CR_FIELD_ERROR Table for Details. ';
      systime      DATE;
      V_CCI        VARCHAR2(50) DEFAULT '[email protected]';-- 07/27/2010 Added Contractor Name for CT 2010-4071
    
      CURSOR CUT (pl_no   VARCHAR2) IS
             SELECT layout_no
               FROM CR_FIELD_CUT_SHEET
              WHERE LAYOUT_NO = pl_no;
    
      cut_cur CUT%ROWTYPE;
    
      CURSOR LOT (pl_no   VARCHAR2) IS
             SELECT layout_no,contractor_name   -- 07/27/2010 Added Contractor Name for CT 2010-4071
               FROM CR_LAYOUT_TRACKING
              WHERE LAYOUT_NO = pl_no;
    
      lot_cur LOT%ROWTYPE;
    
      CURSOR DET (pl_no   VARCHAR2)   IS
             SELECT layout_no, cut_no
               FROM CR_FIELD_CUT_DETAIL
              WHERE LAYOUT_NO = pl_no;
    
      det_cur DET%ROWTYPE;
    
      CURSOR DTN (pl_no   VARCHAR2,
                  pl_ct   NUMBER,
                  pl_nt   VARCHAR2)   IS
             SELECT layout_no, cut_no
               FROM CR_FIELD_CUT_DETAIL
              WHERE LAYOUT_NO = pl_no
                AND CUT_NO    = pl_ct
                AND NVL(NOTE,'XXXXXXXXX') = pl_nt;
    
      dtn_cur DET%ROWTYPE;
    
      CURSOR ITM (pl_no   VARCHAR2)   IS
             SELECT layout_no, cut_no, seq_no
               FROM CR_FIELD_CUT_ITEM
              WHERE LAYOUT_NO = pl_no;
    
      itm_cur ITM%ROWTYPE;
    
      CURSOR STAT (pl_no CHAR) IS
         SELECT MAX(create_date) cdate
           FROM CR_FIELD_LAYOUT_STATUS
          WHERE LAYOUT_NO = pl_no
            AND STATUS    = 'AWAITING_COMPLETION';
    
      stat_cur STAT%ROWTYPE;
    
        CURSOR UNA (pl_no VARCHAR2,
                  pa_no VARCHAR2) IS
             SELECT layout_no, account_no
               FROM CR_ACCOUNTS
              WHERE LAYOUT_NO  = pl_no
                AND ACCOUNT_NO = pa_no;--added for cha 2011-3172 6/14/2011
    
         una_cur  UNA%ROWTYPE;--added for cha 2011-3172 6/14/2011
    
     BEGIN
    
      systime := SYSDATE;
    
      /* If the record being inserted in the staging table does not
         exist in the core table, the record is inserted in the core
         table. However, if it exists, then the record in the core
         table is deleted and then inserted. */
    
      /* Delete items, then cut details, and finally cut sheet
         respectively so as not to raise the foreign key constraint */
    
      ---------------
      -- Cut Items --
      ---------------
      OPEN ITM(:NEW.LAYOUT_NO);
    
      FETCH ITM
       INTO itm_cur;
    
      IF ITM%FOUND THEN
    
         DELETE FROM CR_FIELD_CUT_ITEM
               WHERE LAYOUT_NO = :NEW.LAYOUT_NO
                 AND NVL(NOTE,'XXXXXXXXX')     <> :NEW.NOTE;
    
         stmt_var := 'Delete Cut Items';
    
      END IF;
    
      -----------------
      -- Cut Details --
      -----------------
      OPEN DET(:NEW.LAYOUT_NO);
    
      FETCH DET
       INTO det_cur;
    
      IF DET%FOUND THEN
    
         DELETE FROM CR_FIELD_CUT_DETAIL
               WHERE LAYOUT_NO = :NEW.LAYOUT_NO
                 AND NVL(NOTE,'XXXXXXXXX')  <> :NEW.NOTE;
    
         stmt_var := 'Delete Cut Detail';
    
      END IF;
    
      ---------------
      -- Cut Sheet --
      ---------------
      OPEN CUT(:NEW.LAYOUT_NO);
    
      FETCH CUT
       INTO cut_cur;
    
      IF CUT%FOUND THEN
    
    
         DELETE FROM CR_FIELD_CUT_SHEET
         WHERE LAYOUT_NO = :NEW.LAYOUT_NO ;
    
         stmt_var := 'Delete Cut Sheet';
    
      END IF;
    
    
      ---------------
      -- Layout Tracking --  Moved it from below for Change Track 2010-4071  (OpenedByContractor).
      ---------------
    
    
     OPEN LOT(:NEW.LAYOUT_NO);
    
      FETCH LOT
       INTO lot_cur;
    
      /* This updates the table CR_LAYOUT_TRACKING's columns
         House Number into the new value set by the staging table. */
    
    
      IF LOT%FOUND THEN
    
         UPDATE CR_LAYOUT_TRACKING
            SET HOUSE_NUMBER  = :NEW.HOUSE_NUMBER
          WHERE LAYOUT_NO     = lot_cur.LAYOUT_NO;
    
         stmt_var := 'Update Layout Tracking';
    
      END IF;
    
    
    
    
      /* Insert record from staging table to Cut Sheet Table
         the complete_status is set to No. ('N')*/
    
    BEGIN
    
      INSERT INTO CR_FIELD_CUT_SHEET
                 (LAYOUT_NO              , PERMIT_TYPE            ,
                  SAWCUT                 , PLATED                 ,
                  COUNTY                 , STATE                  ,
                  WEST_MAP_ID            , OPENED_BY_CONTR        ,
                  PROTECTED_ST           , COMPASS_POINT          ,
                  STREET_NAME            , ARTERY_TYPE            ,
                  LEFT_CROSS_STREET      , RIGHT_CROSS_STREET     ,
                  SPECIFIC_LOC           , EMER_PERMIT_NO         ,
                  EMER_ISSUE_DATE        , SERVICE_TYPE           ,
                  PARKING_RESTR          , RESTORE_REQD           ,
                  CREATE_DATE            , CREATE_BY              ,
                  NOTE                   , COMPLETE_STATUS        ,
                  EDIT_FINAL)
           VALUES
                 (:NEW.LAYOUT_NO              , :NEW.PERMIT_TYPE         ,
                  :NEW.SAWCUT                 , :NEW.PLATED              ,
                  :NEW.COUNTY                 , :NEW.STATE               ,
                  :NEW.WEST_MAP_ID            , lot_cur.contractor_name    , -- Get contractor Name from cr_layout_tracking
                  :NEW.PROTECTED_ST           , :NEW.COMPASS_POINT       ,
                  :NEW.STREET_NAME            , :NEW.ARTERY_TYPE         ,
                  :NEW.LEFT_CROSS_STREET      , :NEW.RIGHT_CROSS_STREET  ,
                  :NEW.SPECIFIC_LOC           , :NEW.EMER_PERMIT_NO      ,
                  :NEW.EMER_ISSUE_DATE        , :NEW.SERVICE_TYPE        ,
                  :NEW.PARKING_RESTR          , :NEW.RESTORE_REQD        ,
                   systime                    , :NEW.CREATE_BY           ,
                  :NEW.NOTE                   , 'N'                      ,
                  :NEW.STATUS                 );
    
    
         stmt_var := 'Insert Cut Sheet';
    
    
      EXCEPTION
       WHEN DUP_VAL_ON_INDEX THEN
    
             NULL;
    
      END;
    
      ---------------------
      -- Cut Details New --
      ---------------------
      OPEN DTN(:NEW.LAYOUT_NO, :NEW.CUT_NO, :NEW.NOTE);
    
      FETCH DTN
       INTO dtn_cur;
    
      IF DTN%NOTFOUND THEN
      /** start --added for cha 2011-3172 6/14/2011 **/
    
          OPEN UNA(:NEW.LAYOUT_NO, :NEW.ACCOUNT_NO);
    
          FETCH UNA
           INTO una_cur;
    
          ---------------------------------
          -- CAPTURE UNPROCESSED ACCOUNT --
          ---------------------------------
    
          IF UNA%NOTFOUND THEN
    
            INSERT INTO UNPROCESSED_ACCOUNTS
                        (LAYOUT_NO         , EMPL_NO              ,
                        ACCOUNT_NO         , LOG_DATE             ,
                        COMPLETE_TODAY     , NEW_ACCOUNT_NO       ,
                        STATUS             , CREATED_BY           ,
                        MODIFIED_BY        , CUT_NO               ,
                        CREATE_DATE        , MODIFIED_DATE        )
            VALUES
                        (:NEW.LAYOUT_NO    , NULL                 ,
                        :NEW.ACCOUNT_NO    , NULL                 ,
                        NULL               , NULL                 ,
                        :NEW.STATUS        , :NEW.CREATE_BY       ,
                        :NEW.CREATE_BY     , :NEW.CUT_NO          ,
                        :NEW.CREATE_DATE   , :NEW.CREATE_DATE   );
           stmt_var := 'Insert Unprocessed Accounts';
    
           SELECT EMAIL INTO V_CCI FROM C_LOV_CCI WHERE UPPER(NAME) = (SELECT UPPER(CCI)
           FROM CR_LAYOUT_TRACKING WHERE layout_no = :NEW.LAYOUT_NO);
    
           IF SQL%NOTFOUND THEN
              V_CCI := '[email protected]';
           END IF;
    
           V_CCI := '[email protected]';--6/24
    
           conn:= utl_smtp.open_connection( 'EXCHSMTP.coned.com');
    
           utl_smtp.helo(conn, 'coned.com');
           utl_smtp.mail(conn, '[email protected]' );
           utl_smtp.rcpt(conn, '[email protected]' );
           utl_smtp.rcpt(conn,  V_CCI);
           mesg:= 'From: Cut Staging After Insert <[email protected]>' || crlf ||
                  'Subject: Unprocessed Account (Testing)' || crlf ||
                  'To: XYZ <[email protected]>' || crlf ||
                  'Cc: ' || V_CCI || crlf  ;
           mesg:= mesg || '' || crlf || 'Unprocessed account found:  '||' Layout No: '|| :NEW.LAYOUT_NO ||
                          ' , Account No: '|| :NEW.ACCOUNT_NO ||' , Status: '|| :NEW.STATUS ||
                          ' , Created By: '|| :NEW.CREATE_BY ||' , Cut No.: '|| :NEW.CUT_NO ||
                          ' , Create Date: '|| :NEW.CREATE_DATE;
           utl_smtp.data( conn, mesg );
           utl_smtp.quit( conn );
    
           END IF;
          /** end --added for cha 2011-3172 6/14/2011 **/
            INSERT INTO CR_FIELD_CUT_DETAIL
                       (LAYOUT_NO              , CUT_NO                 ,
                        SHALLOW_FACILITIES     , CUT_LENGTH             ,
                        CUT_WIDTH              , CUT_DEPTH              ,
                        BASE_DEPTH             , BASE_MATERIAL          ,
                        SURFACE_DEPTH          , SURFACE_MATERIAL       ,
                        LANE                   , START_POINT            ,
                        LINEAR_START_CUT       , LINEAR_CURB_CUT        ,
                        SHAPE                  , PAVING_REQUIRED        ,
                        OPENED_DATE            , EXCAVATION_DATE        ,
                        BACKFILL_DATE          , BASE_DATE              ,
                        TRENCHING_DATE         , BASE_MAT_REPLACED      ,
                        COMBINED_CUT           , CASTING_DEDUCTION      ,
                        ACCOUNT_NO             , CREATE_DATE            ,
                        CREATE_BY              , NOTE                   ,
                        STATUS                 , REMARK                 ,
                        PERMIT_NO)
                 VALUES
                       (:NEW.LAYOUT_NO              , :NEW.CUT_NO                   ,
                        :NEW.SHALLOW_FACILITIES     , :NEW.CUT_LENGTH               ,
                        :NEW.CUT_WIDTH              , :NEW.CUT_DEPTH                ,
                        :NEW.BASE_DEPTH             , :NEW.BASE_MATERIAL            ,
                        :NEW.SURFACE_DEPTH          , :NEW.SURFACE_MATERIAL         ,
                        :NEW.LANE                   , :NEW.START_POINT              ,
                        :NEW.LINEAR_START_CUT       , :NEW.LINEAR_CURB_CUT          ,
                        :NEW.SHAPE                  , :NEW.PAVING_REQUIRED          ,
                         TRUNC(:NEW.OPENED_DATE)    ,  TRUNC(:NEW.EXCAVATION_DATE)  ,
                         TRUNC(:NEW.BACKFILL_DATE)  ,  TRUNC(:NEW.BASE_DATE)        ,
                         TRUNC(:NEW.TRENCHING_DATE) , :NEW.BASE_MAT_REPLACED        ,
                        :NEW.COMBINED_CUT           , :NEW.CASTING_DEDUCTION        ,
                        :NEW.ACCOUNT_NO             ,  systime                      ,
                        :NEW.CREATE_BY              , :NEW.NOTE                     ,
                        :NEW.STATUS                 , :NEW.REMARK                   ,
                        :NEW.PERMIT_NO);
    
            stmt_var := 'Insert Cut Detail';
    
      END IF;
    
    
      /* Insert record from staging table to Cut Item Table */
    
      INSERT INTO CR_FIELD_CUT_ITEM
                 (LAYOUT_NO      , CUT_NO         ,
                  SEQ_NO         , CODE           ,
                  LENGTH         , WIDTH          ,
                  DEPTH          , DATE_WORKED    ,
                  CREATE_DATE    , CREATE_BY      ,
                  NOTE           , STIP_FACTOR    )
           VALUES
                 (:NEW.LAYOUT_NO      , :NEW.CUT_NO               ,
                  :NEW.SEQ_NO         , :NEW.CODE                 ,
                  :NEW.LENGTH         , :NEW.WIDTH                ,
                  :NEW.DEPTH          ,  TRUNC(:NEW.DATE_WORKED)  ,
                   systime            , :NEW.CREATE_BY            ,
                  :NEW.NOTE           , :NEW.STIP_FACTOR          );
    
      stmt_var := 'Insert Cut Items';
    
     /*  This inserts record from staging to history table. */
    
     BEGIN
    
     INSERT INTO CR_FIELD_CUT_HISTORY
                (LAYOUT_NO              , PERMIT_TYPE            ,
                 PO_NUMBER              , HOUSE_NUMBER           ,
                 SAWCUT                 , PLATED                 ,
                 COUNTY                 , STATE                  ,
                 WEST_MAP_ID            , OPENED_BY_CONTR       ,
                 PROTECTED_ST           , COMPASS_POINT          ,
                 STREET_NAME            , ARTERY_TYPE            ,
                 LEFT_CROSS_STREET      , RIGHT_CROSS_STREET     ,
                 SPECIFIC_LOC           , EMER_PERMIT_NO         ,
                 EMER_ISSUE_DATE        , SERVICE_TYPE           ,
                 PARKING_RESTR          , RESTORE_REQD           ,
                 CUT_NO                 , SHALLOW_FACILITIES     ,
                 CUT_LENGTH             , CUT_WIDTH              ,
                 CUT_DEPTH              , BASE_DEPTH             ,
                 BASE_MATERIAL          , SURFACE_DEPTH          ,
                 SURFACE_MATERIAL       , LANE                   ,
                 START_POINT            , LINEAR_START_CUT       ,
                 LINEAR_CURB_CUT        , SHAPE                  ,
                 PAVING_REQUIRED        , OPENED_DATE            ,
                 EXCAVATION_DATE        , BACKFILL_DATE          ,
                 BASE_DATE              , TRENCHING_DATE         ,
                 BASE_MAT_REPLACED      , COMBINED_CUT           ,
                 CASTING_DEDUCTION      , ACCOUNT_NO             ,
                 SEQ_NO                 , CODE                   ,
                 LENGTH                 , WIDTH                  ,
                 DEPTH                  , DATE_WORKED            ,
                 CREATE_DATE            , CREATE_BY              ,
                 NOTE                   , STATUS                 ,
                 PERMIT_NO              , STIP_FACTOR            )
          VALUES
                (:NEW.LAYOUT_NO                 , :NEW.PERMIT_TYPE             ,
                 :NEW.PO_NUMBER                 , :NEW.HOUSE_NUMBER            ,
                 :NEW.SAWCUT                    , :NEW.PLATED                  ,
                 :NEW.COUNTY                    , :NEW.STATE                   ,
                 :NEW.WEST_MAP_ID               , lot_cur.contractor_name         , -- Get it from LOT Change Track 2010-4071
                 :NEW.PROTECTED_ST              , :NEW.COMPASS_POINT           ,
                 :NEW.STREET_NAME               , :NEW.ARTERY_TYPE             ,
                 :NEW.LEFT_CROSS_STREET         , :NEW.RIGHT_CROSS_STREET      ,
                 :NEW.SPECIFIC_LOC              , :NEW.EMER_PERMIT_NO          ,
                  TRUNC(:NEW.EMER_ISSUE_DATE)   , :NEW.SERVICE_TYPE            ,
                 :NEW.PARKING_RESTR             , :NEW.RESTORE_REQD            ,
                 :NEW.CUT_NO                    , :NEW.SHALLOW_FACILITIES      ,
                 :NEW.CUT_LENGTH                , :NEW.CUT_WIDTH               ,
                 :NEW.CUT_DEPTH                 , :NEW.BASE_DEPTH              ,
                 :NEW.BASE_MATERIAL             , :NEW.SURFACE_DEPTH           ,
                 :NEW.SURFACE_MATERIAL          , :NEW.LANE                    ,
                 :NEW.START_POINT               , :NEW.LINEAR_START_CUT        ,
                 :NEW.LINEAR_CURB_CUT           , :NEW.SHAPE                   ,
                 :NEW.PAVING_REQUIRED           ,  TRUNC(:NEW.OPENED_DATE)     ,
                  TRUNC(:NEW.EXCAVATION_DATE)   ,  TRUNC(:NEW.BACKFILL_DATE)   ,
                  TRUNC(:NEW.BASE_DATE)         ,  TRUNC(:NEW.TRENCHING_DATE)  ,
                 :NEW.BASE_MAT_REPLACED         , :NEW.COMBINED_CUT            ,
                 :NEW.CASTING_DEDUCTION         , :NEW.ACCOUNT_NO              ,
                 :NEW.SEQ_NO                    , :NEW.CODE                    ,
                 :NEW.LENGTH                    , :NEW.WIDTH                   ,
                 :NEW.DEPTH                     ,  TRUNC(:NEW.DATE_WORKED)     ,
                  systime                       , :NEW.CREATE_BY               ,
                 'PROCESSED '||TO_CHAR(systime  , 'MM/DD/YYYY HH:MI:SS'),
                 :NEW.STATUS                    , :NEW.PERMIT_NO               ,
                 :NEW.STIP_FACTOR               );
    
      stmt_var := 'Insert Cut History';
    
      EXCEPTION
    
      WHEN DUP_VAL_ON_INDEX THEN
    
        NULL;
    
      END;
    
    
       /* This will insert/update the records in CR_FIELD_LAYOUT_STATUS */
         OPEN STAT(:NEW.LAYOUT_NO);
         FETCH STAT INTO STAT_CUR;
    
         IF stat_cur.cdate IS NULL THEN
            /* Offset system date inserted by 1 second (SYSDATE+.00001) to prevent PK_LOT_STAT
               constraint from firing when the cuts are entered simultaneously with logs. */
            INSERT INTO CR_FIELD_LAYOUT_STATUS
                   (LAYOUT_NO, STATUS, CREATE_BY, CREATE_DATE, NOTE)
            VALUES (:NEW.LAYOUT_NO, 'AWAITING_COMPLETION', :NEW.CREATE_BY, SYSDATE+.00001,
                   'Cut Inserted by Field Personnel '|| to_char(SYSDATE+.00001,'MM/DD/YYYY HH:MI:SS AM'));
    
            stmt_var := 'Insert Layout Status';
    
         ELSE
    
            UPDATE CR_FIELD_LAYOUT_STATUS
               SET CREATE_DATE = SYSDATE
                 , NOTE        = 'Cuts Updated: '|| to_char(SYSDATE+.00001,'MM/DD/YYYY HH:MI:SS AM') -- CT 2009-5511  09/10/09 Removed concatenation
             WHERE LAYOUT_NO   = :NEW.LAYOUT_NO
               AND STATUS      = 'AWAITING_COMPLETION'
               AND CREATE_DATE = stat_cur.cdate;
    
            stmt_var := 'Update Layout Status';
    
         END IF;
    
      CLOSE CUT;
      CLOSE DET;
      CLOSE DTN;
      CLOSE ITM;
      CLOSE LOT;
      CLOSE STAT;
      CLOSE UNA;--added for cha 2011-3172 6/14/2011
    
      /* When exceptions are raised, the users will be notified for
         the failure. */
    
      EXCEPTION WHEN OTHERS THEN
    
           err_msg := SQLERRM;
    
           INSERT INTO CR_FIELD_ERROR VALUES(:NEW.LAYOUT_NO, ' Cut No.: '||:NEW.CUT_NO
                                             ||' Item No.: '||:NEW.SEQ_NO, SYSDATE, err_msg);
    
     /*      conn:= utl_smtp.open_connection( 'EXCHSMTP.coned.com');
    
           utl_smtp.helo(conn, 'coned.com');
           utl_smtp.mail(conn, '[email protected]' );
           utl_smtp.rcpt(conn, '[email protected]' );
           utl_smtp.rcpt(conn, cc_recipient);
           mesg:= 'From: Cut Staging After Insert <[email protected]>' || crlf ||
                  'Subject: CR_FIELD_CUT_AFTER_INSERT Trigger Failed (Testing)' || crlf ||
                  'To: Harsha <[email protected]>' || crlf ||
                  'Cc: ' || cc_recipient || crlf  ;
           mesg:= mesg || '' || crlf || msg_body || ' Layout No.: '|| :NEW.LAYOUT_NO ||
                          ' Cut No.: ' || :NEW.CUT_NO || ' Item No.: ' || :NEW.SEQ_NO ||
                          '  **ErrorMessage**  '||err_msg||' Error found after this statement: '||stmt_var;
           utl_smtp.data( conn, mesg );
           utl_smtp.quit( conn );*/ --6/24
            conn:= utl_smtp.open_connection( 'EXCHSMTP.coned.com');
    
           utl_smtp.helo(conn, 'coned.com');
           utl_smtp.mail(conn, '[email protected]' );
           utl_smtp.rcpt(conn, '[email protected]' );
           utl_smtp.rcpt(conn, cc_recipient);
           mesg:= 'From: Cut Staging After Insert <[email protected]>' || crlf ||
                  'Subject: CR_FIELD_CUT_AFTER_INSERT Trigger Failed (Testing)' || crlf ||
                  'To: XYZ <[email protected]>' || crlf ||
                  'Cc: ' || cc_recipient || crlf  ;
           mesg:= mesg || '' || crlf || msg_body || ' Layout No.: '|| :NEW.LAYOUT_NO ||
                          ' Cut No.: ' || :NEW.CUT_NO || ' Item No.: ' || :NEW.SEQ_NO ||
                          '  **ErrorMessage**  '||err_msg||' Error found after this statement: '||stmt_var;
           utl_smtp.data( conn, mesg );
           utl_smtp.quit( conn );
    END;
    Published by: 831050 July 20, 2011 06:50

    It's just a guess,

    what you the sliders are open regardless of any condition, for example;

    OPEN CUT(:NEW.LAYOUT_NO);
    OPEN DET(:NEW.LAYOUT_NO);
    OPEN ITM(:NEW.LAYOUT_NO);
    OPEN LOT(:NEW.LAYOUT_NO);
    OPEN DTN(:NEW.LAYOUT_NO, :NEW.CUT_NO, :NEW.NOTE);
    

    UNA is however open after a condition;

    IF DTN%NOTFOUND THEN
      /** start --added for cha 2011-3172 6/14/2011 **/
    
          OPEN UNA(:NEW.LAYOUT_NO, :NEW.ACCOUNT_NO);
    

    All in sliders however closed without worrying, that is, they are all suppose to be open;

      CLOSE CUT;
      CLOSE DET;
      CLOSE DTN;
      CLOSE ITM;
      CLOSE LOT;
      CLOSE STAT;
      CLOSE UNA;
    

    So I think you close the wen of cursors UNA this is indeed not to open.
    So, pass the "NARROW UNA"; line of code before the END IF; on line 278, since that's when it will definitely be open.

  • Layout error while deploying the application on the glassfish server. Any body can help?

    Mr President.

    Layout error while deploying the application on the glassfish server. Any body can help?

    The server log is

    [2015-06-05T12:05:15.646+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487915646] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:15.646+0500] [glassfish 4.1] [WARNING] [] [javax.enterprise.system.tools.deployment.javaeefull] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487915646] [levelValue: 900] [[
      Exception while locating sub archive: AshCMS_ViewController_webapp.war]]
    
    
    [2015-06-05T12:05:15.706+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=88 _ThreadName=deployment-jar-scanner] [timeMillis: 1433487915706] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:17.484+0500] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487917484] [levelValue: 800] [[
      visiting unvisited references]]
    
    
    [2015-06-05T12:05:23.074+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923074] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:23.074+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923074] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:23.784+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923784] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:23.804+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923804] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:23.804+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923804] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:23.804+0500] [glassfish 4.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923804] [levelValue: 1000] [[
      Exception while deploying the app [AshCMS_Project1_AshCMS]]]
    
    
    [2015-06-05T12:05:23.804+0500] [glassfish 4.1] [SEVERE] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923804] [levelValue: 1000] [[
      Exception during lifecycle processing
    java.lang.IllegalArgumentException: Could not find sub module [AshCMS_ViewController_webapp.war] as defined in application.xml
      at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:560)
      at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openWith(ApplicationArchivist.java:229)
      at com.sun.enterprise.deployment.archivist.ApplicationFactory.openWith(ApplicationFactory.java:232)
      at org.glassfish.javaee.core.deployment.DolProvider.processDOL(DolProvider.java:193)
      at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:227)
      at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:96)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:881)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:821)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:377)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Unknown Source)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Unknown Source)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
      at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:253)
      at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:231)
      at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:275)
      at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:328)
      at org.glassfish.admin.rest.resources.TemplateListOfResource.post(TemplateListOfResource.java:163)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)
      at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103)
      at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271)
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)
      at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254)
      at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1028)
      at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:365)
      at org.glassfish.admin.rest.adapter.RestAdapter$2.service(RestAdapter.java:316)
      at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
      at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)
      at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)
      at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)
      at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
      at java.lang.Thread.run(Unknown Source)
    ]]
    
    
    [2015-06-05T12:05:23.814+0500] [glassfish 4.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923814] [levelValue: 1000] [[
      Exception while deploying the app [AshCMS_Project1_AshCMS] : Could not find sub module [AshCMS_ViewController_webapp.war] as defined in application.xml]]
    
    
    [2015-06-05T12:05:30.224+0500] [glassfish 4.1] [INFO] [] [org.jvnet.mimepull.WeakDataFile] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487930224] [levelValue: 800] [[
      File C:\Users\TANVIR\AppData\Local\Temp\MIME4440540335098498486.tmp was not delet
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    ed]]
    
    

    Any body can help to find the error.

    Because I'm not able to find the error.

    Concerning

    As indicated in the supported link you must use Glassfish 3.1 NOT Glassfish 4

  • Database exception Houston - 28010:Error while getting the value of the following sequence for database PS_TXN_seq

    Hello

    I use jdev 11.1.1.6.0 version.

    We build webcenter portal application for which Portal Server is on one computer/server and database server is located on a different machine/server.

    It worked well, but the error pulled is

    Database exception Houston - 28010:Error while getting the value of the following sequence for database PS_TXN_seq

    What is the cause of this issue.

    [2013-08 - 03T 19: 55:09.566 + 08:00] [WC_Portal1] [WARNING] [] [oracle.jbo.server.ApplicationModuleImpl] [tid: [ASSETS].] [' ExecuteThread: ' 249 ' for queue: "(self-adjusting) weblogic.kernel.Default"] [username: anonymous] [ecid: 004skazFMpJAdLEuN4aeLQ0002OP0000pS, 0:1] [APP: App_application1 #V2.0] [URI: / App/faces/AfLiteratureMenu/AfDocRefProductInstructions] []

    oracle.jbo.PCollException: Houston-28010: error getting next sequence value for the database PS_TXN_seq

    at oracle.jbo.PCollException.throwException(PCollException.java:36)

    at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1503)

    at oracle.jbo.pcoll.PCollManager.register(PCollManager.java:562)

    to oracle.jbo.pcoll.PCollection. < init > (PCollection.java:99)

    at oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:461)

    at oracle.jbo.server.DBSerializer.setup(DBSerializer.java:153)

    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:286)

    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)

    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:6026)

    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5877)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:386)

    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9084)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4607)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.manageReferencingState(ApplicationPoolImpl.java:1493)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.finalizeResource(ApplicationPoolImpl.java:1393)

    at oracle.jbo.pool.ResourcePool.removeResourceInternal(ResourcePool.java:848)

    at oracle.jbo.pool.ResourcePool.setState(ResourcePool.java:1103)

    at oracle.jbo.pool.ResourcePool.removeResource(ResourcePool.java:860)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.removeDeadInstance(ApplicationPoolImpl.java:2736)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4638)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.manageReferencingState(ApplicationPoolImpl.java:1493)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.recycleReferencedInstance(ApplicationPoolImpl.java:2623)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2444)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)

    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)

    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)

    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)

    at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:484)

    at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)

    at oracle.adf.model.BindingContext.put(BindingContext.java:1340)

    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:174)

    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1056)

    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1566)

    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1438)

    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1398)

    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1189)

    at oracle.adf.model.BindingContext.get(BindingContext.java:1139)

    at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)

    at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)

    at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2713)

    at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2761)

    at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)

    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)

    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1458)

    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1588)

    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2472)

    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2416)

    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3069)

    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)

    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3195)

    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)

    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)

    to oracle.adf.controller.v2.lifecycle.Lifecycle$ 2.execute(Lifecycle.java:137)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$ 400 (ADFPhaseListener.java:23)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.startPageLifecycle (ADFPhaseListener.java:238)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 1.after(ADFPhaseListener.java:274)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at alfaaesar.portal.pages.filter.AnonymousSessionFilter.doFilter(AnonymousSessionFilter.java:47)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: java.sql.SQLRecoverableException: Connection closed

    at oracle.jdbc.driver.PhysicalConnection.createStatement(PhysicalConnection.java:4070)

    at oracle.jdbc.driver.PhysicalConnection.createStatement(PhysicalConnection.java:4008)

    at oracle.jdbc.OracleConnectionWrapper.createStatement(OracleConnectionWrapper.java:112)

    at weblogic.jdbc.wrapper.XAConnection.createStatement(XAConnection.java:623)

    at weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:500)

    at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1459)

    ... more than 114

    # # 0 in detail

    java.sql.SQLRecoverableException: closing connection

    at oracle.jdbc.driver.PhysicalConnection.createStatement(PhysicalConnection.java:4070)

    at oracle.jdbc.driver.PhysicalConnection.createStatement(PhysicalConnection.java:4008)

    at oracle.jdbc.OracleConnectionWrapper.createStatement(OracleConnectionWrapper.java:112)

    at weblogic.jdbc.wrapper.XAConnection.createStatement(XAConnection.java:623)

    at weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:500)

    at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1459)

    at oracle.jbo.pcoll.PCollManager.register(PCollManager.java:562)

    to oracle.jbo.pcoll.PCollection. < init > (PCollection.java:99)

    at oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:461)

    at oracle.jbo.server.DBSerializer.setup(DBSerializer.java:153)

    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:286)

    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)

    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:6026)

    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5877)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:386)

    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9084)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4607)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.manageReferencingState(ApplicationPoolImpl.java:1493)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.finalizeResource(ApplicationPoolImpl.java:1393)

    at oracle.jbo.pool.ResourcePool.removeResourceInternal(ResourcePool.java:848)

    at oracle.jbo.pool.ResourcePool.setState(ResourcePool.java:1103)

    at oracle.jbo.pool.ResourcePool.removeResource(ResourcePool.java:860)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.removeDeadInstance(ApplicationPoolImpl.java:2736)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4638)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.manageReferencingState(ApplicationPoolImpl.java:1493)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.recycleReferencedInstance(ApplicationPoolImpl.java:2623)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2444)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)

    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)

    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)

    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)

    at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:484)

    at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)

    at oracle.adf.model.BindingContext.put(BindingContext.java:1340)

    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:174)

    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1056)

    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1566)

    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1438)

    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1398)

    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1189)

    at oracle.adf.model.BindingContext.get(BindingContext.java:1139)

    at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)

    at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)

    at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2713)

    at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2761)

    at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)

    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)

    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1458)

    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1588)

    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2472)

    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2416)

    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3069)

    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)

    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3195)

    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)

    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)

    to oracle.adf.controller.v2.lifecycle.Lifecycle$ 2.execute(Lifecycle.java:137)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$ 400 (ADFPhaseListener.java:23)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.startPageLifecycle (ADFPhaseListener.java:238)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 1.after(ADFPhaseListener.java:274)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at alfaaesar.portal.pages.filter.AnonymousSessionFilter.doFilter(AnonymousSessionFilter.java:47)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    ]]

    Table PXN_TXN, where the ADFBC tent passivate the StateFull AppModules State.

    (1) where you can hit this error is because you din't create / Create index of the privileges of the user who is using to connect to the DB.

    (2) ideally, the status of users is removed after the end of the session of the user, but when the app is closed unexpectedly due to the loss of Server/DB,

    State ID remains in the table and it is not recommended to clean the tables using the database standard PROCEDURE calls provided by Oracle oracle

    The following links will be useful to understand the function of the

    The application state management

    http://www.Veriton.co.UK/download/Practical_ADF_Application_Deployment.PDF

    Perform the following procedure, clean the tables PS_TXN to put in place the BC4J_CLEANUP PL/SQL package

    oracle_common/modules/Oracle.ADF.model_11.1.1/bin/bc4jcleanup. SQL

    Annex BC4J_CLEANUP. SESSION_STATE(24*60) using DBMS Scheduler to clean up the States for more than 24 hours.

  • "CFADMIN", "there was an error while checking the token. The session has expired or UN-bel

    People - I am really stumped on this one and need help.  I train a new employee on our CF 9.0.2 EA environment and I wanted him to run some of our scheduled tasks.  I had to open a session in the production with the admin site and password (one-time password using only the id of cfadmin "generics") without incident.

    He sailed to the scheduled tasks without incident, clicked the button "Run the scheduled task" and upward jumped a message to open a session in Administrator CF.  Never, ever have I seen this happen before.  I checked, and no one else was recorded in the CF administrator at the time.

    The application log contained the following warning: "CFADMIN", "there was an error while checking the token. The session has expired or unauthenticated access is suspected. »

    I have google, Yahooed and anything else in the meantime and can only end of references to CF10 and single account sessions.  Yet once we checked it was the on using only the administrator see  (I know because I am just another one who knows the admin password).  We are all both in the same group of security for the server (Windows 2003 R2) administration have the same level of security to the database - read-only (MS SQL Server 2005), but none of this is important since we are through THE and by using the IUSER or IWAM permissions.  Doesn't seem to matter if the integrated Windows authentication check or not in IE options either.

    I tried to separate application ID and password security - but I got the same error message.

    All ideas are most appreciated.

    Libby

    Charlie - thank you very much for your help.  Although you have identified the real problem, unfortunately I have always a solution.  But I kept in the back of my mind...

    But just recently, I was hit with this same problem myself.  As a last resort, I clean my cookies and all my temporary Internet files.  For me, that did the trick.

    My store is running the most vanilla of CF9 environments possible, Web site instance unique, the only database MS SQL Server, IIS 7 on a Windows 2008 R2 server.  Absolutely not the bells and whistles.

    Again, thank you for taking the time to read my post and you offer thoughts and support.  Without the help of specialists like you - well - I don't know where I'd be.

  • XOQ-01703: error while parsing the script generation process: (clear, compile) «,»

    Hi all

    I was just clearing the dimensions using the below online order SQL throwing below error. However, it works very well with my 5 dimensions to another. Any advice?

    SQL > exec dbms_cube.build ("POSITION put (claire, compilation)" ");
    BEGIN dbms_cube.build ("POSITION put (claire, compilation)" "); END;

    *
    ERROR on line 1:
    ORA-37162: Error OLAP
    XOQ-01703: error while parsing the script of compilation process: 'BUILDING using the POSITION '.
    (delete, compile) », « »
    ORA-06512: at "SYS." DBMS_CUBE', line 236
    ORA-06512: at "SYS." DBMS_CUBE', line 280
    ORA-06512: at line 1

    Thank you
    DxP

    The word POSITION is a keyword in the syntax, double quote it. For example

    exec dbms_cube.build(' "POSITION" using (clear, compile)')
    

    It is advisable to do it with all your IDs.

  • In e-mails AOL, verification of the individual messages in the results of regular system in this error message: there was an error while loading the message. Please try again later.

    In access to AOL e-mail via the full version, I can navigate my account (old messages, new messages, spam, etc.) very well, but when I try to open an individual email, I get this error message: "there was an error while loading the message. Please try again later. »

    This is identical to a problem someone else was described in another thread... Unfortunately, nothing suggested you him seemed to work. I have BEEN cheated at the opening of a file attached to an e-mail immediately before this started, so I think it's a virus or something. IN ANY CASE... I AM able to open the messages when I use the basic version of AOL. Initially, the problem seemed to be in Firefox, but I tried with Internet Explorer now also and it's the same thing, and the basic version is accessible while the full version is still blocked.

    On both browsers, after the error message, I can't even click on individual posts to TRY to open another, and there are a few not-very-right boxes and the x and the things that appear on the screen that do not belong.

    Please tell me that you can not do that, go away... I tried uninstalling and reinstalling... Firefox who did not. I also enjoy McAffee, and that has not changed anything.

    You can do a check of malware with several digitization programs of malicious software on the Windows computer.

    Please scan with all programs, because each program detects a different malicious program.

    All of these programs have free versions.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • ODI 20088:Error while generating the script

    Hello
    Today I change the name of my file schema logic (the name is change to lower to uppercase). Then select the new template file schema (only it uses the schema file). Then try to generate the script again, but get an error like this:
    ODI 20088:Error while generating the script


    java.lang.NullPointerException
    at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.treatPopSourceSet(SnpGeneratorSQLCIT.java:7990)
    at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.treatJobPopCollectionBuild(SnpGeneratorSQLCIT.java:7726)
    at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.preComputePop(SnpGeneratorSQLCIT.java:7668)
    at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.treatJobPop(SnpGeneratorSQLCIT.java:7568)
    at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.treatPackageStep(SnpGeneratorSQLCIT.java:10477)
    at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.mainGenPackageScenario(SnpGeneratorSQLCIT.java:2883)
    at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.mainGenPackageScenario(SnpGeneratorSQLCIT.java:2817)
    at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.mainGenScenSourceScenario(SnpGeneratorSQLCIT.java:11481)
    at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.mainGenScenSourceScenario(SnpGeneratorSQLCIT.java:11505)
    at com.sunopsis.graphical.dialog.SnpsDialogScen.generateScen(SnpsDialogScen.java:190)
    at com.sunopsis.graphical.scenario.DwgScenGeneratingWizard.generate(DwgScenGeneratingWizard.java:68)
    at oracle.odi.ui.action.SnpsPopupActionGenerateScenHandler.actionPerformed(SnpsPopupActionGenerateScenHandler.java:103)
    at oracle.odi.ui.SnpsActionControler.handleEvent(SnpsActionControler.java:86)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
    at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
    at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
    in javax.swing.plaf.basic.BasicMenuItemUI$ Handler.mouseReleased (BasicMenuItemUI.java:850)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Help, please
    Thank you
    Sébastien

    If you have not removed the old schema file, then he should have been working, but there seems to be issues with the link between the interface and the model.
    I can't say this is the real reason, but it could be. Since you move the interface file data store, interface probably point to the old schema and model file point to the new schema.

    I guess you must recreate the interface again. Let me know how it goes with you

    Chantal
    http://dwteam.in

  • PSC 2510 - wireless configuration - "error while saving the settings of the device.

    While trying to configure my PSC 2510 to be wireless I get an "Error." error while saving the settings of the device. This comes after selecting the network connection, select printer device, choose WEP, enter key and clicking next.

    PSC 2510

    Windows Vista

    Using the latest HP sfotware to install

    Thank you

    Dennis

    PROBLEM SOLVED... based on PrintDoc response to penn (refrence section "C4385 printer - Netgear DGN2000 Wireless Setup".-

    PrintDoc response has helped me find my problem (to reset the network settings on the printer to the factory) if different same printer.

    Thank you

  • Getting error while deploying the Application to the cloud

    Hello

    I am getting below error while deploying the application oracle cloud

    [11: 11:06]-deployment began.  ----

    [11: 11:06] the target platform's (Oracle Cloud).

    [11: 11:06] recovery of the existing application information

    [11: 11:09] analysis of the dependence running...

    [11: 11:09] building...

    [11: 11:12] deployment 2 profiles...

    [11: 11:12] wrote on the Web for C:\JDeveloper\mywork\TrainingDemo\ViewController\deploy\TrainingDemo_ViewController_webapp1.war application Module

    [11: 11:12] wrote the Module Enterprise Application to C:\JDeveloper\mywork\TrainingDemo\deploy\TrainingDemo_application1.ear

    [11: 11:12] Application deployment...

    [11: 12:10] Oracle Cloud Job ID: 58640

    [11: 12:13] Oracle Cloud deploy job log: C:\Users\14992\AppData\Local\Temp\cloud-1546182943221418855.log

    [11: 12:13] # incomplete deployment.  ####

    [11: 12:13] the Cloud Oracle job failed. Message from the server Oracle Cloud was:

    Failure of the work of the Oracle Cloud. Check the job log file.


    Cloud - 1546182943221418855.log

    [INFO] - == > injection EAR finished: *.

    TrainingDemo1_application1.ear_dir* *.

    2015-03-16 03:12:53 CDT: Cloud Application Compilation succeeded

    2015-03-16 03:12:53 CDT: "Cloud App compile" complete: status SUCCESS

    2015-03-16 03:12:53 CDT: start action "deploy the Application.

    2015-03-16 03:12:53 CDT: deploy Application started

    2015-03-16 03:12:53 CDT: no servers managed at the service request

    2015-03-16 03:12:53 CDT: deploy Application failed.

    2015-03-16 03:12:53 CDT: 'Deploy the Application' complete: FAILED status


    Check this blog hands-on experience on Oracle products: deployment of Applications in the cloud to Oracle using JDeveloper ADF which giudes for the adf in the cloud application deployment.

    Timo

  • "Access denied" pop-up error while opening the form online Adobe in IE8.

    "Access denied" pop-up error while opening the form online Adobe in IE8. I use a crosslink to connect to the customer's network and then open IE with Tunnel of App. Tried to re - install Acrobat reader several times but always present problem. Even tried to change the properties of the PDF (-> Preferences - general/Internet/Security Enhanced Edition)

    Problem is resolved...

    Fact following the steps:

    Uninstalled Adobe

    Disable anti virus running to do a fresh install of adobe reader 10.0

    Delete the adobe folder under <> \AppData\Local>Adobe and <> \AppData\Roaming>Adobe

  • I just bought Photoshop 11.  The serial number is not valid for out me of the trial.

    I just bought Photoshop 11.  The serial number is not valid for out me of the trial.

    You must contact Adobe Support by chat or phone when you have the serial number and activation problems.

    Here are some links to help get in touch:

    http://www.Adobe.com/support/chat/ivrchat.html

    http://www.Adobe.com/support/download-install/supportinfo/

  • How can I activate an older version of Photoshop that I have loaded on my new tablet? Web activation does not work, and when I call the number, it is said that it is not longer used. In the meantime, I'm up to 13 days until it stops working due to not bei

    How can I activate an older version of Photoshop that I have loaded on my new tablet? Web activation does not work, and when I call the number, it is said that it is not longer used. Meanwhile, I'm 13 days until it stops working due to not be enabled. Help?  I really need to continue to use this product for my home business. It works very well not activated but the threat is that it will stop working in 13 days more if I don't get activated, and none of the activation methods that they list seem to work.

    You can download CS2 if you have a valid license for CS or CS2.

    And you have to follow the instructions and use the download again AND the new serial number.

  • Search and apply reception error: ORA-00904: "ON_ACCT_PO_NUM": not valid

    Hello

    We get an error when you try to apply revenues, ORA-00904: "ON_ACCT_PO_NUM": invalid identifier. Found some Metalink:

    Find and apply functionality Arxrwmai filled with ORA-00904: error "ON_ACCT_PO_NUM" [388202.1 ID]
    ARXRWMAI: ORA-00904: "On_acct_po_num": invalid identifier, applying the reception [564612.1 ID]
    ARP_PROCESS_APPLICATION is not valid - PLS-00302: component 'ON_ACCT_CUST_ID' must be declared [577194.1 ID]

    Basically all suggest that the columns (IE ON_ACCT_PO_NUM) are missing in AR_RECEIVABLE_APPLICATIONS. Check these tables and columns are actually there, however, I ran SQL > @$AR_TOP/patch/115/sql/arvrrapp.sql (the version is 115.26.15104.3). And re-tested, always a problem. Audit to verify what patches have been applied recently that could cause this.

    RDBMS: 11.2.0.1.0
    Oracle Applications: 11.5.10.2

    Thank you
    -Steve

    Hi steve;

    Check use select * ad_bugs and check patch that applied using the applied date column

    * PS: patch 5359197 is exist on your server that is mentioned on the research and apply feature Arxrwmai ends with ORA-00904: error "ON_ACCT_PO_NUM" [388202.1 ID] *.

    Respect of
    HELIOS

Maybe you are looking for

  • Satellite A100 - 003 (PSAARE) - disk HARD help upgrade

    Hello I have a Satellite A100-003 (PSAARE) Windows 7 Home Premium 32 - bit installed and 3 GB of RAM 667 MHz.I want to spend my hard drive. But I don't know which model is most suitable for my computer. There are two options: 7200 rpm or 5400 RPM HAR

  • HP Pavilion a6000n desktop: adding false graphic RAM and freezes start.

    Well, I'm back with the same machine as the previous assignments.  I ordered the recovery of Surgeons of the computer disks and that they were unnecessary because the computer does not see any cd/dvd I have to install.  Finally gave up and ordered a

  • Porting to ARM LM3S811, basic PWM i/o issues

    Hi allOK, so quickly, I take back what I did: -The LM3S811: http://www.luminarymicro.com/products/ekk-lm3s811_evaluation_kit.html -J' used the generic LM3Sxxxx to create one forthe LM3S811 by following the instructions in the porting guide for other

  • HP Envy 4500: 10 - app Windows did not start

    I just installed the free update of Windows 10. Initially a problem for my scanner HP Envy 4500 to scan documents, but it has now resolved.  However, when I try to open the scan I get the message "the application has not begun."   Help!

  • Vertical scroll bar on a screen that has no assets.

    Hello I have a data grid only display on my screen. Table cells don't have any accent.  As the table may have more lines that it can fit on the screen, I want to show a vertical scroll bar that would scroll of the page by page.  Is it possible to do?