Error during duplicate

Hi all,
I'm working with a 10.2.0.4 Oracle Enterprise version. I'm trying to make a duplicate of my database from production to our new pre server. I'm having problems. We're not working with RMAN catalog.
When I try to duplicate the database using our diary full backup from pro, appears this error for all datafiles:
RMAN-06023: no backup or copy of datafile 1 found to restore
If I make a crosscheck backup on pro, all full backups are availables. The destiny instance is started as "no mount".
This is the rman block I use to do the duplicate (I'm doing it from pro server):
RMAN> CONNECT AUXILIARY sys/xxxxxx@PREDB
connected to auxiliary database: PREDB(not mounted)
RMAN> run{  
2> ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
3> DUPLICATE TARGET DATABASE TO SSINTTST
4> DB_FILE_NAME_CONVERT=('/oracle/oradata/DB','/oracle/oradata/u02/PREDB')
5> LOGFILE
6> GROUP 1 ('/oracle/oradata/u02/PREDB/redo01.log') SIZE 100M,
7> GROUP 2 ('/oracle/oradata/u02/PREDB/redo02.log') SIZE 100M,
8> GROUP 3 ('/oracle/oradata/u02/PREDB/redo03.log') SIZE 100M REUSE;
9> }
And the full result of it is:
using target database control file instead of recovery catalog
allocated channel: aux1
channel aux1: sid=159 devtype=DISK
Starting Duplicate Db at 26-SEP-11
contents of Memory Script:
set until scn 13359029805;
set newname for datafile 1 to
"/oracle/oradata/u02/PREDB/system01.dbf";
restore
check readonly
clone database
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
Starting restore at 26-SEP-11
channel aux1: starting datafile backupset restore
channel aux1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /oracle/oradata/u02/PREDB/system01.dbf (for each datafile)
channel aux1: reading from backup piece /oracle/backup/DB/backup_DB_20110926_2vmnhi1u_s7263_p1
ORA-19870: error reading backup piece /oracle/backup/DB/backup_DB_20110926_2vmnhi1u_s7263_p1
ORA-19505: failed to identify file "/oracle/backup/DB/backup_DB_20110926_2vmnhi1u_s7263_p1"
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
failover to previous backup
released channel: aux1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/26/2011 18:52:15
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 20 found to restore (for each datafile)
Any suggestions??
Regards,
dbajug

Linux Error: 2: No such file or directoryCross-Check the crossponding directory structure that you have created and also the permission on the directory as specified in rman clock .
--neeraj                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • RMAN-00600 Error during Duplicate

    RDBMS Version: 8.1.6
    Operating System and Version: NT 4.0
    Error Number (if applicable): RMAN-00600
    Product: Recovery Manager
    Product Version: 8.1.6
    RMAN Duplicate Database Error (RMAN-00600)
    While running the following command:
    run {
    allocate auxiliary channel ch1 type disk;
    allocate auxiliary channel ch2 type disk;
    duplicate target database to db1backup nofilenamecheck;
    I get the following errors:
    RMAN-03022: compiling command: Duplicate Db
    RMAN-00571: =========================================================
    RMAN-00569: ================ ERROR MESSAGE STACK FOLLOWS ============
    RMAN-00571: =========================================================
    RMAN-00601: fatal error in recovery manager
    RMAN-03012: fatal error during compilation of command
    RMAN-03028: fatal error code: 600
    RMAN-03013: command type: Duplicate Db
    RMAN-00600: internal error, arguments [14036] [-11] [29] [
    CHARACTER SET %s
    ] [WE8ISO8859P1]
    Any ideas as to what may be causing this? I have successfully backed up the target database, the connections to the target and auxiliary databases are fine, and I'm using a controlfile vs. a catalog.
    Mike McAndrew
    [email protected]
    null

    Hi
    Duplicate databases with RMAN is not as simple as it seems, look at message colled "Duplicate database error with RMAN"
    This maybe could help you.
    Anyway, I saw the message:
    "internal error, arguments [14036] [-11] [29] [CHARACTER SET %s] [WE8ISO8859P1] "
    What NLS configuration have you?
    A10!
    null

  • Error during "duplicate target ... from active database"

    hi:
    RMAN duplicate failure after the auxiliary instance mounted,we want to create a physical standby database .
    Platform: solaris10 spark 64bit
    Version: 11.2.0.1.5 (both primary and standby)
    thank you..
    RMAN log:
    rman target sys/password@his_primary auxiliary sys/password@his_standby_tt
    Recovery Manager: Release 11.2.0.1.0 - Production on Thu Aug 30 15:40:06 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: HIS (DBID=3271178181)
    connected to auxiliary database: HIS (not mounted)
    RMAN> duplicate target database for standby from active database;
    Starting Duplicate Db at 30-AUG-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=2833 device type=DISK
    allocated channel: ORA_AUX_DISK_2
    channel ORA_AUX_DISK_2: SID=3399 device type=DISK
    allocated channel: ORA_AUX_DISK_3
    channel ORA_AUX_DISK_3: SID=3966 device type=DISK
    allocated channel: ORA_AUX_DISK_4
    channel ORA_AUX_DISK_4: SID=3 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/oracle/product/11.2.0/db_1/dbs/orapwhis' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/orapwhis' ;
    executing Memory Script
    Starting backup at 30-AUG-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1570 device type=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: SID=1708 device type=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: SID=1851 device type=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: SID=1995 device type=DISK
    Finished backup at 30-AUG-12
    contents of Memory Script:
    backup as copy current controlfile for standby auxiliary format '/u01/app/oradata/his/control01.ctl';
    restore clone controlfile to '/u01/app/oradata/his/control02.ctl' from
    '/u01/app/oradata/his/control01.ctl';
    restore clone controlfile to '/u01/app/oradata/his/control03.ctl' from
    '/u01/app/oradata/his/control01.ctl';
    executing Memory Script
    Starting backup at 30-AUG-12
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    using channel ORA_DISK_3
    using channel ORA_DISK_4
    channel ORA_DISK_1: starting datafile copy
    copying standby control file
    output file name=/export/home/oracle/snap.f tag=TAG20120830T154059 RECID=9 STAMP=792690060
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
    Finished backup at 30-AUG-12
    Starting restore at 30-AUG-12
    using channel ORA_AUX_DISK_1
    using channel ORA_AUX_DISK_2
    using channel ORA_AUX_DISK_3
    using channel ORA_AUX_DISK_4
    channel ORA_AUX_DISK_2: skipped, AUTOBACKUP already found
    channel ORA_AUX_DISK_3: skipped, AUTOBACKUP already found
    channel ORA_AUX_DISK_4: skipped, AUTOBACKUP already found
    channel ORA_AUX_DISK_1: copied control file copy
    Finished restore at 30-AUG-12
    Starting restore at 30-AUG-12
    using channel ORA_AUX_DISK_1
    using channel ORA_AUX_DISK_2
    using channel ORA_AUX_DISK_3
    using channel ORA_AUX_DISK_4
    channel ORA_AUX_DISK_2: skipped, AUTOBACKUP already found
    channel ORA_AUX_DISK_3: skipped, AUTOBACKUP already found
    channel ORA_AUX_DISK_4: skipped, AUTOBACKUP already found
    channel ORA_AUX_DISK_1: copied control file copy
    Finished restore at 30-AUG-12
    contents of Memory Script:
    sql clone 'alter database mount standby database';
    executing Memory Script
    sql statement: alter database mount standby database
    contents of Memory Script:
    set newname for tempfile 1 to
    "/u01/app/oradata/his/temp.266.750421813";
    set newname for tempfile 2 to
    "/u01/app/oradata/his/ts_temp_patrol.298.750425277";
    set newname for tempfile 3 to
    "/u01/app/oradata/his/ts_his_temp.296.750427905";
    set newname for tempfile 4 to
    "/u01/app/oradata/his/ts_tjjk_temp.282.750427917";
    set newname for tempfile 5 to
    "/u01/app/oradata/his/ts_temp_shuhao.595.782919539";
    switch clone tempfile all;
    set newname for datafile 1 to
    "/u01/app/oradata/his/system.256.750421615";
    set newname for datafile 2 to
    "/u01/app/oradata/his/sysaux.257.750421615";
    set newname for datafile 3 to
    "/u01/app/oradata/his/undotbs1.258.750421615";
    set newname for datafile 4 to
    "/u01/app/oradata/his/users.259.750421615";
    set newname for datafile 5 to
    "/u01/app/oradata/his/ts_his.280.750425023";
    set newname for datafile 6 to
    "/u01/app/oradata/his/ts_his_index.281.750425025";
    set newname for datafile 7 to
    "/u01/app/oradata/his/system.569.754307341";
    set newname for datafile 8 to
    "/u01/app/oradata/his/ts_bj.283.750425027";
    set newname for datafile 9 to
    "/u01/app/oradata/his/ts_gt.284.750425027";
    set newname for datafile 10 to
    "/u01/app/oradata/his/ts_fx.285.750425027";
    set newname for datafile 11 to
    "/u01/app/oradata/his/ts_uap.286.750425029";
    set newname for datafile 12 to
    "/u01/app/oradata/his/ts_gkxj.287.750425029";
    set newname for datafile 13 to
    "/u01/app/oradata/his/ts_xejj.288.750425031";
    set newname for datafile 14 to
    "/u01/app/oradata/his/ts_zdzyrz.289.750425031";
    set newname for datafile 15 to
    "/u01/app/oradata/his/ts_zj.290.750425033";
    set newname for datafile 16 to
    "/u01/app/oradata/his/ts_jgcp.291.750425033";
    set newname for datafile 17 to
    "/u01/app/oradata/his/ts_gtbj.292.750425033";
    set newname for datafile 18 to
    "/u01/app/oradata/his/ts_base.293.750425035";
    set newname for datafile 19 to
    "/u01/app/oradata/his/ts_exdata.294.750425035";
    set newname for datafile 20 to
    "/u01/app/oradata/his/ts_tjjk.295.750425037";
    set newname for datafile 21 to
    "/u01/app/oradata/his/ts_shuhao.594.782919537";
    set newname for datafile 22 to
    "/u01/app/oradata/his/ts_patrol.297.750425037";
    backup as copy reuse
    datafile 1 auxiliary format
    "/u01/app/oradata/his/system.256.750421615" datafile
    2 auxiliary format
    "/u01/app/oradata/his/sysaux.257.750421615" datafile
    3 auxiliary format
    "/u01/app/oradata/his/undotbs1.258.750421615" datafile
    4 auxiliary format
    "/u01/app/oradata/his/users.259.750421615" datafile
    5 auxiliary format
    "/u01/app/oradata/his/ts_his.280.750425023" datafile
    6 auxiliary format
    "/u01/app/oradata/his/ts_his_index.281.750425025" datafile
    7 auxiliary format
    "/u01/app/oradata/his/system.569.754307341" datafile
    8 auxiliary format
    "/u01/app/oradata/his/ts_bj.283.750425027" datafile
    9 auxiliary format
    "/u01/app/oradata/his/ts_gt.284.750425027" datafile
    10 auxiliary format
    "/u01/app/oradata/his/ts_fx.285.750425027" datafile
    11 auxiliary format
    "/u01/app/oradata/his/ts_uap.286.750425029" datafile
    12 auxiliary format
    "/u01/app/oradata/his/ts_gkxj.287.750425029" datafile
    13 auxiliary format
    "/u01/app/oradata/his/ts_xejj.288.750425031" datafile
    14 auxiliary format
    "/u01/app/oradata/his/ts_zdzyrz.289.750425031" datafile
    15 auxiliary format
    "/u01/app/oradata/his/ts_zj.290.750425033" datafile
    16 auxiliary format
    "/u01/app/oradata/his/ts_jgcp.291.750425033" datafile
    17 auxiliary format
    "/u01/app/oradata/his/ts_gtbj.292.750425033" datafile
    18 auxiliary format
    "/u01/app/oradata/his/ts_base.293.750425035" datafile
    19 auxiliary format
    "/u01/app/oradata/his/ts_exdata.294.750425035" datafile
    20 auxiliary format
    "/u01/app/oradata/his/ts_tjjk.295.750425037" datafile
    21 auxiliary format
    "/u01/app/oradata/his/ts_shuhao.594.782919537" datafile
    22 auxiliary format
    "/u01/app/oradata/his/ts_patrol.297.750425037" ;
    sql 'alter system archive log current';
    executing Memory Script
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    renamed tempfile 1 to /u01/app/oradata/his/temp.266.750421813 in control file
    renamed tempfile 2 to /u01/app/oradata/his/ts_temp_patrol.298.750425277 in control file
    renamed tempfile 3 to /u01/app/oradata/his/ts_his_temp.296.750427905 in control file
    renamed tempfile 4 to /u01/app/oradata/his/ts_tjjk_temp.282.750427917 in control file
    renamed tempfile 5 to /u01/app/oradata/his/ts_temp_shuhao.595.782919539 in control file
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting backup at 30-AUG-12
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    using channel ORA_DISK_3
    using channel ORA_DISK_4
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00008 name=+DATA/his/datafile/ts_bj.283.750425027
    channel ORA_DISK_2: starting datafile copy
    input datafile file number=00009 name=+DATA/his/datafile/ts_gt.284.750425027
    channel ORA_DISK_3: starting datafile copy
    input datafile file number=00005 name=+DATA/his/datafile/ts_his.280.750425023
    channel ORA_DISK_4: starting datafile copy
    input datafile file number=00015 name=+DATA/his/datafile/ts_zj.290.750425033
    RMAN-03009: failure of backup command on ORA_DISK_3 channel at 08/30/2012 16:10:23
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03135: connection lost contact
    channel ORA_DISK_3 disabled, job failed on it will be run on another channel
    RMAN-03009: failure of backup command on ORA_DISK_4 channel at 08/30/2012 16:42:19
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03135: connection lost contact
    channel ORA_DISK_4 disabled, job failed on it will be run on another channel
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 08/30/2012 16:51:58
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03135: connection lost contact
    channel ORA_DISK_2 disabled, job failed on it will be run on another channel
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/30/2012 17:49:09
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03135: connection lost contact
    channel ORA_DISK_1 disabled, job failed on it will be run on another channel
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 08/30/2012 17:49:09
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_4 channel at 08/30/2012 16:42:19
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03135: connection lost contact
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 08/30/2012 16:51:58
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03135: connection lost contact
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/30/2012 17:49:09
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03135: connection lost contact
    RMAN-03009: failure of backup command on ORA_DISK_3 channel at 08/30/2012 16:10:23
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03135: connection lost contact
    RMAN>
    Primary database alert log:
    Thu Aug 30 15:41:00 2012
    Clearing standby activation ID 3277937203 (0xc3615a33)
    The primary database controlfile was created using the
    'MAXLOGFILES 16' clause.
    There is space for up to 11 standby redo logfiles
    Use the following SQL commands on the standby database to create
    standby redo logfiles that match the primary database:
    ALTER DATABASE ADD STANDBY LOGFILE 'srl1.f' SIZE 536870912;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl2.f' SIZE 536870912;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl3.f' SIZE 536870912;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl4.f' SIZE 536870912;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl5.f' SIZE 536870912;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl6.f' SIZE 536870912;
    WARNING: OMF is enabled on this database. Creating a physical
    standby controlfile, when OMF is enabled on the primary
    database, requires manual RMAN intervention to resolve OMF
    datafile pathnames.
    NOTE: Please refer to the RMAN documentation for procedures
    describing how to manually resolve OMF datafile pathnames.
    Thu Aug 30 16:10:13 2012
    Errors in file /u01/oracle/diag/rdbms/his_primary/his/trace/his_ora_25860.trc (incident=72361):
    ORA-00600: internal error code, arguments: [1868], [0xFFFFFFFF7BBD4988], [], [], [], [], [], [], [], [], [], []
    Incident details in: /u01/oracle/diag/rdbms/his_primary/his/incident/incdir_72361/his_ora_25860_i72361.trc
    Thu Aug 30 16:10:20 2012
    Trace dumping is performing id=[cdmp_20120830161020]
    Thu Aug 30 16:10:22 2012
    Sweep [inc][72361]: completed
    Sweep [inc2][72361]: completed
    Thu Aug 30 16:40:32 2012
    Thread 1 cannot allocate new log, sequence 3031
    Private strand flush not complete
    Current log# 4 seq# 3030 mem# 0: +DATA/his_primary/onlinelog/group_4.579.759345057
    Current log# 4 seq# 3030 mem# 1: /backup/odsdb/HIS_PRIMARY/onlinelog/o1_mf_4_74nf15rq_.log
    Thread 1 advanced to log sequence 3031 (LGWR switch)
    Current log# 5 seq# 3031 mem# 0: +DATA/his_primary/onlinelog/group_5.261.759345075
    Current log# 5 seq# 3031 mem# 1: /backup/odsdb/HIS_PRIMARY/onlinelog/o1_mf_5_74nf1q2g_.log
    Thu Aug 30 16:40:37 2012
    LNS: Standby redo logfile selected for thread 1 sequence 3031 for destination LOG_ARCHIVE_DEST_2
    Thu Aug 30 16:40:39 2012
    Archived Log entry 5829 added for thread 1 sequence 3030 ID 0xffffffffc3615a33 dest 1:
    Thu Aug 30 16:42:15 2012
    Errors in file /u01/oracle/diag/rdbms/his_primary/his/trace/his_ora_25862.trc (incident=72369):
    ORA-00600: internal error code, arguments: [1868], [0xFFFFFFFF7BBD4988], [], [], [], [], [], [], [], [], [], []
    Incident details in: /u01/oracle/diag/rdbms/his_primary/his/incident/incdir_72369/his_ora_25862_i72369.trc
    Thu Aug 30 16:42:17 2012
    Trace dumping is performing id=[cdmp_20120830164217]
    Thu Aug 30 16:42:17 2012
    Sweep [inc][72369]: completed
    Sweep [inc2][72369]: completed
    Thu Aug 30 16:51:53 2012
    Errors in file /u01/oracle/diag/rdbms/his_primary/his/trace/his_ora_25858.trc (incident=72353):
    ORA-00600: internal error code, arguments: [1868], [0xFFFFFFFF7BBD4988], [], [], [], [], [], [], [], [], [], []
    Incident details in: /u01/oracle/diag/rdbms/his_primary/his/incident/incdir_72353/his_ora_25858_i72353.trc
    Thu Aug 30 16:51:55 2012
    Sweep [inc][72353]: completed
    Sweep [inc2][72353]: completed
    Thu Aug 30 16:51:55 2012
    Trace dumping is performing id=[cdmp_20120830165155]
    Edited by: 960892 on 2012-9-24 上午2:22

    hi:
    this is the initialization parameter file for auxiliary instance:
    *.audit_file_dest='/u01/oracle/admin/his/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u01/app/oradata/his/control01.ctl','/u01/app/oradata/his/control02.ctl','/u01/app/oradata/his/control03.ctl'
    *.db_block_size=8192
    *.db_domain='abc.com.cn'
    *.db_file_name_convert='+DATA/his/datafile/','/u01/app/oradata/his/','+DATA/his/tempfile/','/u01/app/oradata/his/','+DATA/his_primary/datafile/','/u01/app/oradata/his/','+DATA/his_primary/tempfile/','/u01/app/oradata/his/'
    *.db_files=1000
    *.db_name='his'
    *.db_recovery_file_dest='/backup/oracle'
    *.db_recovery_file_dest_size=1073741824000
    *.db_unique_name='his_standby_tt'
    *.diagnostic_dest='/u01/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=hisXDB)'
    *.fal_client='his_standby_tt'
    *.fal_server='his_primary'
    *.log_archive_config='DG_CONFIG=(his_primary,his_standby_tt)'
    *.log_archive_dest_1='LOCATION=/backup/oracle/HIS_STANDBY_TT/archivelog VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=his_standby_tt'
    *.log_archive_dest_2='SERVICE=his_primary LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=his_primary'
    *.log_archive_dest_state_1='enable'
    *.log_archive_dest_state_2='enable'
    *.log_file_name_convert='+DATA/his_primary/onlinelog/','/u01/app/oradata/his/','/backup/odsdb/HIS_PRIMARY/onlinelog/','/u01/app/oradata/his/'
    *.memory_target=2181038080
    *.nls_language='SIMPLIFIED CHINESE'
    *.nls_territory='CHINA'
    *.open_cursors=300
    *.processes=3000
    *.remote_login_passwordfile='EXCLUSIVE'
    *.service_names='his.abc.com.cn,his_standby_tt.abc.com.cn'
    *.sessions=3305
    *.standby_file_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.event='10298 trace name context forever, level 32'

  • Error during duplicate database.

    Hi All,
    db - 9.2.0.8.0
    OS - Win 2003 server
    I was rying to duplicate db on the same server. Please go through the following massage.
    printing stored script: Memory Script
       set until scn  14420521;
       recover
       clone database
        delete archivelog
    executing script: Memory Script
    Note, at this point my database was apperead to hang for long time. it was around 2 hour and then revert back with the following
    executing command: SET until clause
    Starting recover at 18-SEP-08
    starting media recovery
    archive log thread 1 sequence 7 is already on disk as file D:\BCKUP\ARCHIVE\ARCH_7.ARC
    archive log thread 1 sequence 8 is already on disk as file D:\BCKUP\ARCHIVE\ARCH_8.ARC
    archive log thread 1 sequence 9 is already on disk as file D:\BCKUP\ARCHIVE\ARCH_9.ARC
    archive log thread 1 sequence 10 is already on disk as file D:\BCKUP\ARCHIVE\ARCH_10.ARC
    archive log thread 1 sequence 11 is already on disk as file D:\BCKUP\ARCHIVE\ARCH_11.ARC
    archive log thread 1 sequence 12 is already on disk as file D:\BCKUP\ARCHIVE\ARCH_12.ARC
    archive log filename=D:\BCKUP\ARCHIVE\ARCH_7.ARC thread=1 sequence=7
    archive log filename=D:\BCKUP\ARCHIVE\ARCH_8.ARC thread=1 sequence=8
    archive log filename=D:\BCKUP\ARCHIVE\ARCH_9.ARC thread=1 sequence=9
    archive log filename=D:\BCKUP\ARCHIVE\ARCH_10.ARC thread=1 sequence=10
    archive log filename=D:\BCKUP\ARCHIVE\ARCH_11.ARC thread=1 sequence=11
    archive log filename=D:\BCKUP\ARCHIVE\ARCH_12.ARC thread=1 sequence=12
    media recovery complete
    Finished recover at 18-SEP-08
    printing stored script: Memory Script
       shutdown clone;
       startup clone nomount ;
    executing script: Memory Script
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/18/2008 20:11:45
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01013: user requested cancel of current operation
    hare krishna
    Alok                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Alok do you have user that still active at auxiliary instance ,exit from that auxilairy session after doing database in nomount and then retry the duplicate process.
    Khurram

  • 1 duplicate key error during insert into table

    Dear Guru's
    While upgrading the SAP_HR patch, I am facing this issue
    Current level is SAPKE60455
    Trying to apply patch - SAPKE60456
    This is seen in the import log
    Start import R3TRVDATV_512W_O ...
    client 000:   1
    client 001:   1
    client 070:   1
    client 080:   1
    client 100:   1
    client 320:   1
    1 duplicate key error during insert into table T512T occured
    End import R3TRVDATV_512W_O (with warnings)
    Please help, thank in advance
    R3trans is at version 6.19
    Regards,
    Omkar

    Hello,
    Issue was resolved after upgrading the R3trans
    Regards,
    Omkar

  • Error during a system copy with HANA DB

    Hello,
    I´m doing a system copy in a SAP ERP 6.0 EHP7 with SAP HANA DB.
    During a homogeneous system copy procedure with SWPM, it show me the following error during the phase Database refresh postload-activities.
    I checked some log files:
    -- sapinst.log:
    ERROR 2014-08-24 16:14:01.109
    MSC-04120  Creating a license signature failed:
    ===...could not load SSF library S:\usr\sap\\D00\exe\sapcrypto.dll .
    ERROR 2014-08-24 16:14:01.109
    MSC-04120  Creating a license signature failed: 543 wlikey_sign_for_installer: Couldn't load SAPSECULIB ("S:\usr\sap\\D00\exe\sapcrypto.dll") using function SsfSupInitEx (), rc = 10 (no library).
    ERROR 2014-08-24 16:14:01.109
    MSC-04120  Creating a license signature failed: 542 wlikey_sign_for_installer: At least one more attempt to load the SAPSECULIB will follow.
    INFO 2014-08-24 16:14:01.234
    Switched to user: ASCENDUMCE\ed1adm.
    INFO 2014-08-24 16:14:01.343
    Creating file C:\Program Files\sapinst_instdir\BS2013\BS2013SR1\ERP607SR1\HDB\COPY\SYSTEM\STD\AS-ABAP\REF\saplikey.log.
    INFO 2014-08-24 16:14:01.390
    Switched to user: ASCENDUMCE\ed1adm.
    INFO 2014-08-24 16:14:01.422
    Output of S:\usr\sap\ED1\SYS\exe\uc\NTAMD64\saplikey pf=\\SATDCSAP3\sapmnt\ED1\SYS\profile\ED1_DVEBMGS00_SATDCSAP3 -install_first_temp F1740289712 XXXXXX is written to the logfile saplikey.log.
    WARNING 2014-08-24 16:14:01.640
    Execution of the command "S:\usr\sap\ED1\SYS\exe\uc\NTAMD64\saplikey pf=\\SATDCSAP3\sapmnt\ED1\SYS\profile\ED1_DVEBMGS00_SATDCSAP3 -install_first_temp F1740289712 XXXXXX" finished with return code 2. Output:
    saplikey: failed to connect to the database.
    ERROR 2014-08-24 16:14:01.640
    CJS-30023  Process call 'S:\usr\sap\ED1\SYS\exe\uc\NTAMD64\saplikey pf=\\SATDCSAP3\sapmnt\ED1\SYS\profile\ED1_DVEBMGS00_SATDCSAP3 -install_first_temp F1740289712 XXXXXX' exits with error code 2. For details see log file(s) saplikey.log, dev_slic.
    ERROR 2014-08-24 16:14:01.703
    FCO-00011  The step createTempLicense with step key |NW_ABAP_DB_DBRefresh|ind|ind|ind|ind|0|0|NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_Postload|ind|ind|ind|ind|postload|0|NW_Postload_DBRefresh_ABAP|ind|ind|ind|ind|abap|0|NW_Temp_License_ABAP|ind|ind|ind|ind|lic|0|createTempLicense was executed with status ERROR ( Last error reported by the step: Creating a license signature failed:
    ===...could not load SSF library S:\usr\sap\\D00\exe\sapcrypto.dll .).
    INFO 2014-08-24 16:14:02.31
    Creating file C:\Program Files\sapinst_instdir\BS2013\BS2013SR1\ERP607SR1\HDB\COPY\SYSTEM\STD\AS-ABAP\REF\__instana_tmp.xml.
    INFO 2014-08-24 16:14:02.734
    Removed file C:\Program Files\sapinst_instdir\BS2013\BS2013SR1\ERP607SR1\HDB\COPY\SYSTEM\STD\AS-ABAP\REF\instslana.xml.
    INFO 2014-08-24 16:14:02.734
    Creating file C:\Program Files\sapinst_instdir\BS2013\BS2013SR1\ERP607SR1\HDB\COPY\SYSTEM\STD\AS-ABAP\REF\instslana.xml.
    -- saplikey.log:
    saplikey: failed to connect to the database.
    -- dev_likey:
    -> init()
      STATEMENT_CACHE_SIZE = 1000
    -> init()
    -> loadClientRuntime()
    Loading SQLDBC client runtime ...
    SQLDBC Module  : S:\usr\sap\ED1\hdbclient\libSQLDBCHDB.dll
    SQLDBC Runtime : libSQLDBCHDB 1.00.80.00 Build 0391861-1510
    SQLDBC client runtime is 1.00.80.00.0391861
    -> getNewConnection()
    <- getNewConnection(con_hdl=0)
    -> checkEnvironment(con_hdl=0)
    -> connect(con_info_p=0000000000000000)
    Try to connect via secure store (DEFAULT) on connection 0 ...
    *** ERROR => Connect to database failed, rc=1, rcSQL=10
    [dbhdbsql.cpp 332]
    SQLCODE    : 10
    SQLERRTEXT : invalid username or password:
    -> SetSdbDbslCA(errcode=10)
    -> freeConnection(con_hdl=0)
       close all opened locators of connection 0
    } DbSlHDBConnect(rc=99)
    ***LOG BY2=> sql error 10     performing CON [dblink       559]
    ***LOG BY0=> invalid username or password:  [dblink       559]
    *** ERROR => saplikey: failed to connect to the database. [saplikey.c   830]
    release memory of the SIBU buffers
    release memory of the STATEMENT CACHE
    Can you help me please!? This is very urgent!
    Thank you,
    samid raif

    Hello John Appleby,
    I ran the R3trans -d and this is the output:
    4 ETW000 r3trans version 6.24 (release 741 - 10.06.14 - 20:14:07).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 24.08.2014 - 20:22:19
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: r3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [     dev trc,00000]  Sun Aug 24 20:22:19 2014                                                 124  0.000124
    4 ETW000  [     dev trc,00000]  db_con_init called                                                       103  0.000227
    4 ETW000  [     dev trc,00000]  set_use_ext_con_info(): usage of ssfs switched off (rsdb/ssfs_connect=0)
    4 ETW000                                                                                                  94  0.000321
    4 ETW000  [     dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3
    4 ETW000                                                                                                  44  0.000365
    4 ETW000  [     dev trc,00000]  create_con (con_name=R/3)                                                 26  0.000391
    4 ETW000  [     dev trc,00000]  Loading DB library 'dbhdbslib.dll' ...                                    64  0.000455
    4 ETW000  [     dev trc,00000]  DlLoadLib success: LoadLibrary("dbhdbslib.dll"), hdl 0, count 1, addr 000007FEEFE00000
    4 ETW000                                                                                                5889  0.006344
    4 ETW000  [     dev trc,00000]      using "S:\usr\sap\ED1\SYS\exe\uc\NTAMD64\dbhdbslib.dll"               35  0.006379
    4 ETW000  [     dev trc,00000]  Library 'dbhdbslib.dll' loaded                                            36  0.006415
    4 ETW000  [     dev trc,00000]  function DbSlExpFuns loaded from library dbhdbslib.dll                    52  0.006467
    4 ETW000  [     dev trc,00000]  Version of 'dbhdbslib.dll' is "741.10", patchlevel (0.43)                111  0.006578
    4 ETW000  [     dev trc,00000]  function dsql_db_init loaded from library dbhdbslib.dll                   39  0.006617
    4 ETW000  [     dev trc,00000]  function dbdd_exp_funs loaded from library dbhdbslib.dll                  63  0.006680
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    81  0.006761
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=-1,command=39,arg_p=0000000000000000)            40  0.006801
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    29  0.006830
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=-1,command=10,arg_p=000000000221F280)            34  0.006864
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    29  0.006893
    4 ETW000  [     dev trc,00000]  New connection 0 created                                                  25  0.006918
    4 ETW000  [     dev trc,00000]  0: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , bc = NO , oc = 000, hc = NO , perm = YES, reco = NO , info = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog = 
    4 ETW000                                                                                                  63  0.006981
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=-1,command=10,arg_p=0000000141FF5E40)            49  0.007030
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    30  0.007060
    4 ETW000  [     dev trc,00000]  db_con_connect (con_name=R/3)                                             31  0.007091
    4 ETW000  [     dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3
    4 ETW000                                                                                                  42  0.007133
    4 ETW000  [     dev trc,00000]  find_con_by_name found the following connection:                          28  0.007161
    4 ETW000  [     dev trc,00000]  0: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , bc = NO , oc = 000, hc = NO , perm = YES, reco = NO , info = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog = 
    4 ETW000                                                                                                 124  0.007285
    4 ETW000  [     dev trc,00000]  { DbSlHDBConnect(con_info_p=0000000000000000)                             61  0.007346
    4 ETW000  [     dev trc,00000]  DBHDBSLIB : version 741.10, patch 0.043 (Make PL 0.43)                    65  0.007411
    4 ETW000  [     dev trc,00000]  HDB shared library (dbhdbslib) patchlevels (last 10)                      37  0.007448
    4 ETW000  [     dev trc,00000]    (0.043) R3szchk with partitioned tables (note 2040561)                  32  0.007480
    4 ETW000  [     dev trc,00000]    (0.031) New DBCON syntax for HANA (note 1983389)                        50  0.007530
    4 ETW000  [     dev trc,00000]    (0.028) Bulk insert stop on duplicate, dbsl returncode corrected (note 1996982)
    4 ETW000                                                                                                  51  0.007581
    4 ETW000  [     dev trc,00000]    (0.027) Set DBAREQ class (note 1991383)                                 35  0.007616
    4 ETW000  [     dev trc,00000]    (0.022) Get database version via dbsl call (note 1976918)               36  0.007652
    4 ETW000  [     dev trc,00000]    (0.020) FDA: Core Dump in SELECT ... FOR ALL ENTRIES for tables with strings (note 1970276)
    4 ETW000                                                                                                  53  0.007705
    4 ETW000  [     dev trc,00000]    (0.020) SQL DDL with data aging (note 1897636)                          35  0.007740
    4 ETW000  [     dev trc,00000]    (0.017) Datatype NCLOB missing in tablesize calculation (note 1952609)
    4 ETW000                                                                                                  52  0.007792
    4 ETW000  [     dev trc,00000]    (0.014) Tablesize calculation for HANA optimized (note 1952609)         36  0.007828
    4 ETW000  [     dev trc,00000]    (0.014) Native SQL UPSERT with DataAging (note 1897636)                 32  0.007860
    4 ETW000  [     dev trc,00000]                                                                            22  0.007882
    4 ETW000  [     dev trc,00000]   -> init()                                                                33  0.007915
    4 ETW000  [     dev trc,00000]    STATEMENT_CACHE_SIZE = 1000                                            212  0.008127
    4 ETW000  [     dev trc,00000]   -> init()                                                               615  0.008742
    4 ETW000  [     dev trc,00000]   -> loadClientRuntime()                                                   46  0.008788
    4 ETW000  [     dev trc,00000]  Loading SQLDBC client runtime ...                                         31  0.008819
    4 ETW000  [     dev trc,00000]  SQLDBC Module  : S:\usr\sap\ED1\hdbclient\libSQLDBCHDB.dll              1327  0.010146
    4 ETW000  [     dev trc,00000]  SQLDBC Runtime : libSQLDBCHDB 1.00.80.00 Build 0391861-1510               84  0.010230
    4 ETW000  [     dev trc,00000]  SQLDBC client runtime is 1.00.80.00.0391861                               50  0.010280
    4 ETW000  [     dev trc,00000]   -> getNewConnection()                                                    37  0.010317
    4 ETW000  [     dev trc,00000]   <- getNewConnection(con_hdl=0)                                          100  0.010417
    4 ETW000  [     dev trc,00000]   -> checkEnvironment(con_hdl=0)                                           53  0.010470
    4 ETW000  [     dev trc,00000]   -> connect(con_info_p=0000000000000000)                                  42  0.010512
    4 ETW000  [     dev trc,00000]  Try to connect via secure store (DEFAULT) on connection 0 ...             86  0.010598
    4 ETW000  [dbhdbsql.cpp,00000]  *** ERROR => Connect to database failed, rc=1, rcSQL=10                11122  0.021720
    4 ETW000  [     dev trc,00000]  SQLCODE    : 10                                                           68  0.021788
    4 ETW000  [     dev trc,00000]  SQLERRTEXT : invalid username or password:                                40  0.021828
    4 ETW000  [     dev trc,00000]   -> SetSdbDbslCA(errcode=10)                                              41  0.021869
    4 ETW000  [     dev trc,00000]   -> freeConnection(con_hdl=0)                                             43  0.021912
    4 ETW000  [     dev trc,00000]     close all opened locators of connection 0                              60  0.021972
    4 ETW000  [     dev trc,00000]  } DbSlHDBConnect(rc=99)                                                   65  0.022037
    4 ETW000  [    dblink  ,00000]  ***LOG BY2=>sql error 10     performing CON                               68  0.022105
    4 ETW000  [    dblink  ,00000]  ***LOG BY0=>invalid username or password:                                 35  0.022140
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=41,arg_p=0000000140541C48)            107  0.022247
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    79  0.022326
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=14,arg_p=0000000002215998)             38  0.022364
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    28  0.022392
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=50,arg_p=0000000002215990)             33  0.022425
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    43  0.022468
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=13,arg_p=00000000022159B0)             35  0.022503
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    27  0.022530
    4 ETW000  [     dev trc,00000]  { DbSlHDBControl(con_hdl=0,command=52,arg_p=0000000002215A00)             33  0.022563
    4 ETW000  [     dev trc,00000]  } DbSlHDBControl(rc=0)                                                    28  0.022591
    2EETW169 no connect possible: "DBMS = HDB                              ---  SERVER = '' PORT = ''"
    4 ETW000  [     dev trc,00000]  release memory of the SIBU buffers                                      2900  0.025491
    4 ETW000  [     dev trc,00000]  release memory of the STATEMENT CACHE                                     91  0.025582

  • JBO-27122: SQL error during statement preparation IN OAF(java.sql.SQLException: ORA-01008: not all variables bound)

    Hi Friends,
    I have have extended CO where i have added dynamic where condition to VO,it's throwing error.
    Code added in controller :
    public class Custom_HomePageCO extends HomePageCO
      public Custom_HomePageCO()
    public void processRequest(OAPageContext pageContext,OAWebBean webBean)
      super.processRequest(pageContext,webBean);
      System.out.println("NewClase");
      OAApplicationModule am=pageContext.getApplicationModule(webBean);
      System.out.println(am);
      OAApplicationModule am1=(OAApplicationModule)am.findApplicationModule("TrackExpenseReportsAM");
    System.out.println(am1);
      OAViewObject vo=(OAViewObject)am1.findViewObject("TrackExpenseReportsVO");
      System.out.println(vo);
      vo.setWhereClause("REPORT_SUBMITTED_DATE is not null");
        vo.executeQuery();
    public void processFormRequest(OAPageContext pageContext,OAWebBean webBean)
      super.processFormRequest(pageContext,webBean);
    Error message:
    Exception Details.
    Error Details
           Logout
          Error Page
          Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.  Statement: SELECT * FROM (SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,         
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           PO_VENDORS PV,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' = 'EXPENSE REPORT'
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND PV.EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :1
    AND P.PERSON_ID = PV.EMPLOYEE_ID
    AND PV.VENDOR_ID = AI.VENDOR_ID
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
              )  <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)       
    UNION
    SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)),  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,         
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           PO_VENDORS PV,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' in ('STANDARD','MIXED')
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AI.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :2
    AND P.PERSON_ID = AI.PAID_ON_BEHALF_EMPLOYEE_ID
    AND PV.VENDOR_ID = AI.VENDOR_ID
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
            ) <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)            
    UNION ALL
    SELECT
    AERH.DESCRIPTION PURPOSE,
    AERH.DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH.WEEK_END_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) ||' '|| AERH.DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) REPORT_TOTAL,
    PER_EMPLOYEE.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE.FULL_NAME FULL_NAME,
    NVL(AERH.expense_status_code,
      AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag,
      AERH.report_header_id, 'Y', 'N')) STATUS_CODE,
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG.GetCurrentApprover(AERH.Source,
            AERH.Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER,
    ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,
              sysdate - AERH.LAST_UPDATE_DATE)) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,  
    DECODE(AERH.expense_current_approver_id,
    -99999, 'AMEMultipleApprovers',
    decode(PER_APPROVER.full_name,
      null,'CurrentApproverName','AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    -1 INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X PER_EMPLOYEE,
           PER_PEOPLE_X PER_APPROVER
    WHERE  AERH.VOUCHNO +0 =0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AERH.EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :3
    AND PER_EMPLOYEE.PERSON_ID = AERH.EMPLOYEE_ID
    AND (AERH.Source <> 'NonValidatedWebExpense'
         OR AERH.Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode(AERH.total,0,ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,sysdate - AERH.LAST_UPDATE_DATE)),30) <= 30
    AND AERH.SOURCE <> 'Both Pay'
    UNION
    SELECT
    AERH.DESCRIPTION PURPOSE,
    AERH.DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH.WEEK_END_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) ||' '|| AERH.DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) REPORT_TOTAL,
    PER_EMPLOYEE.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE.FULL_NAME FULL_NAME,
    NVL(AERH.expense_status_code,
      AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag,
      AERH.report_header_id,'Y','N')) STATUS_CODE,
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG.GetCurrentApprover(AERH.Source,
            AERH.Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER,
    ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,
              sysdate - AERH.LAST_UPDATE_DATE)) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,  
    DECODE(AERH.expense_current_approver_id,
    -99999, 'AMEMultipleApprovers',
    decode(PER_APPROVER.full_name,
      null,'CurrentApproverName','AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    -1 INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X PER_EMPLOYEE,
           PER_PEOPLE_X PER_APPROVER
    WHERE  AERH.VOUCHNO +0=0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AERH.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :4
    AND PER_EMPLOYEE.PERSON_ID = PAID_ON_BEHALF_EMPLOYEE_ID
    AND AERH.EMPLOYEE_ID IS NULL
    AND (AERH.Source <> 'NonValidatedWebExpense'
         OR AERH.Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode(AERH.total,0,ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,sysdate - AERH.LAST_UPDATE_DATE)),30) <= 30
    AND AERH.SOURCE <> 'Both Pay'
    UNION ALL
    /* This select is for invoice imported reports by contingent workers */
    SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,          
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' = 'EXPENSE REPORT'
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AI.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :5
    AND P.PERSON_ID = AI.PAID_ON_BEHALF_EMPLOYEE_ID
    AND AP_WEB_DB_HR_INT_PKG.IsPersonCwk(AI.PAID_ON_BEHALF_EMPLOYEE_ID)='Y'
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
              )  <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)) QRSLT  WHERE (REPORT_SUBMITTED_DATE is not null)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    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.sql.SQLException: ORA-01008: not all variables bound
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    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.sql.SQLException: ORA-01008: not all variables bound
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    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)
    I have took the sql from error message and i tried executing the same in toad... i was able execute it smoothly... i dot know why its working while running the page
    Please help me guys...
    Thanks,
    Pavan

    Hi Shobhi,
    Actually this relates to the Iexpenese Module. The VO is "oracle.apps.ap.oie.server.TrackExpenseReportsVO"(Seeded)
    The user Expense home screen is based on the above VO and this view returning multiple line for the same expense number which should be eliminated.
    so for this i need to filter data by adding where clause dynamically on top of the existing where conditions so that i can eliminate the duplicate row.
    Please suggest me !! how to move on
    Thanks,
    Pavan V
    91-9640871542

  • Error during restore/recovery and 'open resetlogs'

    Hello forum. I'm attempting to restore a database to a new host and have run into an error during the opening of the database (with resetlogs). The renaming of the datafiles, restore, switching of datafiles, and recovery are all done by an rman script, the contents of which are below:
    # Restore production database to DR site using file system
    # instead of ASM
    run {
    set newname for datafile 1 to '/opt/oracle/product/10gR2/oradata/DB01/system.dbf';
    set newname for datafile 2 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf';
    set newname for datafile 3 to '/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf';
    set newname for datafile 4 to '/opt/oracle/product/10gR2/oradata/DB01/users.dbf';
    set newname for datafile 5 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf';
    set newname for datafile 6 to '/opt/oracle/product/10gR2/oradata/DB01/file1.dbf';
    set newname for datafile 7 to '/opt/oracle/product/10gR2/oradata/DB01/file2.dbf';
    restore database;
    switch datafile all;
    recover database;
    I get the following output:
    RMAN> @/home/oracle/scripts/rman_dr.rman
    RMAN> # Restore production database to DR site using file system
    2> # instead of ASM
    3> #
    4> run {
    5> set newname for datafile 1 to '/opt/oracle/product/10gR2/oradata/DB01/system.dbf';
    6> set newname for datafile 2 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf';
    7> set newname for datafile 3 to '/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf';
    8> set newname for datafile 4 to '/opt/oracle/product/10gR2/oradata/DB01/users.dbf';
    9> set newname for datafile 5 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf';
    10> set newname for datafile 6 to '/opt/oracle/product/10gR2/oradata/DB01/file1.dbf';
    11> set newname for datafile 7 to '/opt/oracle/product/10gR2/oradata/DB01/file2.dbf';
    12>
    13> restore database;
    14> switch datafile all;
    15> recover database;
    16> }
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 03-JAN-08
    Starting implicit crosscheck backup at 03-JAN-08
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 651 objects
    Finished implicit crosscheck backup at 03-JAN-08
    Starting implicit crosscheck copy at 03-JAN-08
    using channel ORA_DISK_1
    Crosschecked 1 objects
    Finished implicit crosscheck copy at 03-JAN-08
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /opt/oracle/product/10gR2/oradata/DB01/system.dbf
    restoring datafile 00002 to /opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf
    restoring datafile 00003 to /opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf
    restoring datafile 00004 to /opt/oracle/product/10gR2/oradata/DB01/users.dbf
    restoring datafile 00005 to /opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf
    restoring datafile 00006 to /opt/oracle/product/10gR2/oradata/DB01/file1.dbf
    restoring datafile 00007 to /opt/oracle/product/10gR2/oradata/DB01/file2.dbfchannel ORA_DISK_1: reading from backup piece /ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642899284.1.1.bus
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642899284.1.1.bus tag=20080101_LV0_DB
    channel ORA_DISK_1: restore complete, elapsed time: 01:22:28
    Finished restore at 03-JAN-08
    datafile 1 switched to datafile copy
    input datafile copy recid=14 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/system.dbf
    datafile 2 switched to datafile copy
    input datafile copy recid=15 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf
    datafile 3 switched to datafile copy
    input datafile copy recid=16 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=17 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/users.dbf
    datafile 5 switched to datafile copy
    input datafile copy recid=18 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf
    datafile 6 switched to datafile copy
    input datafile copy recid=19 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/file1.dbf
    datafile 7 switched to datafile copy
    input datafile copy recid=20 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/file2.dbf
    Starting recover at 03-JAN-08
    using channel ORA_DISK_1
    starting media recovery
    channel ORA_DISK_1: starting archive log restore to default destination
    channel ORA_DISK_1: restoring archive log
    archive log thread=2 sequence=1005
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=1365
    channel ORA_DISK_1: reading from backup piece /ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642900444.1.1.bus
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642900444.1.1.bus tag=20080101_LV0_DB
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:05
    archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_1_1365_3qtshnfv_.arc thread=1 sequence=1365
    archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_2_1005_3qtshncz_.arc thread=2 sequence=1005
    channel default: deleting archive log(s)
    archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_1_1365_3qtshnfv_.arc recid=2418 stamp=643049236
    unable to find archive log
    archive log thread=1 sequence=1366
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/03/2008 16:47:22
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 1366 lowscn 181804603
    RMAN> **end-of-file**
    I searched for a decription of the 06054 error, and found that if the archive logs weren't available, then to run "alter database open resetlogs;", which I did. Here's the output:
    RMAN> alter database open resetlogs;
    database opened
    RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
    RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows
    ORACLE error from target database:
    ORA-06553: PLS-801: internal error [56319]
    I've done all of this twice now, with the same result. I've googled PLS-801 and found more than a few instances of people getting this code, but not during a database open after a restore. Can anyone shed some light on what might have gone wrong? In the interest of brevity, I left out the rest of the restore process prior to running the database restore, but other than setting "compatible" and "db_recovery_file_dest_size", it was all by the book.
    Thanks in advance.

    Thanks for the reply Pierre.
    I am not using RMAN Duplicate. Yes, the source of the backup is an RAC. The destination is a single server, with the DB on the filesystem. Here's an overview of of the commands I ran and the procedure.
    Copied tar'd backup controlfile and datafiles to destination machine. Untar'd. Install 10.2.0.1.0 on destination machine, patch to 10.2.0.2.0.
    OS> sqlplus /nologin
    SQL> alter system set compatible = '10.2.0.2.0' scope=spfile;
    SQL> alter system set db_recovery_dest_file_size = '8g'; scope spfile;
    SQL> shutdown immediate;
    SQL> startup; (to verify changes took...)
    SQL> shutdown immediate;
    OS> Copy control file from untar'd dir and place in $ORACLE_HOME/dbs/, truncate name to c-DBID-date-00.
    OS> rman target /
    RMAN> startup nomount;
    RMAN> set dbid <dbid from control file>;
    RMAN> restore controlfile from autobackup; (finds control file with no problem...)
    RMAN> alter database mount;
    RMAN> @/home/oracle/rman_dr.rman (script cited in first post, to rename datafiles from ASM to filesystem, restore, switch files, and recover...)
    RMAN> alter database open resetlogs; (as cited before...)
    If I'm not using Duplicate and not specifying dates, the UNTIL/SET UNTIL commands aren't necessary, correct?

  • Error during Variable Substitution

    Hi Experts,
    Pls go through the errors
    I am getting the following error in RWB>Messages Monitoring->Adapter Engine
    It is in Production,
    Many messages are successful but 40% messages are failed with this Error
    The following is the Error log
    Attempt to process file failed with
    com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution:
    com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload:Fatal Error:com.sap.engine.lib.xml.parser.parserException: XMLparser: No data allowed here(:main:,row:,col:75)"
    main:,row:,75 will be changing for every failure message
    I have checked the XML payload also there is no problem.
    if it has a problem, after rescending also it should not be processed
    please find the different errors carefully and give me the Solution.
    Getting different Errors for different messages like below
    1.com.sap.engine.lib.xml.parser.parserException:XMLParser:N o data allowed here:(hex) 76,65,72 (:main:,row:1,col:9)
    for the same message when the sys tried to resend
    parserException:start-tag 'EIT' is different from the end-tag'E1EDP03(:main:,row:1,col:16)
    2.com.sap.engine.lib.xml.parser.parserException:XMLParser:Declaration not allowed here:(:main:,row:1,col:6)
    for the same message when the sys tried to resend
    (:main:,row:1,col:89)
    3.com.sap.engine.lib.xml.parser.parserException:XMLParser:Name Expected:0x0.(:main:,row:1,col:0)
    for the same message when the sys tried to resend
    :No data allowed:(hex)0(:main:,row:1,col:1)
    4.com.sap.engine.lib.xml.parser.parserException:XMLParser:start-tag= 'EDI_DC40' is different from the end-tag= 'DOCNUM'(:main:,row:2,col:125)
    for the same message when the sys tried to resend
    parserException:</expected(:main:,row:1,col:0)
    5.com.sap.engine.lib.xml.parser.parserException:XMLParser:</expected(:main:,row:2,col:1788)
    when ever the sys tried to rescend the following errors are getting
    XMLParser:</expected(:main:,row:2,col:17)
    XMLParser:No data allowed here(:main:,row:2,col:96)
    XMLParser:No data allowed here(hex)76, 65, 72(:main:,row:1,col:9)
    XMLParser:Document is not well-formed:start-tag 'EDI_DC40' is different from end-tag 'DOCREL'(:main:,row:1,col:9)
    For all these errors if we resend, the messages are processed successfully, if i select more messages then it won't be processed.
    I have checked SMQ1 and even Javaengine also re-started but same problem.
    I have checked payload message with above errors but there is no problem.
    can any body give me the solution
    Regards
    Rajan

    Avoid posting duplicate thread,
    Exception during Variable Substitution
    Regards

  • Error during execution phase of sps10 update in CRM system

    Hi all,
    I am applying SPS10 on my CRM system and getting the following error during the execution phase. The system is running on Windows/MaxDB.
    ETP360 Begin: Act. of Shadow-Nametabs with DDL ("2014/03/10 04:26:51")
    2 ETP301 ----------------------------------------------------------------------
    2 ETP399   processing modeflag 'F'
    2 ETP301 ----------------------------------------------------------------------
    2 ETP330XActivation of Shadownametabs with DDL
    2 ETP301 ----------------------------------------------------------------------
    3 ETP379X04:26:51: activating Nametab "COMC_ATTRIBUTE":
    2 ETP399   >> Name of inactive nametab to read  : DDXTT
    2 ETP399   >> Format of inactive nametab to read: 5.0
    3 ETP355Xstatements:
    3 ETP399 CREATE UNIQUE INDEX "COMC_ATTRIBUTE~UNI" on "COMC_ATTRIBUTE"
    3 ETP399 ("ATTR_ID")
    3 ETP399 
    2WETP000 04:26:51: Retcode 1: error in DDL statement for "COMC_ATTRIBUTE                " - repeat
    2EETP345 04:27:04: Retcode 1: SQL-error "-1452-POS(1) Duplicate secondary key" in DDL statement for
    2EETP345  "COMC_ATTRIBUTE                "
    2 ETP399  --------------- DB-ROLLBACK() ---------------
    2EETP334 04:27:04: error in DDL, nametab for "COMC_ATTRIBUTE" not activated
    2 ETP301 ----------------------------------------------------------------------
    I searched in the service market place for notes which could help me resolve the issue, but could not find any. Please do let me know as to how this issue can be resolve.
    Regards,
    Balaji.P

    Hi Balaji,
    In SAP Note 601757 - Error upgrading from Release 2.0C, 3.0, 3.1, 3.5 to CRM 4.0  
    , I have found the below lines.
    "If you do not execute the report before the upgrade, 'DUPLICATE KEY' errors occur during the upgrade of the COMC_ATTRIBUTE table. Up to now, this was observed in the SHADOW_IMPORT_INC phase. In this case, you must delete the UNI secondary index from the COMC_ATTRIBUTE table manually. You can then continue the upgrade by repeating the phase."
    Regards,
    Rafikul

  • Error during burning process

    I am using OS10.4.6
    Powermac G5
    Final Cut HD4.5
    IDVD 5.0.1
    I have made a 27 minute movie in Final cut....i cannot seem to burn it in IDVD no matter what. I have been using this full time for 4 yrs and have never had this issue.
    I have tested other movies and they burn fine...i have tried throwing away all the render files and re-rendering the movie in final cut and then re-exporting it out. i have exported it out in 2 different ways...no matter what i do, I keep getting an error during the burning process that says
    there was an ERROR in the burning process
    which is leading me to believe that some file within my final cut project is corrupt or problematic.
    i have worked on this thing for about 50 hours and cannot start over from scratch, Help!

    dejavu! http://discussions.apple.com/thread.jspa?threadID=512852&tstart=0
    Ashley- I know you're probably getting desperate but please don't duplicate post.
    I'm not real familiar with iDVD but I know you have to export a QT movie from FCP and then burn that right? Your QT Movie, was it a self contained QT or a refernce Movie. If you have no idea what I just asked, when you exported it and you went to File>Export>QT Movie> did you select the box that says "make movie self-contained"?
    If so then a corrupt file is a moot (sp?) point. Can you open the QT Movie and watch it successfully in QT?
    If you CAN watch it in QT then your problem probably lies in iDVD.
    Answer these questions for us and we'll take the next step to getting a DVD in your hands.

  • Error RSMPTEXTS~:Duplicate record dur durin EHP5 in phase SHADOW_IMPORT_INC

    Hi expert,
    i find this error during an EHP5 upgrade in phase shadow_import_inc:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    SHADOW IMPORT ERRORS and RETURN CODE in SAPK-701DOINSAPBASIS.ERD
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2EETW000 Table RSMPTEXTS~: Duplicate record during array insert occured.
    2EETW000 Table RSMPTEXTS~: Duplicate record during array insert occured.
    1 ETP111 exit code           : "8"
    here also the last part of log SAPK-701DOINSAPBASIS.ERD
    4 ETW000 Totally 4 tabentries imported.
    4 ETW000 953984 bytes modified in database.
    4 ETW000  [     dev trc,00000]  Thu Aug 11 16:58:45 2011                                             7954092  8.712985
    4 ETW000  [     dev trc,00000]  Disconnecting from ALL connections:                                       28  8.713013
    4 ETW000  [     dev trc,00000]  Disconnecting from connection 0 ...                                       38  8.713051
    4 ETW000  [     dev trc,00000]  Closing user session (con=0, svc=0000000005C317C8, usr=0000000005C409A0)
    4 ETW000                                                                                8382  8.721433
    4 ETW000  [     dev trc,00000]  Detaching from DB Server (con=0,svchp=0000000005C317C8,srvhp=0000000005C32048)
    4 ETW000                                                                                7275  8.728708
    4 ETW000  [     dev trc,00000]  Now I'm disconnected from ORACLE                                        8648  8.737356
    4 ETW000  [     dev trc,00000]  Disconnected from connection 0                                            84  8.737440
    4 ETW000  [     dev trc,00000]  statistics db_con_commit (com_total=13, com_tx=13)                        18  8.737458
    4 ETW000  [     dev trc,00000]  statistics db_con_rollback (roll_total=0, roll_tx=0)                      14  8.737472
    4 ETW000 Disconnected from database.
    4 ETW000 End of Transport (0008).
    4 ETW000 date&time: 11.08.2011 - 16:58:45
    4 ETW000 1 warning occured.
    4 ETW000 1 error occured.
    1 ETP187 R3TRANS SHADOW IMPORT
    1 ETP110 end date and time   : "20110811165845"
    1 ETP111 exit code           : "8"
    1 ETP199 ######################################
    4 EPU202XEND OF SECTION BEING ANALYZED IN PHASE SHADOW_IMPORT_INC
    and i've already try to use the last version of R3trans.
    can you help me????
    thanks a lot
    Franci

    Hello Fransesca,
    I am also facing same error while upgrading ehp5 upgradation please if you know tell me steps to solve it.
    Thanks,
    Venkat

  • Sequence Error During Golden Gate Replication!

    Dear All,
    I am replicating 2 databases one way, from production to standby using golden gate.
    Both databases are 11gR2 and on Linux.
    Replication runs smooth for couple of days and then ends up with this error:
    ERROR OGG-01296 Error mapping from ETISLBILLING.PAR_TBLPARNODEIDENTI to ETISLBILLING.PAR_TBLPARNODEIDENTI.
    Parent Ket Not Found ETISLBILLING.FK_PARTNERNODE_IDENT
    Trigger : ETISLBILLING.TRG_PAR_TBLPARTNERNODE Sequence : SEQ_PAR_TblPartnerIdenti
    ORA-20000: Sequence value cannot be changed.
    Main error is that value of sequence that is executed during the after insert trigger, does not change and trigger raise error hence the replication process is stopped.
    I am just worried that the same triggers and sequences are executed successfully on production database and standby database has is exactly the same as production.
    Is there some special treatment for sequences?
    Kindly help on this.
    Regards, Imran

    Pl do not post duplicates - Sequence Error During Golden Gate Replication! Need Hints

  • SQL-error "-955-Duplicate name" in DDL statement

    Hi!
    During upgrade preparations (PREPARE) i got follwing problem activating a table TAREF in SOLMAN32/MaxDB 7.5
    estos100:smpadm 79> more MVNTTOOL.ELG
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    MVNTABS errors and RETURN CODE in P060227.SMP
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2EETP345 22:16:03: Retcode 1024: SQL-error "-955-Duplicate name" in DDL statement for "TAREF
    2EETP345                   "
    2EETP334 22:16:03: error in DDL, nametab for "TAREF" not activated
    1 ETP111 exit code           : "8"
    estos100:smpadm 80>
    When looking from the ABAP perspective (se14 -> table "TAREF" -> Indexes) I see that the table has two indexes:  
    "0   X   Primary index"
    "1   X   Index on Object Type".
    When looking at details for "index 1" it says "does not exist in database". 
    How do I solve this ABAP dictionary inconsistancy?
    Regards,
    Fredrik
    Message was edited by: Fredrik  Rosengren

    Hi Fredrik,
    please open an OSS message for your issue.
    Kind regards,
    Roland

  • CCMDB Error during Publisher Restore

    Hello Everyone,
    I get the following error during the Restore Proccess in the Publisher:
    Error DDMDB, the restore keeps on 93%.
    At the link error log:
    Have any idea to resolve this?
    Thanks.

    Duplicate posts.  
    Go here:  http://supportforums.cisco.com/discussion/12142111/ccmdb-error-during-publisher-restore

Maybe you are looking for

  • Linking old ipods to new itunes account and syncing songs

    does anyone have any idea how???

  • Over writing CSS style for links

    I've set up a style sheet for the site I'm building which works great. But we want to have the link style on just one of the pages different from the rest of the site. I thought I could just over write it in the styles for that page to create the loo

  • Embedding product discriptors in image metadata?

    I'm working with a third-party vendor to help my company develop a digital asset management system. At this stage of the project I'm trying to find a way to embed product description information (which is currently contained in a FileMaker db) into i

  • Content not fading with containing element

    I am using the update content feature of spry in conjunction with a spry fade in/out effect which works very well aside from in a couple of instances. Firstly, I have a div that has its content replaced, before it is replaced it fades out, but the .s

  • Schedule line and factory calendar problems

    Hello experts. I am having some trouble with the schedule lines in our sales orders. There used to be only one schedule line with the requested qty and the confirmed qty. But ever since I configured the factory calender in our shipping poitns, there