Error while creating procedure

i am creating the procedure which is having year as arguemnt (i am couting total number of user in year)
CREATE OR REPLACE PROCEDURE sample1 (a_year varchar2(4)) IS
BEGIN
select COUNT(*) Total_Count
from users a
where a.create_dt >= TO_DATE('01-JAN-'a_year, 'dd-mon-yyyy' )
and a.create_dt <= TO_DATE('31-DEC'a_year, 'dd-mon-yyyy' );
END sample1;

if i am using cursor like below
CREATE OR REPLACE PROCEDURE sample1 (a_year char,p_Parent_RS       IN OUT t_CursorPtr) IS
TYPE t_CursorPtr           IS REF CURSOR;
BEGIN
OPEN p_Parent_RS FOR
select 'NEW ITEMS CREATED' Column_Name,  COUNT(*) Total_Count
from attribs a
where a.create_dt >= TO_DATE('01-JAN-'||a_year, 'dd-mon-yyyy' )
and a.create_dt <= TO_DATE('31-DEC-'||a_year, 'dd-mon-yyyy' )
union all
-- new locations count
select 'NEW LOCATION COUNT' Column_Name,  COUNT(*) Total_Count
from location a
where a.create_dt >= TO_DATE('01-JAN-'||a_year, 'dd-mon-yyyy' )
and a.create_dt <= TO_DATE('31-DEC-'||a_year, 'dd-mon-yyyy' )
union all
-- new interface nodes
select 'NEW INTERFACE NODE' Column_Name,  COUNT(*) Total_Count
from interface_node a
where A.create_dt >= TO_DATE('01-JAN-'||a_year, 'dd-mon-yyyy' )
and a.create_dt <= TO_DATE('31-DEC-'||a_year, 'dd-mon-yyyy' )
union all
-- # of items with attributes
select 'ITEMS WITH ATTRIBUTE' Column_Name,  COUNT(*) Total_Count 
from attribs
where label_name_code not like '0'
--and component_code not like '0'
and item_act_inact_status = 'A'
and product_type_code IN ('FG','SF','BULK','SAM')
union all
-- total # of users
select 'TOTAL NUMBER OF USER' Column_Name,  COUNT(*) Total_Count
from users a
where a.stat_code = 'A';
END sample1;i am getting below error
PLS-00201: identifier 'T_CURSORPTR' must be declared

Similar Messages

  • Compilation error while creating procedure

    Hi,
    I am getting compilation error while creating procedure
    CREATE OR REPLACE My_CHANGEDATE IS
    error_string VARCHAR2(400) := NULL;
    BEGIN
    Create table set_temp as select * from set;
    CURSOR c1 is
         SELECT a.SETNUM, b.CHANGEDATE from
         set a, setsp_t2 b
         where a.setnum = b.setnum
         and trunc(a.changedate) < trunc(b.CHANGEDATE);
    BEGIN
         FOR rec IN c1 LOOP
              UPDATE set SET changedate = rec.changedate
              WHERE setnum = rec.setnum;
              Insert into set_temp select * from set where setnum = rec.setnum;
              END LOOP;
         EXCEPTION
              WHEN NO_DATA_FOUND THEN
              NULL;
         WHEN OTHERS THEN
                   error_string := 'My_CHANGEDATE - '||SUBSTR(SQLERRM,1,350);
    DBMS_OUTPUT.PUT_LINE(error_string);
                   RAISE;
    END My_CHANGEDATE;

    I have taken your code and cleaned it up to be more readable. Please see the comments in the code.
    CREATE OR REPLACE My_CHANGEDATE
    IS
            error_string VARCHAR2(400) := NULL;
    BEGIN
            /* The only way to issue DDL in a procedure is to either user
             * DBMS_SQL or EXECUTE IMMEDIATE. Creating objects is generally
             * not needed or recommended in frequently run code.
            Create table set_temp as select * from set;    
            /* The cursor declarations need to go in the declaration section of the
             * procedure (between IS .. BEGIN).
            CURSOR c1 is                                   
            SELECT a.SETNUM, b.CHANGEDATE from
            set a, setsp_t2 b
            where a.setnum = b.setnum
            and trunc(a.changedate) < trunc(b.CHANGEDATE);
            BEGIN   /* Where is the END that goes with this begin? */
            /* Single record processing is generally not recommended. It is considered a "slow-by-slow" method. */
            FOR rec IN c1 LOOP
                    UPDATE set SET changedate = rec.changedate
                    WHERE setnum = rec.setnum;
                    Insert into set_temp select * from set where setnum = rec.setnum;
            END LOOP;
    EXCEPTION
            WHEN NO_DATA_FOUND THEN
                    NULL;
            WHEN OTHERS THEN
                    error_string := 'My_CHANGEDATE - '||SUBSTR(SQLERRM,1,350);
                    DBMS_OUTPUT.PUT_LINE(error_string);
                    RAISE;
    END My_CHANGEDATE;My general recommendations are as follows:
    1. Remove the CREATE TABLE from the procedure altogether.
    2. Don't use reserved words for object names (e.g. SET)
    3. Remove the record by record processing and consolidate it to a single UDPATE statement as follows (note untested):
    UPDATE  set s
    SET     changedate = (
                            SELECT  CHANGEDATE
                            FROM    SET A
                            ,       SETSO_T2 B
                            WHERE   A.SETNUM = B.SETNUM
                            AND     S.SETNUM = A.SETNUM
                            AND     TRUNC(A.CHANGEDATE) < TRUNC(B.CHANGEDATE)
    WHERE EXISTS(
                    SELECT  NULL
                    FROM    SET A
                    WHERE   A.SETNUM = S.SETNUM
                    )HTH!

  • Error while creating procedure and package

    Hi,
    I am getting an error while creating an procedure
    create or replace procedure mke_test (mke_gender varchar2) is
    begin
    declare global temporary table mag_hotline_glob
    INDIVIDUAL_ID NUMBER,
    ONE_MONTH NUMBER,
    THREE_MONTH NUMBER,
    SIX_MONTH NUMBER,
    TWELVE_MONTH NUMBER,
    CHILDREN_PRES VARCHAR2(1 BYTE)
    ) with replace on commit preserve rows not logged;
    begin
    insert into mag_hotline_glob
    select * from magazine_gender;
    end;
    end;
    can anybody plz suggest

    It's a total mess. You need to read the documentation first.
    Create your table separately
    CREATE global temporary table mag_hotline_glob(INDIVIDUAL_ID NUMBER,
                                                ONE_MONTH NUMBER,
                                                THREE_MONTH NUMBER,
                                                SIX_MONTH NUMBER,
                                                TWELVE_MONTH NUMBER,
                                                CHILDREN_PRES VARCHAR2(1 BYTE)) with replace on commit preserve rows not logged;Then use the procedure (I don't know why, this INSERT statement you can fire yourself)
    create or replace procedure mke_test(mke_gender varchar2) is
    begin
        insert into mag_hotline_glob
          select * from magazine_gender;
    end;If you want to create the GTT inside the procedure(should be avoided) then Use EXECUTE IMMEDIATE.
    By the way, where are you using the IN parameter ? It' unnecessary.

  • PLS-00103 Error While Creating Procedure

    I am attempting to create the following procedure following the guidelines in Metalink Doc ID #118040.1 and I keep receiving the following error at Line #22:
    Error(22,65): PLS-00103: Encountered the symbol ":" when expecting one of the following: := . ( % ; The symbol ":= was inserted before ":" to continue.
    Here is my procedure code:
    PROCEDURE sw_load_image( position IN NUMBER, filename VARCHAR2) AS
    f_lob BFILE;
         b_lob BLOB;
         image_name VARCHAR2(30);
         mime_type VARCHAR2(30);
         dot_pos NUMBER;
    BEGIN
    -- Find the position of the dot ('.') located in the filename
         dot_pos := INSTR(filename, '.');
         -- Get the filename without extension and use it as image name
         image_name := SUBSTR(filename,1,dot_pos-1);
         -- Build the mime type. Retrieve the file extension and add it to 'image/'
         mime_type := 'image/'||SUBSTR( filename, dot_pos+1, length(filename) );
         INSERT INTO sw_images values(position, image_name, mime_type, empty_blob() ) RETURN img_data INTO b_lob;
         f_lob := BFILENAME('IMG2LOAD', filename);
         dbms_lob.fileopen(f_lob, dbms_lob.file_readonly);
         dbms_lob.loadfromfile(b_lob, f_lob, dbms_lob.getlength(f_lob) ):
         dbms_lob.fileclose(f_lob);
         COMMIT;
    END;
    Line #22 is the line that starts 'dbms_lob.loadfromfile'. I am not seeing where I have made a mistake. Does anyone else see where I've made a mistake?
    This procedure is being created on a 9i database running on W2K server and W2K client.
    Thanks,
    Jason

    Thanks! As many times as I looked at that I can't believe I didn't see that. Thanks again.

  • Very weird ORA-06502 error while creating procedure

    Hi All,
    i try to create the following procedure (on a 10.2 database):
    create or replace procedure audit_report
    as
    cursor c_audit_user (b_start_date date, b_end_date date)
    is
    select user_id
    , os_user
    , session_id
    , host
    , last_program
    , last_action
    , last_module
    , to_char(logon_day,'dd-mm-yyyy') logon_day
    , logon_time
    , to_char(logoff_day,'dd-mm-yyyy') logoff_day
    , logoff_time
    , elapsed_minutes
    from audit_user
    where logon_day >= b_start_date
    and logon_day < b_end_date
    order by logon_day desc
    cursor c_audit_ddl (b_start_date in date, b_end_date in date)
    is
    select user_name
    , to_char(ddl_date,'dd-mm-yyyy hh24:mi:ss') ddl_date
    , ddl_type
    , object_type
    , owner
    , object_name
    , sql_text
    from audit_ddl
    where ddl_date >= b_start_date
    and ddl_date < b_end_date
    order by ddl_date desc
    cursor c_audit_trail (b_start_date in date, b_end_date in date)
    is
    select os_username
    , username
    , to_char(timestamp,'dd-mm-yyyy hh24:mi:ss') timestamp
    , owner
    , obj_name
    , to_char(action) action
    , action_name
    , decode(ses_actions,'---S------------','DELETE',
    '------S---------','INSERT',
    '---------S------','SELECT',
    '----------S-----','UPDATE',
    '---S--S--S------','DELETE/INSERT/SELECT',
    '---S--S--SS-----','DELETE/INSERT/SELECT/UPDATE',
    '------S--S------','INSERT/SELECT',
    '------S--SS-----','INSERT/SELECT/UPDATE',
    '---------SS-----','SELECT/UPDATE',
    'DDL ACTION') ses_actions
    , priv_used
    from dba_audit_Trail
    where username <> 'DBSNMP'
    and timestamp >= b_start_date
    and timestamp < b_end_date
    order by timestamp desc
    v_header_user varchar2(255);
    v_sep_user varchar2(255);
    v_header_ddl varchar2(255);
    v_sep_ddl varchar2(255);
    v_header_dml varchar2(255);
    v_sep_dml varchar2(255);
    v_record_user varchar2(255);
    v_record_ddl varchar2(255);
    v_record_dml varchar2(255);
    v_report utl_file.file_type;
    v_file_dir varchar2(255);
    v_file_name varchar2(255);
    v_start_date date;
    v_end_date date;
    v_db_name varchar2(255);
    begin
    -- Find start and end date of previous week (Sunday to Monday)
    if to_char(sysdate,'DAY') = 'MONDAY' then
    v_start_date := trunc(sysdate-8);
    v_end_date := trunc(sysdate-1);
    elsif
    to_char(sysdate,'DAY') = 'TUESDAY' then
    v_start_date := trunc(sysdate-9);
    v_end_date := trunc(sysdate-2);
    elsif
    to_char(sysdate,'DAY') = 'WEDNESDAY' then
    v_start_date := trunc(sysdate-10);
    v_end_date := trunc(sysdate-3);
    elsif
    to_char(sysdate,'DAY') = 'THURSDAY' then
    v_start_date := trunc(sysdate-11);
    v_end_date := trunc(sysdate-4);
    elsif
    to_char(sysdate,'DAY') = 'FRIDAY' then
    v_start_date := trunc(sysdate-12);
    v_end_date := trunc(sysdate-5);
    elsif
    to_char(sysdate,'DAY') = 'SATURDAY' then
    v_start_date := trunc(sysdate-13);
    v_end_date := trunc(sysdate-6);
    elsif
    to_char(sysdate,'DAY') = 'SUNDAY' then
    v_start_date := trunc(sysdate-14);
    v_end_date := trunc(sysdate-7);
    end if;
    --Fill headers
    v_header_user := 'USER_ID OS_USER SESSION_ID HOST LAST_PROGR'||
    ' LAST_ACTION LAST_MODULE LOGON_DAY'||
    ' LOGON_TI LOGOFF_DAY LOGOFF_T ELAPSED_MINUTES';
    v_sep_user := '---------- --------- ---------- -------- ----------'||
    '-------------------- ----------- ----------- ---------'||
    v_header_ddl := 'USER_NAME DDL_DATE DDL_TYPE OBJECT_TYPE'||
    ' OWNER OBJECT_NAME SQL_TEXT';
    v_sep_ddl := '---------- --------------------- ---------- -----------'||
    '--------- ---------- -------------------- -------------'||
    v_header_dml := 'OS_USERNAME USERNAME TIMESTAMP OWNER'||
    ' OBJ_NAME ACTION ACTION_NAME SES_ACTIONS'||
    ' PRIV_USED';
    v_sep_dml := '----------- ---------- --------------------- ---------- '||
    '--------------- ------ --------------- ------------------'||
    --Create audit report file
    v_file_dir := 'AUDIT_REPORT_DIR';
    select name
    into v_db_name
    from v$database;
    v_file_name := 'audit_report_'||v_db_name||'_'||to_char(v_start_date,'yyyymmdd')||'-'||to_char(v_end_date-1,'yyyymmdd')||'.log';
    v_report := utl_file.fopen(v_file_dir, v_file_name, 'w');
    --Report Header
    utl_file.put_line(v_report,'AUDIT REPORT');
    utl_file.put_line(v_report,'------------');
    utl_file.put_line(v_report,'Database: '||v_db_name);
    utl_file.put_line(v_report,'From : '||to_char(trunc(v_start_date),'dd-mm-yyyy'));
    utl_file.put_line(v_report,'To : '||to_char(trunc(v_end_date),'dd-mm-yyyy'));
    utl_file.put_line(v_report,'Created : '||to_char(sysdate,'dd-mm-yyyy hh24:mi:ss'));
    utl_file.new_line(v_report);
    --Report Detail records
    utl_file.put_line(v_report,v_header_user);
    utl_file.put_line(v_report,v_sep_user);
    for r_audit_user in c_audit_user(v_start_date,v_end_date) loop
    v_record_user := rpad(r_audit_user.user_id,11,' ')||
    rpad(r_audit_user.os_user,11,' ')||
    rpad(r_audit_user.session_id,11,' ')||
    rpad(r_audit_user.host,9,' ')||
    rpad(r_audit_user.last_program,31,' ')||
    rpad(r_audit_user.last_action,12,' ')||
    rpad(r_audit_user.last_module,12,' ')||
    rpad(r_audit_user.logon_day,11,' ')||
    rpad(r_audit_user.logon_time,9,' ')||
    rpad(r_audit_user.logoff_day,11,' ')||
    rpad(r_audit_user.logoff_time,9,' ')||
    lpad(r_audit_user.elapsed_minutes,15,' ');
    utl_file.put_line(v_report,v_record_user);
    end loop;
    utl_file.new_line(v_report);
    utl_file.put_line(v_report,v_header_ddl);
    utl_file.put_line(v_report,v_sep_ddl);
    for r_audit_ddl in c_audit_ddl(v_start_date,v_end_date) loop
    v_record_ddl := rpad(r_audit_ddl.user_name,11,' ')||
    rpad(r_audit_ddl.ddl_date,22,' ')||
    rpad(r_audit_ddl.ddl_type,11,' ')||
    rpad(r_audit_ddl.object_type,21,' ')||
    rpad(r_audit_ddl.owner,11,' ')||
    rpad(r_audit_ddl.object_name,21,' ')||
    rpad(r_audit_ddl.sql_text,100,' ');
    utl_file.put_line(v_report,v_record_ddl);
    end loop;
    utl_file.new_line(v_report);
    utl_file.put_line(v_report,v_header_dml);
    utl_file.put_line(v_report,v_sep_dml);
    for r_audit_trail in c_audit_trail(v_start_date,v_end_date) loop
    v_record_dml := rpad(r_audit_trail.os_username,12,' ')||
    rpad(r_audit_trail.username,11,' ')||
    rpad(r_audit_trail.timestamp,22,' ')||
    rpad(r_audit_trail.owner,11,' ')||
    rpad(r_audit_trail.obj_name,16,' ')||
    rpad(r_audit_trail.action,7,' ')||
    rpad(r_audit_trail.action_name,16,' ')||
    rpad(r_audit_trail.ses_actions,19,' ')||
    rpad(r_audit_trail.priv_used,20,' ');
    utl_file.put_line(v_report,v_record_dml);
    end loop;
    utl_file.new_line(v_report);
    utl_file.put_line(v_report, '*** End of report ***');
    utl_file.fclose(v_report);
    end;
    This gives me the following error:
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 8
    When i try to create the procedure as this, i get the same error:
    create or replace procedure audit_report
    as
    /*cursor c_audit_user (b_start_date date, b_end_date date)
    is
    select user_id
    , os_user
    , session_id
    , host
    , last_program
    , last_action
    , last_module
    , to_char(logon_day,'dd-mm-yyyy') logon_day
    , logon_time
    , to_char(logoff_day,'dd-mm-yyyy') logoff_day
    , logoff_time
    , elapsed_minutes
    from audit_user
    where logon_day >= b_start_date
    and logon_day < b_end_date
    order by logon_day desc
    cursor c_audit_ddl (b_start_date in date, b_end_date in date)
    is
    select user_name
    , to_char(ddl_date,'dd-mm-yyyy hh24:mi:ss') ddl_date
    , ddl_type
    , object_type
    , owner
    , object_name
    , sql_text
    from audit_ddl
    where ddl_date >= b_start_date
    and ddl_date < b_end_date
    order by ddl_date desc
    cursor c_audit_trail (b_start_date in date, b_end_date in date)
    is
    select os_username
    , username
    , to_char(timestamp,'dd-mm-yyyy hh24:mi:ss') timestamp
    , owner
    , obj_name
    , to_char(action) action
    , action_name
    , decode(ses_actions,'---S------------','DELETE',
    '------S---------','INSERT',
    '---------S------','SELECT',
    '----------S-----','UPDATE',
    '---S--S--S------','DELETE/INSERT/SELECT',
    '---S--S--SS-----','DELETE/INSERT/SELECT/UPDATE',
    '------S--S------','INSERT/SELECT',
    '------S--SS-----','INSERT/SELECT/UPDATE',
    '---------SS-----','SELECT/UPDATE',
    'DDL ACTION') ses_actions
    , priv_used
    from dba_audit_Trail
    where username <> 'DBSNMP'
    and timestamp >= b_start_date
    and timestamp < b_end_date
    order by timestamp desc
    v_header_user varchar2(255);
    v_sep_user varchar2(255);
    v_header_ddl varchar2(255);
    v_sep_ddl varchar2(255);
    v_header_dml varchar2(255);
    v_sep_dml varchar2(255);
    v_record_user varchar2(255);
    v_record_ddl varchar2(255);
    v_record_dml varchar2(255);
    v_report utl_file.file_type;
    v_file_dir varchar2(255);
    v_file_name varchar2(255);
    v_start_date date;
    v_end_date date;*/
    v_db_name varchar2(255);
    begin
    /*-- Find start and end date of previous week (Sunday to Monday)
    if to_char(sysdate,'DAY') = 'MONDAY' then
    v_start_date := trunc(sysdate-8);
    v_end_date := trunc(sysdate-1);
    elsif
    to_char(sysdate,'DAY') = 'TUESDAY' then
    v_start_date := trunc(sysdate-9);
    v_end_date := trunc(sysdate-2);
    elsif
    to_char(sysdate,'DAY') = 'WEDNESDAY' then
    v_start_date := trunc(sysdate-10);
    v_end_date := trunc(sysdate-3);
    elsif
    to_char(sysdate,'DAY') = 'THURSDAY' then
    v_start_date := trunc(sysdate-11);
    v_end_date := trunc(sysdate-4);
    elsif
    to_char(sysdate,'DAY') = 'FRIDAY' then
    v_start_date := trunc(sysdate-12);
    v_end_date := trunc(sysdate-5);
    elsif
    to_char(sysdate,'DAY') = 'SATURDAY' then
    v_start_date := trunc(sysdate-13);
    v_end_date := trunc(sysdate-6);
    elsif
    to_char(sysdate,'DAY') = 'SUNDAY' then
    v_start_date := trunc(sysdate-14);
    v_end_date := trunc(sysdate-7);
    end if;
    --Fill headers
    v_header_user := 'USER_ID OS_USER SESSION_ID HOST LAST_PROGR'||
    ' LAST_ACTION LAST_MODULE LOGON_DAY'||
    ' LOGON_TI LOGOFF_DAY LOGOFF_T ELAPSED_MINUTES';
    v_sep_user := '---------- --------- ---------- -------- ----------'||
    '-------------------- ----------- ----------- ---------'||
    v_header_ddl := 'USER_NAME DDL_DATE DDL_TYPE OBJECT_TYPE'||
    ' OWNER OBJECT_NAME SQL_TEXT';
    v_sep_ddl := '---------- --------------------- ---------- -----------'||
    '--------- ---------- -------------------- -------------'||
    v_header_dml := 'OS_USERNAME USERNAME TIMESTAMP OWNER'||
    ' OBJ_NAME ACTION ACTION_NAME SES_ACTIONS'||
    ' PRIV_USED';
    v_sep_dml := '----------- ---------- --------------------- ---------- '||
    '--------------- ------ --------------- ------------------'||
    --Create audit report file
    v_file_dir := 'AUDIT_REPORT_DIR';
    select name
    into v_db_name
    from v$database;
    v_file_name := 'audit_report_'||v_db_name||'_'||to_char(v_start_date,'yyyymmdd')||'-'||to_char(v_end_date-1,'yyyymmdd')||'.log';
    v_report := utl_file.fopen(v_file_dir, v_file_name, 'w');
    --Report Header
    utl_file.put_line(v_report,'AUDIT REPORT');
    utl_file.put_line(v_report,'------------');
    utl_file.put_line(v_report,'Database: '||v_db_name);
    utl_file.put_line(v_report,'From : '||to_char(trunc(v_start_date),'dd-mm-yyyy'));
    utl_file.put_line(v_report,'To : '||to_char(trunc(v_end_date),'dd-mm-yyyy'));
    utl_file.put_line(v_report,'Created : '||to_char(sysdate,'dd-mm-yyyy hh24:mi:ss'));
    utl_file.new_line(v_report);
    --Report Detail records
    utl_file.put_line(v_report,v_header_user);
    utl_file.put_line(v_report,v_sep_user);
    for r_audit_user in c_audit_user(v_start_date,v_end_date) loop
    v_record_user := rpad(r_audit_user.user_id,11,' ')||
    rpad(r_audit_user.os_user,11,' ')||
    rpad(r_audit_user.session_id,11,' ')||
    rpad(r_audit_user.host,9,' ')||
    rpad(r_audit_user.last_program,31,' ')||
    rpad(r_audit_user.last_action,12,' ')||
    rpad(r_audit_user.last_module,12,' ')||
    rpad(r_audit_user.logon_day,11,' ')||
    rpad(r_audit_user.logon_time,9,' ')||
    rpad(r_audit_user.logoff_day,11,' ')||
    rpad(r_audit_user.logoff_time,9,' ')||
    lpad(r_audit_user.elapsed_minutes,15,' ');
    utl_file.put_line(v_report,v_record_user);
    end loop;
    utl_file.new_line(v_report);
    utl_file.put_line(v_report,v_header_ddl);
    utl_file.put_line(v_report,v_sep_ddl);
    for r_audit_ddl in c_audit_ddl(v_start_date,v_end_date) loop
    v_record_ddl := rpad(r_audit_ddl.user_name,11,' ')||
    rpad(r_audit_ddl.ddl_date,22,' ')||
    rpad(r_audit_ddl.ddl_type,11,' ')||
    rpad(r_audit_ddl.object_type,21,' ')||
    rpad(r_audit_ddl.owner,11,' ')||
    rpad(r_audit_ddl.object_name,21,' ')||
    rpad(r_audit_ddl.sql_text,100,' ');
    utl_file.put_line(v_report,v_record_ddl);
    end loop;
    utl_file.new_line(v_report);
    utl_file.put_line(v_report,v_header_dml);
    utl_file.put_line(v_report,v_sep_dml);
    for r_audit_trail in c_audit_trail(v_start_date,v_end_date) loop
    v_record_dml := rpad(r_audit_trail.os_username,12,' ')||
    rpad(r_audit_trail.username,11,' ')||
    rpad(r_audit_trail.timestamp,22,' ')||
    rpad(r_audit_trail.owner,11,' ')||
    rpad(r_audit_trail.obj_name,16,' ')||
    rpad(r_audit_trail.action,7,' ')||
    rpad(r_audit_trail.action_name,16,' ')||
    rpad(r_audit_trail.ses_actions,19,' ')||
    rpad(r_audit_trail.priv_used,20,' ');
    utl_file.put_line(v_report,v_record_dml);
    end loop;
    utl_file.new_line(v_report);
    utl_file.put_line(v_report, '*** End of report ***');
    utl_file.fclose(v_report);*/
    null;
    end;
    So all code is commented out, but still the error.
    Any ideas?
    Kind regards,
    Dave

    just out of interest, what output do you get if you desc user_source?
    I get:
    NAME                                               VARCHAR2(30)               
    TYPE                                               VARCHAR2(12)               
    LINE                                               NUMBER                     
    TEXT                                               VARCHAR2(4000)        

  • Error While Creating PAS Procedure

    Dear Friends
    I am getting following error while creating PAS procedure. I login using Admin
    Access to Database Admin.EWK Denied by the Operating System
    What might be the reason for this error?
    Rgds
    SriG

    Hi SriG,
    When you try to open a PAS procedure, it creates a temporary editor work file on the client system. This file is created in the directory referenced by the DBHOME variable in the client-side lsserver.ini file. If the user doesn't have permission to write to this directory then the application will be
    unable to open any database sets. So make sure your O.S. user has full access to DBHOME.
    Regards,
    Isabel

  • Error while creating a new entity row for testEO

    Hi All,
    I have a 1st page where I enter the employeeNumber and that particular parameter should get displayed in the 2nd page when I click on the "SubmitButton".I am moving to the 2nd page using pageContext.forwardImmediately.I am passing my parameter with this URL.But, I am getting "Error while creating a new entity row for testEO" in my code before i enter anything in " employeeNumber " field in the 1st page.
    My CO code is:
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package xxfc.oracle.apps.test.OAProject1.webui;
    import com.sun.java.util.collections.HashMap;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    import oracle.jbo.Row;
    import xxfc.oracle.apps.test.OAProject1.server.testVOImpl;
    * Controller for ...
    public class testCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am =(OAApplicationModule) pageContext.getApplicationModule(webBean);
    testVOImpl vo1 = (testVOImpl)am.findViewObject("testVO1");
    vo1.executeQuery();
    Row r = vo1.first();
    System.out.println("**************Error in the below Line**********************");
    Row row = vo1.createRow();
    vo1.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am =(OAApplicationModule) pageContext.getApplicationModule(webBean);
    OAViewObject vo1 = (OAViewObject)am.findViewObject("testVO1");
    if(!vo1.isPreparedForExecution())
    vo1.executeQuery();
    Row row = vo1.getCurrentRow();
    am.getOADBTransaction().commit();
    String strEvent = pageContext.getParameter(EVENT_PARAM);
    if (strEvent.equals("update"))
    String custId = pageContext.getParameter("CustID");
    pageContext.putParameter("CstID",custId);
    HashMap hashMap = new HashMap();
    hashMap.put("CustomerId",custId);
    am.getOADBTransaction().commit();
    pageContext.forwardImmediately("OA.jsp?page=/xxfc/oracle/apps/test/OAProject1/webui/popupPG&CustID=custId",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    hashMap, //hashmap
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    thanks,
    Akshata

    Hi Niranjana,
    It did not work I am getting the same error.does the WHO column order in the table matters? My WHO columns are in the below order:
    LAST_UPDATE_DATE
    LAST_UPDATED_BY
    LAST_UPDATE_LOGIN
    CREATION_DATE
    CREATED_BY
    my error is:
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for testEO.
    It appears on the top of my page as a message.
    Thanks,
    Akshata
    Edited by: Akshata on Mar 15, 2012 12:29 AM

  • Error while creating pourchase order

    I am getting following error while creating PO
    Account assignment mandatory for material 000000000000001335 (enter acc. ***. cat.)
    Message no. ME062
    Diagnosis
    There is no provision for value-based inventory management for this material type in this plant. Account assignment is thus necessary.
    Procedure
    Please enter an account assignment category.
    Please help
    Regards
    Ranjeey

    hi,
    As you are mentioning Material Type is -HAWA
    Hawa material will have Valuation class as -Trading material
    If we have Not  ticked -Value and Qty  updating for the HAWA material type then eventhrough we maintain Accounting Views. -In configuration
    We get the error as a account assignment cat mandatory.
    Please maintain Qty and Value update  Tick  then you can create PO
    with regards
    Shrinivas gangoor

  • Error while creating new projects using api

    Hello,
    I am having error while creating projects using standard api, PA_PROJECT_PUB.CREATE_PROJECTS. The error I am having is as follow.
    Source template ID is invalid.
    ===
    My code is as follow:
    SET SERVEROUTPUT ON SIZE 1000000
    SET VERIFY OFF
    define no=&amg_number
    DECLARE
    -- Variables used to initialize the session
    l_user_id NUMBER;
    l_responsibility_id NUMBER;
    cursor get_key_members is
    select person_id, project_role_type, rownum
    from pa_project_players
    where project_id = 1;
    -- Counter variables
    a NUMBER := 0;
    m NUMBER := 0;
    -- Variables needed for API standard parameters
    l_commit VARCHAR2(1) := 'F';
    l_init_msg_list VARCHAR2(1) := 'T';
    l_api_version_number NUMBER :=1.0;
    l_return_status VARCHAR2(1);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    -- Variables used specifically in error message retrieval
    l_encoded VARCHAR2(1) := 'F';
    l_data VARCHAR2(2000);
    l_msg_index NUMBER;
    l_msg_index_out NUMBER;
    -- Variables needed for Oracle Project specific parameters
    -- Input variables
    l_pm_product_code VARCHAR2(30);
    l_project_in pa_project_pub.project_in_rec_type;
    l_key_members pa_project_pub.project_role_tbl_type;
    l_class_categories pa_project_pub.class_category_tbl_type;
    l_tasks_in pa_project_pub.task_in_tbl_type;
    -- Record variables for loading table variables above
    l_key_member_rec pa_project_pub.project_role_rec_type;
    l_class_category_rec pa_project_pub.class_category_rec_type;
    l_task_rec pa_project_pub.task_in_rec_type;
    -- Output variables
    l_workflow_started VARCHAR2(100);
    l_project_out pa_project_pub.project_out_rec_type;
    l_tasks_out pa_project_pub.task_out_tbl_type;
    -- Exception to call messag handlers if API returns an error.
    API_ERROR EXCEPTION;
    BEGIN
    -- Initialize the session with my user id and Projects, Vision Serves (USA0
    -- responsibility:
    select user_id into l_user_id
    from fnd_user
    where user_name = 'SSHAH';
    select responsibility_id into l_responsibility_id
    from fnd_responsibility_tl
    where responsibility_name = 'Projects Implementation Superuser';
    pa_interface_utils_pub.set_global_info(
    p_api_version_number => l_api_version_number,
    p_responsibility_id => l_responsibility_id,
    p_user_id => l_user_id,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status);
    if l_return_status != 'S' then
    raise API_ERROR;
    end if;
    -- Provide values for input variables
    -- L_PM_PRODUCT_CODE: These are stored in pa_lookups and can be defined
    -- by the user. In this case we select a pre-defined one.
    select lookup_code into l_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Conversion';
    -- L_PROJECT_IN: We have to provide values for all required elements
    -- of this record (see p 5-13, 5-14 for the definition of the record).
    -- Customers will normally select this information from some external
    -- source
    l_project_in.pm_project_reference := 'AGL-AMG Project &no';
    l_project_in.project_name := 'AGL-AMG Project &no';
    l_project_in.created_from_project_id := 1;
    l_project_in.carrying_out_organization_id := 2864; /*Cons. West*/
    l_project_in.project_status_code := 'UNAPPROVED';
    l_project_in.start_date := '01-JAN-11';
    l_project_in.completion_date := '31-DEC-11';
    l_project_in.description := 'Trying Hard';
    l_project_in.project_relationship_code := 'Primary';
    -- L_KEY_MEMBERS: To load the key member table we load individual
    -- key member records and assign them to the key member table. In
    -- the example below I am selecting all of the key member setup
    -- from an existing project with 4 key members ('EE-Proj-01'):
    for km in get_key_members loop
    -- Get the next record and load into key members record:
    l_key_member_rec.person_id := km.person_id;
    l_key_member_rec.project_role_type := km.project_role_type;
    -- Assign this record to the table (array)
    l_key_members(km.rownum) := l_key_member_rec;
    end loop;
    -- L_CLASS_CATEGORIES: commented out below should fix the error we get
    -- because the template does not have an assigment for the mandatory class
    -- 'BAS Test'
    l_class_category_rec.class_category := 'Product';
    l_class_category_rec.class_code := 'Non-classified';
    -- Assign the record to the table (array)
    l_class_categories(1) := l_class_category_rec;
    -- L_TASKS_IN: We will load in a single task and a subtask providing only
    -- the basic fields (see pp. 5-16,5-17,5-18 for the definition of
    -- the task record)
    l_task_rec.pm_task_reference := '1';
    l_task_rec.pa_task_number := '1';
    l_task_rec.task_name := 'Construction';
    l_task_rec.pm_parent_task_reference := '' ;
    l_task_rec.task_description := 'Plant function';
    -- Assign the top task to the table.
    l_taskS_in(1) := l_task_rec;
    -- Assign values for the sub task
    l_task_rec.pm_task_reference := '1.1';
    l_task_rec.pa_task_number := '1.1';
    l_task_rec.task_name := 'Brick laying';
    l_task_rec.pm_parent_task_reference := '1' ;
    l_task_rec.task_description := 'Plant building';
    -- Assign the subtask to the task table.
    l_tasks_in(2) := l_task_rec;
    -- All inputs are assigned, so call the API:
    pa_project_pub.create_project
    (p_api_version_number => l_api_version_number,
    p_commit => l_commit,
    p_init_msg_list => l_init_msg_list,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status,
    p_workflow_started => l_workflow_started,
    p_pm_product_code => l_pm_product_code,
    p_project_in => l_project_in,
    p_project_out => l_project_out,
    p_key_members => l_key_members,
    p_class_categories => l_class_categories,
    p_tasks_in => l_tasks_in,
    p_tasks_out => l_tasks_out);
    -- Check the return status, if it is not success, then raise message handling
    -- exception.
    IF l_return_status != 'S' THEN
    dbms_output.put_line('Msg_count: '||to_char(l_msg_count));
    dbms_output.put_line('Error: ret status: '||l_return_status);
    RAISE API_ERROR;
    END IF;
    -- perform manual commit since p_commit was set to False.
    COMMIT;
    --HANDLE EXCEPTIONS
    EXCEPTION
    WHEN API_ERROR THEN
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    WHEN OTHERS THEN
    dbms_output.put_line('Error: '||sqlerrm);
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    END;
    ===
    Msg_count: 1
    Error: ret status: E
    ERROR: 1: Project: 'AGL-AMG Project 1123'
    Source template ID is invalid.
    PL/SQL procedure successfully completed.

    I was using a custom Application, which had a id other then 275 (which belongs to Oracle projects)

  • Error while creating MV replication group object

    Hi,
    I am getting error while creating replication group object. I tried to create using OEM and SQLPlus
    OEM error
    This error while creating M.V. rep. group object
    There is a table or view named SCOTT.EMP.
    It must be dropped before a materialized view can be created.
    In SQLPLUS
    SQL> CONNECT MVIEWADMIN/MVIEWADMIN@SWEET
    Connected.
    SQL>
    SQL> BEGIN
    2 DBMS_REPCAT.CREATE_MVIEW_REPOBJECT (
    3 gname => 'SCOTT',
    4 sname => 'KARTHIK',
    5 oname => 'emp_mv',
    6 type => 'SNAPSHOT',
    7 min_communication => TRUE);
    8 END;
    9 /
    BEGIN
    ERROR at line 1:
    ORA-23306: schema KARTHIK does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
    ORA-06512: at "SYS.DBMS_REPCAT", line 1332
    ORA-06512: at line 2
    Please not already I have created KARTHIK schema.

    Arthik,
    I think I know what may have happened.
    As I can see you are trying to create support for an updateable materialized view.
    You have to make sure the name of the schema that owns the materialized view is the same as the schema owner of the master table (at master site).
    From the code you have shown, I bet the owner of table EMP is SCOTT.
    From the other hand, you want to create materialized view EMP_MV under schema KARTHIK that refers to table SCOTT.EMP at master site.
    According to the documentation, the schema name used in DBMS_REPCAT.CREATE_MVIEW_REPOBJECT must be same as the schema that owns the master table.
    Please check the documentation at the link below
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14227/rarrcatpac.htm#i109228
    I tried to reproduce your example in my environment, and I got exactly the same error which actually confirms my assumption that the reason for the error is the fact that you tried to create the materialized view in a schema with different name than the one where master table exists.
    I'll skip some of the steps that I used to create the replication environment.
    I have two databases, DB1.world and DB2.world
    On DB2.world I will generate replication support for table EMP which belongs to user SCOTT
    SQL> conn scott/*****@DB2.world
    Connected.
    SQL>create materialized view log on EMP with primary key;
    Materialized view log created.
    SQL>
    SQL>conn repadmin/*****@DB2.world
    Connected.
    SQL>BEGIN
      2       DBMS_REPCAT.CREATE_MASTER_REPGROUP(
      3         gname => 'GROUPA',
      4         qualifier => '',
      5         group_comment => '');
      6*   END;
    PL/SQL procedure successfully completed.
    SQL>BEGIN
      2       DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
      3         gname => 'GROUPA',
      4         type => 'TABLE',
      5         oname => 'EMP',
      6         sname => 'SCOTT',
      7         copy_rows => TRUE,
      8         use_existing_object => TRUE);
      9*   END;
    10  /
    PL/SQL procedure successfully completed.
    SQL> BEGIN
      2       DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT(
      3         sname => 'SCOTT',
      4         oname => 'EMP',
      5         type => 'TABLE',
      6         min_communication => TRUE);
      7    END;
      8  /
    PL/SQL procedure successfully completed.
    SQL>execute DBMS_REPCAT.RESUME_MASTER_ACTIVITY(gname => 'GROUPA');
    PL/SQL procedure successfully completed.
    SQL> select status from dba_repgroup;
    STATUS                                                                         
    NORMAL                                                                          Now let's create updateable materialized view at DB1. Before that I want to let you know that I created one sample in DB1 user named MYUSER. MVIEWADMIN is Materialized View administrator.
    SQL>conn mviewadmin/****@DB1.world
    Connected.
    SQL>   BEGIN
      2       DBMS_REFRESH.MAKE(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => '',
      5         next_date => SYSDATE,
      6         interval => '/*1:Hr*/ sysdate + 1/24',
      7         push_deferred_rpc => TRUE,
      8         refresh_after_errors => TRUE,
      9         parallelism => 1);
    10    END;
    11  /
    PL/SQL procedure successfully completed.
    SQL>   BEGIN
      3       DBMS_REPCAT.CREATE_SNAPSHOT_REPGROUP(
      5         gname => 'GROUPA',
      7         master => 'DB2.wolrd',
      9         propagation_mode => 'ASYNCHRONOUS');
    11    END;
    12  /
    PL/SQL procedure successfully completed.
    SQL>conn myuser/*****@DB1.world
    Connected.
    SQL>CREATE MATERIALIZED VIEW MYUSER.EMP_MV
      2    REFRESH FAST
      3    FOR UPDATE
      4    AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
      5*      FROM   [email protected];
    Materialized view created.
    SQL>conn mviewadmin/******@DB1.world
    Connected.
    SQL> BEGIN
      2       DBMS_REFRESH.ADD(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => 'MYUSER.EMP_MV',
      5         lax => TRUE);
      6    END;
      7  /
    PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
    SQL>   BEGIN
      2       DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
      3         gname => 'GROUPA',
      4         sname => 'MYUSER',
      5         oname => 'EMP_MV',
      6         type => 'SNAPSHOT',
      7         min_communication => TRUE);
      8    END;
      9  /
      BEGIN
    ERROR at line 1:
    ORA-23306: schema MYUSER does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
    ORA-06512: at "SYS.DBMS_REPCAT", line 1332
    ORA-06512: at line 3 I reproduced exactly the same error message.
    So the problem is clearly in the schema name that owns the materialized view.
    Now lets see if what would happen if I create the MV under schema SCOTT which has the same name as the schema on DB2.world where the master table exists.
    SQL>conn scott/****@DB1.world
    Connected.
    SQL>CREATE MATERIALIZED VIEW SCOTT.EMP_MV
      2    REFRESH FAST
      3    FOR UPDATE
      4    AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
      5*      FROM   [email protected];
    Materialized view created.
    SQL>conn mviewadmin/******@DB1.world
    Connected.
    SQL> BEGIN
      2       DBMS_REFRESH.ADD(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => 'SCOTT.EMP_MV',
      5         lax => TRUE);
      6    END;
      7  /
    PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
    SQL>   BEGIN
      2       DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
      3         gname => 'GROUPA',
      4         sname => 'SCOTT',
      5         oname => 'EMP_MV',
      6         type => 'SNAPSHOT',
      7         min_communication => TRUE);
      8    END;
    PL/SQL procedure successfully completed.As you can see everything works fine when the name of the schema owner of the MV at DB1.world is the same as the schema owner of the master table at DB2.world .
    -- Mihajlo
    Message was edited by:
    tekicora

  • Error while creating PR

    Below is the error while creating a PR.
    Plz suggest.
    Period 005/Fiscal Year 2008 for  not open for FM posting in value type 50
    Message no. FI_E018
    Diagnosis
    Posting for the document of value type 50 was attempted on a date that has not been opened in FM.
    Procedure
    To define open time intervals for FM postings, use the following transactions:
    Individual Maintenance of Open Time Intervals
    Mass Maintenance of Open Time Intervals

    Hi Ashok,
    Am not able 2 move further
    For convenience am again sending the error message
    Period 004/Fiscal Year 2008 for  not open for FM posting in value type 50
    Message no. FI_E018
    Diagnosis
    Posting for the document of value type 50 was attempted on a date that has not been opened in FM.
    Procedure
    To define open time intervals for FM postings, use the following transactions:
    Individual Maintenance of Open Time Intervals
    Mass Maintenance of Open Time Intervals

  • Error while creating persistence manager

    Folks,
    I have been receiving the following error while trying to invoke a subprocess in a flowN (the subprocess wraps some logic around a stored procedure call). There error is appearing N-1 times consistently (only one of the four transactions I'm testing is going through).
    <remoteFault>
    <part name="code" >
    <code>Server.userException</code>
    </part>
    <part name="summary" >
    <summary>when invoking endpointAddress 'http://crmoasdev.XXXX.com:7778/orabpel/CDH_inbound/XXXX_CDH_in_ProcessRewards/1.0', ORABPEL-05226 Error while creating persistence manager. An error occurred while attempting to instantiate the persistence manager class "org.apache.log4j.helpers.ISO8601DateFormat__CXBD" for type "org.apache.log4j.helpers.ISO8601DateFormat". The exception reported was: </summary>
    </part>
    <part name="detail" >
    <detail>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: ORABPEL-05226 Error while creating persistence manager. An error occurred while attempting to instantiate the persistence manager class "org.apache.log4j.helpers.ISO8601DateFormat__CXBD" for type "org.apache.log4j.helpers.ISO8601DateFormat". The exception reported was: faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:crmoasdev.XXXX.com </detail>
    </part>
    </remoteFault>The domain log information is as follows:
    <2006-05-17 15:18:24,666> <WARN> <CDH_inbound.collaxa.cube.engine.deployment> <TypeHelperLoader::getBizdocVersionUID> missing resource: java.util.MissingResourceException: Cant find resource for bundle com.oracle.bpel.client.i18n.resources_client, key LOG_W_BD_out_of_date_class
    <2006-05-17 15:18:24,675> <ERROR> <CDH_inbound.collaxa.cube.engine.deployment> <TypeHelperRegistry::generatePersistenceManager> Error while creating persistence manager.
    An error occurred while attempting to instantiate the persistence manager class "org.apache.log4j.helpers.ISO8601DateFormat__CXBD" for type "org.apache.log4j.helpers.ISO8601DateFormat".  The exception reported was:
    <2006-05-17 15:18:24,675> <ERROR> <CDH_inbound.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube engine": Error while creating persistence manager.
    An error occurred while attempting to instantiate the persistence manager class "org.apache.log4j.helpers.ISO8601DateFormat__CXBD" for type "org.apache.log4j.helpers.ISO8601DateFormat".  The exception reported was:
    ORABPEL-05226
    Error while creating persistence manager.
    An error occurred while attempting to instantiate the persistence manager class "org.apache.log4j.helpers.ISO8601DateFormat__CXBD" for type "org.apache.log4j.helpers.ISO8601DateFormat".  The exception reported was:
         at com.collaxa.cube.engine.deployment.TypeHelperLoader.generatePersistenceManager(TypeHelperLoader.java(Compiled Code))
         at com.collaxa.cube.engine.deployment.TypeHelperLoader.loadPersistenceManager(TypeHelperLoader.java(Compiled Code))
         at com.collaxa.cube.engine.deployment.TypePersistenceRegistry.getPersistenceManager(TypePersistenceRegistry.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.getPersistenceManager(PersistenceService.java(Inlined Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.List__CXPM.prepareToSave(List__CXPM.java(Compiled Code))
         at com.collaxa.cube.engine.persist.Vector__CXPM.prepareToSave(Vector__CXPM.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.Map__CXPM.prepareToSave(Map__CXPM.java(Compiled Code))
         at com.collaxa.cube.engine.persist.Hashtable__CXPM.prepareToSave(Hashtable__CXPM.java:41)
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.DefaultPersistenceMgr.prepareToSave(DefaultPersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.types.bpel.CXMessageVariable__CXPM.prepareToSave(CXMessageVariable__CXPM.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.persist.BaseScope__CXPM.prepareToSave(BaseScope__CXPM.java(Compiled Code))
         at com.collaxa.cube.engine.persist.Scope__CXPM.prepareToSave(Scope__CXPM.java(Compiled Code))
         at com.collaxa.cube.engine.core.PersistenceService.prepareToSave(PersistenceService.java(Compiled Code))
         at com.collaxa.cube.engine.enc.ScopeContextSerializer.serializeContext(ScopeContextSerializer.java(Compiled Code))
         at com.collaxa.cube.engine.enc.ScopeContextSerializer.toBin(ScopeContextSerializer.java(Compiled Code))
         at com.collaxa.cube.engine.adaptors.common.BaseCubeInstancePersistenceAdaptor.store(BaseCubeInstancePersistenceAdaptor.java(Compiled Code))
         at com.collaxa.cube.engine.adaptors.oracle.CubeInstancePersistenceAdaptor.store(CubeInstancePersistenceAdaptor.java(Compiled Code))
         at com.collaxa.cube.engine.data.CubeInstancePersistenceMgr.store(CubeInstancePersistenceMgr.java(Compiled Code))
         at com.collaxa.cube.engine.CubeEngine.store(CubeEngine.java(Compiled Code))
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java(Compiled Code))
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java(Compiled Code))
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java(Compiled Code))
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java(Inlined Compiled Code))
         at ICubeEngineLocalBean_StatelessSessionBeanWrapper0.syncCreateAndInvoke(ICubeEngineLocalBean_StatelessSessionBeanWrapper0.java(Compiled Code))
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java(Compiled Code))
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java(Inlined Compiled Code))
         at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java(Compiled Code))
         at com.collaxa.cube.ws.soap.providers.CXSOAPProvider.processBPELMessage(CXSOAPProvider.java:632)
         at com.collaxa.cube.ws.soap.providers.CXSOAPProvider.invoke(CXSOAPProvider.java:133)
         at org.collaxa.thirdparty.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.collaxa.thirdparty.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.collaxa.thirdparty.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.collaxa.thirdparty.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:450)
         at org.collaxa.thirdparty.apache.axis.server.AxisServer.invoke(AxisServer.java:285)
         at org.collaxa.thirdparty.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at org.collaxa.thirdparty.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java(Compiled Code))
         at com.collaxa.cube.fe.CollaxaServlet.service(CollaxaServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:568)
    <2006-05-17 15:18:24,803> <WARN> <CDH_inbound.collaxa.cube.engine.deployment> <TypeHelperLoader::getBizdocVersionUID> missing resource: java.util.MissingResourceException: Cant find resource for bundle com.oracle.bpel.client.i18n.resources_client, key LOG_W_BD_out_of_date_classThanks for your help,
    Joseph

    hmmm what was the usecase ...
    was it after deployment, or just after new installation? this looks like a defect on loading side .. other axis stuff running around?
    at least it's good to hear that you are up & running now :-)
    /clemens

  • JBO-25017: Error While Creating a new entity row for Table Name

    Hi,
    I am facing an issue in Jdeveloper when trying to display records on a custom OAF page.
    Exception Details._
    oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for Emp.
    *     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)*
    *     at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1064)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2651)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2459)*
    *     at OA.jspService(OA.jsp:48)*
    *     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)*
    *     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)*
    *     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)*
    *     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)*
    *     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)*
    *     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)*
    *     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)*
    *     at java.lang.Thread.run(Thread.java:534)*
    *## Detail 0 ##*
    java.lang.InstantiationException
    *     at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)*
    *     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)*
    *     at java.lang.Class.newInstance0(Class.java:308)*
    *     at java.lang.Class.newInstance(Class.java:261)*
    *     at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1048)*
    *     at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)*
    *     at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)*
    *     at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)*
    *     at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)*
    *     at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2643)*
    *     at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2547)*
    *     at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:1891)*
    *     at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1745)*
    *     at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1257)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2850)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2495)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2357)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:526)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:2692)*
    *     at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6361)*
    *     at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1849)*
    *     at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:206)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.prepareNavigatorProperties(OATableHelper.java:1493)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.preRender(OATableHelper.java:2133)*
    *     at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:623)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:375)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:2933)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2641)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2459)*
    *     at OA.jspService(OA.jsp:48)*
    *     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)*
    *     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)*
    *     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)*
    *     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)*
    *     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)*
    *     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)*
    *     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)*
    *     at java.lang.Thread.run(Thread.java:534)*
    java.lang.InstantiationException
    *     at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)*
    *     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)*
    *     at java.lang.Class.newInstance0(Class.java:308)*
    *     at java.lang.Class.newInstance(Class.java:261)*
    *     at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1048)*
    *     at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)*
    *     at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)*
    *     at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)*
    *     at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)*
    *     at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2643)*
    *     at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2547)*
    *     at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:1891)*
    *     at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1745)*
    *     at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1257)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2850)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2495)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2357)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:526)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:2692)*
    *     at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6361)*
    *     at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1849)*
    *     at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:206)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.prepareNavigatorProperties(OATableHelper.java:1493)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.preRender(OATableHelper.java:2133)*
    *     at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:623)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:375)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:2933)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2641)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2459)*
    *     at OA.jspService(OA.jsp:48)*
    *     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)*
    *     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)*
    *     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)*
    *     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)*
    *     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)*
    *     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)*
    *     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)*
    *     at java.lang.Thread.run(Thread.java:534)*
    Procedure Followed is :_
    1. Created a VO using a select Query on custom table.
    2. Created an AM and attached the above created VO to this.
    3. A custom OAF page is created and above created AM is attached to the main region.
    4. created an Advanced Table in the region and all the columns in table are mapped to their respective ones in the VO query.
    5. Tried both the cases - Generate VOImpl and Generate VORowImpl.
    6. In the controller class , Page Request Object for AM is created and trying to invoke method in AM.
    7. In AM a method is written for creating an object for VO and executeQuery() operation is done.
    As per the Solution given in the other threads.... included also WHO columns in the VO Query.
    Please provide us the solution as soon as possible.
    Thanks in advance.
    Sri Harsha

    Try the [OA Forum|http://forums.oracle.com/forums/forum.jspa?forumID=210] !
    Timo

  • Logminer error while creating a dictionary file

    Hi ,
    I am working on logminer.
    i got the following error while creating a dictionary file :--
    please help me out.
    SQL> show parameter utl_
    NAME TYPE VALUE
    utl_file_dir string $ORACLE_BASE/utl_file/cecms
    SQL> execute dbms_logmnr_d.build(dictionary_filename => 'dictionary.ora',dictionary_location => '/u00/oracle/utl_file/cecms');
    BEGIN dbms_logmnr_d.build(dictionary_filename => 'dictionary.ora',dictionary_location => '/u00/oracle/utl_file/cecms'); END;
    ERROR at line 1:
    ORA-01336: specified dictionary file cannot be opened
    ORA-29280: invalid directory path
    ORA-06512: at "SYS.DBMS_LOGMNR_D", line 928
    ORA-06512: at "SYS.DBMS_LOGMNR_D", line 2052
    ORA-06512: at line 1
    Asif

    ORA-01336: specified dictionary file cannot be opened
    Cause: The dictionary file or directory does not exist or is inaccessible.
    Action: Make sure that the dictionary file and directory exist and are accessible.
    Probably an issue with the rights on the directories.
    To confirm the same, try writing a sample procedure with UTL_FILE to create a file at this location and capture the error. It will give you more details about the problem.

  • Error while creating SR using CS_ServiceRequest_PUB.Create_ServiceRequest

    Hi All,
    I am getting below error while creating an SR from the backend using API 'CS_ServiceRequest_PUB'.
    Error:
    API Programming Error (CS_ServiceRequest_PUB.Create_ServiceRequest): An error occurred when validating the descriptive flexfield.
    Additional information:Program error: Please inform your support representative that:
    FLEXFIELDS SERVER-SIDE VALIDATION package reports error:
    validate_desccols() exception: ORA-20005: DVLB.get_default_context() failed. SQLERRM: ORA-01403: no data found
    ORA-06512: at "APPS.FND_FLEX_DESCVAL", line 931
    ORA-01403: no data found
    Error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I have intialised the context as below while running the stand alone procedure in SQL Developer.
    Fnd_Global.apps_initialize (user_id => 1368347,
    resp_id => 21739
    resp_appl_id => 514 );
    We are on 11.5.10.2 and database version is 9i.
    Can you please help??
    TIA,
    S

    Hi Kesava,
    I notice that in the package you used the application user_name=CHUNDUK calls the API pa_project_pub.create_project.
    I wonder if you used chunduk as database user to execute the package Or you used APPS to execute the package?
    The APi document states that it is a requirement to create a db username as the same name with the application username.
    I have been running the problem to execute API 's delete project and try to figure what could be my problem.
    TIA

Maybe you are looking for

  • Question Regarding Apple's Battery Replacement

    Hello: I have a 3G iPod which is in need of a battery replacement. I am debating two options - sending it to Apple (approx. $65) or sending it to iPodResQ ($54 & "overnight" service). The upsides of iPodResQ are the cost, the turnaround time, and the

  • Can´t write in a Planning form as user "admin"

    Hi! I can´t write in a new form that I create from a Planning Aplication. The option "read only" is not tilded and all dimensions in the form are level 0. I am connected as user admin and I can´t enter data from SmartView connected to Planning or Ess

  • Loss of photos in iphoto 6

    hello all, I have read around but can't see anything directly relevant, so apologies if this has been answered before. I opened iphoto 6, which crashed almost immediately, resulting in the photo library corrupting. Since this has happened (many times

  • Exch 2013 Installation and configuration from a SBS point of view?

    I was just wondering if anyone has stumbled upon any good "how-to" sites for those of us that (up to now) have been used to using SBS servers but now find ourselves needing to go the manual route with separate new servers (domain controller and Excha

  • Putting 4S covers onto 4S guts: OK to just replace logic board not the rest?

    I have 2 Iphone 4s': A black non-working iPhone 4S in perfect physical condition, and a white cracked-screen-but-working iPhone 4s. I want to put the black's front and back covers onto the white phone. I have followed tutorials closely and have the b