Streams cannot create an index

HI All,
     I am currently implementing an Oracle Streams setup to stream a schema from one database to another database. While I have been able to overcome most problems so far, I currently have an issue where the streams apply process cannot create an index in the destination.
     I have effectively disabled VPD on the destination, and granted every privilege I can think of directly to the streams administrator, but still the transaction returns "ORA-00942: table or view does not exist". No other errors are listed - none about prilileges, open cursors or other possible problems
     I have searched Metalink, and found two notes (264477.1 and 276805.1), however neither really describe the problem, nor do their solutions help.
     Environment details are Oracle 11.1.0.7 on Red Hat Enterprise Linux Server release 5.3 (Tikanga)
     I have created a script which summarises attempted solutions, whose output is included below - appologies for the length.
Thanks in advance for any suggestions
Gavin
@ SQL>
@ SQL> connect / as sysdba
Connected.
SYS@TGFLXRD SQL> -- grant sysdba
SYS@TGFLXRD SQL> grant sysdba to strmadmin;
Grant succeeded.
Elapsed: 00:00:00.01
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> -- For VPD
SYS@TGFLXRD SQL> grant exempt access policy to strmadmin;
Grant succeeded.
Elapsed: 00:00:00.01
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> -- Object priv
SYS@TGFLXRD SQL> -- from Metalink ORA-942 ORA-1000 While Adding a New Table to 10g Streams Replication [ID 264477.1]
SYS@TGFLXRD SQL> grant dba to strmadmin;
Grant succeeded.
Elapsed: 00:00:00.00
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> grant create any index to strmadmin;
Grant succeeded.
Elapsed: 00:00:00.00
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> column grantee format a15
SYS@TGFLXRD SQL> column table_name format a25
SYS@TGFLXRD SQL> column owner format a15
SYS@TGFLXRD SQL> column grantor format a15
SYS@TGFLXRD SQL> column privilege format a20
SYS@TGFLXRD SQL> select *
2 from dba_tab_privs
3 where table_name = 'SHIPMENT_STOP_DEBRIEF'
4 order by grantee, privilege;
GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE GRANTABLE HIERARCHY
APP_USER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER DELETE NO NO
APP_USER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER INSERT NO NO
APP_USER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER SELECT NO NO
APP_USER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER UPDATE NO NO
REPORTOWNER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER INSERT YES NO
REPORTOWNER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER REFERENCES NO NO
REPORTOWNER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER SELECT YES NO
REPORTOWNER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER UPDATE YES NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER ALTER NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER DEBUG NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER DELETE NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER FLASHBACK NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER INDEX NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER INSERT NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER ON COMMIT REFRESH NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER QUERY REWRITE NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER REFERENCES NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER SELECT NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER UPDATE NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER ALTER NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER DEBUG NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER DELETE NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER FLASHBACK NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER INSERT NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER ON COMMIT REFRESH NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER QUERY REWRITE NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER SELECT NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER UPDATE NO NO
28 rows selected.
Elapsed: 00:00:00.02
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> connect glogowner/xxxxxx
Connected.
GLOGOWNER@TGFLXRD SQL> grant all on SHIPMENT_STOP_DEBRIEF to strmadmin;
Grant succeeded.
Elapsed: 00:00:00.01
GLOGOWNER@TGFLXRD SQL>
GLOGOWNER@TGFLXRD SQL>
GLOGOWNER@TGFLXRD SQL> connect strmadmin/xxxxxx
Connected.
STRMADMIN@TGFLXRD SQL> -- ensure object can be seen
STRMADMIN@TGFLXRD SQL> create or replace synonym SHIPMENT_STOP_DEBRIEF for glogowner.SHIPMENT_STOP_DEBRIEF;
Synonym created.
Elapsed: 00:00:00.01
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> -- from Metalink ORA-942 & ORA-1000 from an Apply Process After Adding a New Table to a Streams Environment [ID 276805.1]
STRMADMIN@TGFLXRD SQL> column privilege format a40
STRMADMIN@TGFLXRD SQL> COLUMN APPLY_NAME HEADING 'Apply Process Name' FORMAT A20
STRMADMIN@TGFLXRD SQL> COLUMN APPLY_CAPTURED HEADING 'Type of Events Applied' FORMAT A15
STRMADMIN@TGFLXRD SQL> COLUMN APPLY_USER HEADING 'Apply User' FORMAT A30
STRMADMIN@TGFLXRD SQL> SELECT APPLY_NAME,
2 DECODE(APPLY_CAPTURED,
3 'YES', 'Captured',
4 'NO', 'User-Enqueued') APPLY_CAPTURED,
5 APPLY_USER
6 FROM DBA_APPLY;
Apply Process Name Type of Events Apply User
TGF_APP Captured STRMADMIN
OTM_APP Captured STRMADMIN
Elapsed: 00:00:00.00
STRMADMIN@TGFLXRD SQL> --select * from session_privs order by 1;
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> -- print_transaction from Oracle doco at
STRMADMIN@TGFLXRD SQL> -- http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/strms_apmon.htm#CHDFBEFC
STRMADMIN@TGFLXRD SQL> set serveroutput on
STRMADMIN@TGFLXRD SQL> exec print_transaction('10.3.2694');
---- Local Transaction ID: 10.3.2694
---- Source Database: TGFLXD
----Error in Message: 1
----Error Number: 942
----Message Text: ORA-00942: table or view does not exist
--message: 1
type name: SYS.LCR$_DDL_RECORD
source database: TGFLXD
owner: GLOGOWNER
object: IX_SSD_ITEM_GID
is tag null: Y
ddl: CREATE INDEX GLOGOWNER.IX_SSD_ITEM_GID ON SHIPMENT_STOP_DEBRIEF(ITEM_GID) TABLESPACE INDX
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> CREATE INDEX GLOGOWNER.IX_SSD_ITEM_GID ON SHIPMENT_STOP_DEBRIEF(ITEM_GID) TABLESPACE INDX;
Index created.
Elapsed: 00:00:00.02
STRMADMIN@TGFLXRD SQL> drop index GLOGOWNER.IX_SSD_ITEM_GID;
Index dropped.
Elapsed: 00:00:00.05
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> -- let's try now...
STRMADMIN@TGFLXRD SQL> desc SHIPMENT_STOP_DEBRIEF
Name Null? Type
SHIPMENT_GID NOT NULL VARCHAR2(101)
STOP_NUM NOT NULL NUMBER(3)
ACTIVITY NOT NULL VARCHAR2(1)
SEQUENCE_NO NOT NULL VARCHAR2(10)
S_SHIP_UNIT_GID VARCHAR2(101)
S_SHIP_UNIT_LINE_NO NUMBER(10)
ITEM_PACKAGE_COUNT NUMBER(10)
PACKAGING_UNIT_GID VARCHAR2(101)
PACKAGING_UNIT_COUNT NUMBER(10)
TRANSPORT_HANDLING_UNIT_GID VARCHAR2(101)
TRANSPORT_HANDLING_UNIT_COUNT NUMBER(10)
ITEM_GID VARCHAR2(101)
NON_CONF_REASON_CODE_GID VARCHAR2(101)
SHIP_UNIT_GID VARCHAR2(101)
S_EQUIPMENT_GID VARCHAR2(101)
MATCH_TYPE VARCHAR2(20)
ORDER_RELEASE_LINE_GID VARCHAR2(101)
DOMAIN_NAME NOT NULL VARCHAR2(50)
INSERT_USER NOT NULL VARCHAR2(128)
INSERT_DATE NOT NULL DATE
UPDATE_USER VARCHAR2(128)
UPDATE_DATE DATE
STRMADMIN@TGFLXRD SQL> select count(*) from SHIPMENT_STOP_DEBRIEF;
COUNT(*)
0
Elapsed: 00:00:00.00
STRMADMIN@TGFLXRD SQL> select count(*) from glogowner.SHIPMENT_STOP_DEBRIEF;
COUNT(*)
0
Elapsed: 00:00:00.01
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> set serveroutput on
STRMADMIN@TGFLXRD SQL> begin
2 dbms_apply_adm.execute_error(
3 local_transaction_id => '10.3.2694',
4 execute_as_user => false,
5 user_procedure => null);
6 end;
7 /
begin
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_APPLY_ERROR", line 151
ORA-06512: at "SYS.DBMS_APPLY_ERROR", line 265
ORA-06512: at "SYS.DBMS_APPLY_ADM", line 467
ORA-06512: at line 2
Elapsed: 00:00:00.03
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> connect / as sysdba
Connected.
SYS@TGFLXRD SQL> revoke sysdba from strmadmin;
Revoke succeeded.
Elapsed: 00:00:00.07
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> spool off
-------------------------------------------------------------------------------------------------------------

HI All,
     I am currently implementing an Oracle Streams setup to stream a schema from one database to another database. While I have been able to overcome most problems so far, I currently have an issue where the streams apply process cannot create an index in the destination.
     I have effectively disabled VPD on the destination, and granted every privilege I can think of directly to the streams administrator, but still the transaction returns "ORA-00942: table or view does not exist". No other errors are listed - none about prilileges, open cursors or other possible problems
     I have searched Metalink, and found two notes (264477.1 and 276805.1), however neither really describe the problem, nor do their solutions help.
     Environment details are Oracle 11.1.0.7 on Red Hat Enterprise Linux Server release 5.3 (Tikanga)
     I have created a script which summarises attempted solutions, whose output is included below - appologies for the length.
Thanks in advance for any suggestions
Gavin
@ SQL>
@ SQL> connect / as sysdba
Connected.
SYS@TGFLXRD SQL> -- grant sysdba
SYS@TGFLXRD SQL> grant sysdba to strmadmin;
Grant succeeded.
Elapsed: 00:00:00.01
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> -- For VPD
SYS@TGFLXRD SQL> grant exempt access policy to strmadmin;
Grant succeeded.
Elapsed: 00:00:00.01
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> -- Object priv
SYS@TGFLXRD SQL> -- from Metalink ORA-942 ORA-1000 While Adding a New Table to 10g Streams Replication [ID 264477.1]
SYS@TGFLXRD SQL> grant dba to strmadmin;
Grant succeeded.
Elapsed: 00:00:00.00
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> grant create any index to strmadmin;
Grant succeeded.
Elapsed: 00:00:00.00
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> column grantee format a15
SYS@TGFLXRD SQL> column table_name format a25
SYS@TGFLXRD SQL> column owner format a15
SYS@TGFLXRD SQL> column grantor format a15
SYS@TGFLXRD SQL> column privilege format a20
SYS@TGFLXRD SQL> select *
2 from dba_tab_privs
3 where table_name = 'SHIPMENT_STOP_DEBRIEF'
4 order by grantee, privilege;
GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE GRANTABLE HIERARCHY
APP_USER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER DELETE NO NO
APP_USER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER INSERT NO NO
APP_USER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER SELECT NO NO
APP_USER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER UPDATE NO NO
REPORTOWNER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER INSERT YES NO
REPORTOWNER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER REFERENCES NO NO
REPORTOWNER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER SELECT YES NO
REPORTOWNER GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER UPDATE YES NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER ALTER NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER DEBUG NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER DELETE NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER FLASHBACK NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER INDEX NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER INSERT NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER ON COMMIT REFRESH NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER QUERY REWRITE NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER REFERENCES NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER SELECT NO NO
STRMADMIN GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER UPDATE NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER ALTER NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER DEBUG NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER DELETE NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER FLASHBACK NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER INSERT NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER ON COMMIT REFRESH NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER QUERY REWRITE NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER SELECT NO NO
STRMADMIN_ROLE GLOGOWNER SHIPMENT_STOP_DEBRIEF GLOGOWNER UPDATE NO NO
28 rows selected.
Elapsed: 00:00:00.02
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> connect glogowner/xxxxxx
Connected.
GLOGOWNER@TGFLXRD SQL> grant all on SHIPMENT_STOP_DEBRIEF to strmadmin;
Grant succeeded.
Elapsed: 00:00:00.01
GLOGOWNER@TGFLXRD SQL>
GLOGOWNER@TGFLXRD SQL>
GLOGOWNER@TGFLXRD SQL> connect strmadmin/xxxxxx
Connected.
STRMADMIN@TGFLXRD SQL> -- ensure object can be seen
STRMADMIN@TGFLXRD SQL> create or replace synonym SHIPMENT_STOP_DEBRIEF for glogowner.SHIPMENT_STOP_DEBRIEF;
Synonym created.
Elapsed: 00:00:00.01
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> -- from Metalink ORA-942 & ORA-1000 from an Apply Process After Adding a New Table to a Streams Environment [ID 276805.1]
STRMADMIN@TGFLXRD SQL> column privilege format a40
STRMADMIN@TGFLXRD SQL> COLUMN APPLY_NAME HEADING 'Apply Process Name' FORMAT A20
STRMADMIN@TGFLXRD SQL> COLUMN APPLY_CAPTURED HEADING 'Type of Events Applied' FORMAT A15
STRMADMIN@TGFLXRD SQL> COLUMN APPLY_USER HEADING 'Apply User' FORMAT A30
STRMADMIN@TGFLXRD SQL> SELECT APPLY_NAME,
2 DECODE(APPLY_CAPTURED,
3 'YES', 'Captured',
4 'NO', 'User-Enqueued') APPLY_CAPTURED,
5 APPLY_USER
6 FROM DBA_APPLY;
Apply Process Name Type of Events Apply User
TGF_APP Captured STRMADMIN
OTM_APP Captured STRMADMIN
Elapsed: 00:00:00.00
STRMADMIN@TGFLXRD SQL> --select * from session_privs order by 1;
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> -- print_transaction from Oracle doco at
STRMADMIN@TGFLXRD SQL> -- http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/strms_apmon.htm#CHDFBEFC
STRMADMIN@TGFLXRD SQL> set serveroutput on
STRMADMIN@TGFLXRD SQL> exec print_transaction('10.3.2694');
---- Local Transaction ID: 10.3.2694
---- Source Database: TGFLXD
----Error in Message: 1
----Error Number: 942
----Message Text: ORA-00942: table or view does not exist
--message: 1
type name: SYS.LCR$_DDL_RECORD
source database: TGFLXD
owner: GLOGOWNER
object: IX_SSD_ITEM_GID
is tag null: Y
ddl: CREATE INDEX GLOGOWNER.IX_SSD_ITEM_GID ON SHIPMENT_STOP_DEBRIEF(ITEM_GID) TABLESPACE INDX
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> CREATE INDEX GLOGOWNER.IX_SSD_ITEM_GID ON SHIPMENT_STOP_DEBRIEF(ITEM_GID) TABLESPACE INDX;
Index created.
Elapsed: 00:00:00.02
STRMADMIN@TGFLXRD SQL> drop index GLOGOWNER.IX_SSD_ITEM_GID;
Index dropped.
Elapsed: 00:00:00.05
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> -- let's try now...
STRMADMIN@TGFLXRD SQL> desc SHIPMENT_STOP_DEBRIEF
Name Null? Type
SHIPMENT_GID NOT NULL VARCHAR2(101)
STOP_NUM NOT NULL NUMBER(3)
ACTIVITY NOT NULL VARCHAR2(1)
SEQUENCE_NO NOT NULL VARCHAR2(10)
S_SHIP_UNIT_GID VARCHAR2(101)
S_SHIP_UNIT_LINE_NO NUMBER(10)
ITEM_PACKAGE_COUNT NUMBER(10)
PACKAGING_UNIT_GID VARCHAR2(101)
PACKAGING_UNIT_COUNT NUMBER(10)
TRANSPORT_HANDLING_UNIT_GID VARCHAR2(101)
TRANSPORT_HANDLING_UNIT_COUNT NUMBER(10)
ITEM_GID VARCHAR2(101)
NON_CONF_REASON_CODE_GID VARCHAR2(101)
SHIP_UNIT_GID VARCHAR2(101)
S_EQUIPMENT_GID VARCHAR2(101)
MATCH_TYPE VARCHAR2(20)
ORDER_RELEASE_LINE_GID VARCHAR2(101)
DOMAIN_NAME NOT NULL VARCHAR2(50)
INSERT_USER NOT NULL VARCHAR2(128)
INSERT_DATE NOT NULL DATE
UPDATE_USER VARCHAR2(128)
UPDATE_DATE DATE
STRMADMIN@TGFLXRD SQL> select count(*) from SHIPMENT_STOP_DEBRIEF;
COUNT(*)
0
Elapsed: 00:00:00.00
STRMADMIN@TGFLXRD SQL> select count(*) from glogowner.SHIPMENT_STOP_DEBRIEF;
COUNT(*)
0
Elapsed: 00:00:00.01
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> set serveroutput on
STRMADMIN@TGFLXRD SQL> begin
2 dbms_apply_adm.execute_error(
3 local_transaction_id => '10.3.2694',
4 execute_as_user => false,
5 user_procedure => null);
6 end;
7 /
begin
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_APPLY_ERROR", line 151
ORA-06512: at "SYS.DBMS_APPLY_ERROR", line 265
ORA-06512: at "SYS.DBMS_APPLY_ADM", line 467
ORA-06512: at line 2
Elapsed: 00:00:00.03
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL>
STRMADMIN@TGFLXRD SQL> connect / as sysdba
Connected.
SYS@TGFLXRD SQL> revoke sysdba from strmadmin;
Revoke succeeded.
Elapsed: 00:00:00.07
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL>
SYS@TGFLXRD SQL> spool off
-------------------------------------------------------------------------------------------------------------

Similar Messages

  • ERROR ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found

    Hi,
    SAPSSRC.log
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: START OF LOG: 20071018195059
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#12 $ SAP
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: version R6.40/V1.4
    Compiled Nov 30 2005 20:41:21
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe -ctf I C:/temp/51030721/EXP2/DATA/SAPSSRC.STR C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\ORA\NUC\DB/DDLORA.TPL C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\ORA\NUC\DB/SAPSSRC.TSK ORA -l C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\ORA\NUC\DB/SAPSSRC.log
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: job completed
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: END OF LOG: 20071018195059
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: START OF LOG: 20071018195133
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#12 $ SAP
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: version R6.40/V1.4
    Compiled Nov 30 2005 20:41:21
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe -dbcodepage 4103 -i C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\ORA\NUC\DB/SAPSSRC.cmd -l C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\ORA\NUC\DB/SAPSSRC.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (DB) INFO: ABTREE created #20071018195134
    (IMP) INFO: import of ABTREE completed (39 rows) #20071018195134
    (DB) INFO: ABTREE~0 created #20071018195134
    (DB) INFO: AKB_CHKCONF created #20071018195134
    (IMP) INFO: import of AKB_CHKCONF completed (0 rows) #20071018195134
    (DB) INFO: AKB_CHKCONF~0 created #20071018195134
    (DB) INFO: AKB_INDX created #20071018195134
    (IMP) INFO: import of AKB_INDX completed (0 rows) #20071018195134
    (DB) INFO: AKB_INDX~0 created #20071018195134
    (DB) INFO: AKB_USAGE_INFO created #20071018195134
    (IMP) INFO: import of AKB_USAGE_INFO completed (0 rows) #20071018195134
    (DB) INFO: AKB_USAGE_INFO~0 created #20071018195134
    (DB) INFO: AKB_USAGE_INFO2 created #20071018195134
    (IMP) INFO: import of AKB_USAGE_INFO2 completed (0 rows) #20071018195134
    (DB) INFO: AKB_USAGE_INFO2~0 created #20071018195134
    (DB) INFO: APTREE created #20071018195134
    (IMP) INFO: import of APTREE completed (388 rows) #20071018195134
    (DB) INFO: APTREE~0 created #20071018195134
    (DB) INFO: APTREE~001 created #20071018195134
    (DB) INFO: APTREET created #20071018195134
    (IMP) INFO: import of APTREET completed (272 rows) #20071018195134
    DbSl Trace: Error in exec_immediate()
    DbSl Trace: ORA-1452 occurred when executing SQL statement (parse error offset=35)
    (DB) ERROR: DDL statement failed
    (CREATE UNIQUE INDEX "APTREET~0" ON "APTREET" ( "SPRAS", "ID", "NAME" ) TABLESPACE PSAPBW1 STORAGE (INITIAL 44981 NEXT 0000000040K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
    (SQL error 1452)
    error message returned by DbSl:
    ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
    (DB) INFO: disconnected from DB
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: END OF LOG: 20071018195134
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: START OF LOG: 20071018195314
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#12 $ SAP
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: version R6.40/V1.4
    Compiled Nov 30 2005 20:41:21
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe -dbcodepage 4103 -i C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\ORA\NUC\DB/SAPSSRC.cmd -l C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\ORA\NUC\DB/SAPSSRC.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (DB) ERROR: DDL statement failed
    (DROP INDEX "APTREET~0")
    DbSlExecute: rc = 103
    (SQL error 1418)
    error message returned by DbSl:
    ORA-01418: specified index does not exist
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    DbSl Trace: Error in exec_immediate()
    DbSl Trace: ORA-1452 occurred when executing SQL statement (parse error offset=35)
    (DB) ERROR: DDL statement failed
    (CREATE UNIQUE INDEX "APTREET~0" ON "APTREET" ( "SPRAS", "ID", "NAME" ) TABLESPACE PSAPBW1 STORAGE (INITIAL 44981 NEXT 0000000040K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
    (SQL error 1452)
    error message returned by DbSl:
    ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
    (DB) INFO: disconnected from DB
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    C:\usr\sap\BW1\SYS\exe\run/R3load.exe: END OF LOG: 20071018195315
    I'm getting this error "duplicate keys found". I'm finished installing the central instance and during the database instance, i got this error. I'm installing BW 3.5 on x64 windows server 2003 platform. I'm using NU kernel 6.40.
    Thanks for your suggestions on how to resolve this error.
    Reward points guaranteed.

    Issue solved by deleting central and database instance and started a new build. it finished without an error.
    Thank you.

  • W_PARTY_D_U1 = ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found.

    Hi,
    We are implementing OBIA 11.1.1.7.1 which comes with ODI for Fianance and Procurement analytics.When we do full load from EBS the load plan gets failed and it throws the below error
    Caused By: java.sql.SQLException: ORA-20000: Error creating Index/Constraint : W_PARTY_D_U1 => ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found.
    Please help us to resolve the same.
    Thanks
    Rama

    This might need Patch:10402735
    if helps mark

  • Cannot create text index in partition table on Oracle 10g

    I try to create context index in a table with 15 millions records. The table is divided 5 partitions and each patition has 3 millions records. When I create the context index in the table, the same error always arised. The follow are my work:
    --First create my own lexer
    begin
    ctx_ddl.createperference('my_chinese_lexer','chinese_lexer');
    end;
    --Second create index
    create index idx_part_text3 on tb_test_part(text3)
    indextype is ctxsys.context local (
    partition p1_ix,
    partition p2_ix,
    partition p3_ix ,
    partition p4_ix,
    partition p5_ix)
    parameters('lexer my_chinese_lexer') parallel;
    --error message
    create index idx_part_text3 on tb_test_part(text3)
    Error in 1 line:
    ORA-12801: Parellel Query Server P000 send error signal
    ORA-29855: Error on execute ODCIINDEXCREATE program
    ORA-06510: PL/SQL: User Defined Error
    ORA-06512: In "CTXSYS.DRIDISP", line 244
    ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
    ORA-06512: In "CTXSYS.DRIPARX", line 10
    ORA-06512: In "CTXSYS.TEXTINDEXMETHODS", line 359
    ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
    ORA-06512: In "CTXSYS.DRUE", line 191
    ORA-06512: In "CTXSYS.DRUE", line 49
    ORA-06512: In "CTXSYS.DRUE", line 24
    ORA-06512: In "CTXSYS.DRUE", line 186
    ORA-06512: In "CTXSYS.DRVDDL", line 682
    ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
    ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
    ORA-06512: In "CTXSYS.DRUE", line 191
    ORA-06512: In "CTXSYS.DRUE", line 49
    ORA-06512: In "CTXSYS.DRUE", line 24
    ORA-06512: In "CTXSYS.DRVDDL", line 452
    ORA-06510: PL/SQL: User Defined Error
    BTW:
    My oracle 10g run on linux AS3 box with 4xP4 and 6G Mem.
    I set pga_aggregate_target=2200M, and at the beginning of creating index, the max pga alloced is about 1100M, but when one patition finished, the error arised and the max pga alloced suddenly reached 3500M. So in every times, the index status is always like below:
    P1_ix usable
    P2_ix Inprogress
    P3_ix Inprogress
    P4_ix Inprogress
    P5_ix Inprogress
    Thx for any help!

    Try to increase LARGE_POOL_SIZE.
    PGA_AGGREGATE_TARGET is not only parameter that can meddle in parallel execution.
    Looks like parallel execution parameters is not correctly set. Check it all, including PARALLEL_EXECUTION_MESSAGE_SIZE.

  • Cannot CREATE UNIQUE INDEX; duplicate keys found

    I have 10g when I did an expdp from prod (an AIX 5.3 ) and impdp to a test (a RHEL3 ) with TABLE_EXISTS_ACTION=TRUNCATE, there are some index errors ORA-01452 for some of the tables but not all. As I compared the difference between , The only difference I noticed was that the one with error is the table has data, those tables without error have no data. So how which parameter I can use in impdp to avoid ? read the utility doc, have not found clear picture.
    Chi

    In 11510,
    The duplicate row loaded is person 6272 with effective date 1994 and 1991. This needs to be fixed in vision.
    Workflow SIL_PositionDimension_Full calls mapping SIL_PositionDimension to load target W_POSITION_D from source W_POSITION_DS. W_POSITION_D.INTEGRATION_ID maps to W_POSITION_DS.INTEGRATION_ID, but EFFECTIVE_FROM_DT is a more complicated many to one mapping.
    Extract to W_POSITION_DS ;
    SDE_ORA_PositionDimension_NonEmployee
    - W_POSITION_DS.INTEGRATION_ID from PER_ALL_PEOPLE_F.PERSON_ID
    SDE_ORA_PositionDimension_NoAssignments
    - W_POSITION_DS.INTEGRATION_ID from JTF_RS_RESOURCE_EXTNS_TL RESOURCE_ID
    -- PER~6272,4,01-JAN-94
    -- PER~6272,4,01-JAN-91
    select all t.*
    from
    select all
    count(*) as n
    , t.INTEGRATION_ID
    , t.DATASOURCE_NUM_ID
    , t.EFFECTIVE_FROM_DT
    --, t.*
    from baw.W_POSITION_D t
    group by
    null
    , t.INTEGRATION_ID
    , t.DATASOURCE_NUM_ID
    , t.EFFECTIVE_FROM_DT
    ) t
    where ( ( n > 1 ) )
    ;

  • One can create an index on a non-existent column in a table

    I am using Oracle 10.2.0.3 on Windows 2003. I wanted to create an index on columnb of
    Tablea. When I use statement like:
    Create index index1 on tablea (‘columnb’) …
    Oracle created index: index1. However, when I looked tat the column in user_ind_columns it had some weird colculn like SYS_NCxxxx. For sometime, I had
    No idea what was going on. My index was not being used in queries at all. Then it dawned on me that I should not put single quotes around columnb. Once I removed quotes, things worked as expected.
    But why does Oracle allow index on a non-existent column?

    we cannot create the index on nonexistent column of table We can. Its called a function-based index. Here's how we do it.
    Also read Howard's reply, right above yours.
    SQL> desc t
    Name                                      Null?    Type
    OWNER                                     NOT NULL VARCHAR2(30)
    OBJECT_NAME                               NOT NULL VARCHAR2(30)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                 NOT NULL NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                   NOT NULL DATE
    LAST_DDL_TIME                             NOT NULL DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    SQL> create index t_idx on t( substr(object_name, 1, 5));
    Index created.
    SQL> select column_name from user_ind_columns where index_name = 'T_IDX';
    COLUMN_NAME
    SYS_NC00014$
    SQL> select index_type from user_indexes where index_name = 'T_IDX';
    INDEX_TYPE
    FUNCTION-BASED NORMAL
    SQL>

  • Data Pump Export issue - no streams pool created and cannot automatically c

    I am trying to use data pump on a 10.2.0.1 database that has vlm enabled and getting the following error :
    Export: Release 10.2.0.1.0 - Production on Tuesday, 20 April, 2010 10:52:08
    Connected to: Oracle Database 10g Release 10.2.0.1.0 - Production
    ORA-31626: job does not exist
    ORA-31637: cannot create job SYS_EXPORT_TABLE_01 for user E_AGENT_SITE
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT_INT", line 600
    ORA-39080: failed to create queues "KUPC$C_1_20100420105208" and "KUPC$S_1_20100420105208" for Data Pump job
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPC$QUE_INT", line 1555
    ORA-00832: no streams pool created and cannot automatically create one
    This is my script (that I currently use on other non vlm databases successfully):
    expdp e_agent_site/<password>@orcl parfile=d:\DailySitePump.par
    this is my parameter file :
    DUMPFILE=site_pump%U.dmp
    PARALLEL=1
    LOGFILE=site_pump.log
    STATUS=300
    DIRECTORY=DATA_DUMP
    QUERY=wwv_document$:"where last_updated > sysdate-18"
    EXCLUDE=CONSTRAINT
    EXCLUDE=INDEX
    EXCLUDE=GRANT
    TABLES=wwv_document$
    FILESIZE=2000M
    My oracle directory is created and the user has rights
    googling the issue says that the shared pool is too small or streams_pool_size needs setting. shared_pool_size = 1200M and when I query v$parameter it shows that streams_pool_size = 0
    I've tried alter system set streams_pool_size=1M; but I just get :
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-04033: Insufficient memory to grow pool
    The server is a windows enterprise box with 16GB ram and VLM enabled, pfile memory parameters listed below:
    # resource
    processes = 1250
    job_queue_processes = 10
    open_cursors = 1000 # no overhead if set too high
    # sga
    shared_pool_size = 1200M
    large_pool_size = 150M
    java_pool_size = 50M
    # pga
    pga_aggregate_target = 850M # custom
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    # vlm support
    USE_INDIRECT_DATA_BUFFERS = TRUE
    DB_BLOCK_BUFFERS = 1500000
    Any ideas why I cannot run data pump? I am assuming that I just need to set streams_pool_size but I don't understand why I cannot increase the size of it on this db. It is set to 0 on other databases that work fine and I can set it which is why I am possibly linking the issue to vlm
    thanks
    Robert

    SGA_MAX_SIZE?
    SQL> ALTER SYSTEM SET streams_pool_size=32M SCOPE=BOTH;
    ALTER SYSTEM SET streams_pool_size=32M SCOPE=BOTH
    ERROR at line 1:
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-04033: Insufficient memory to grow pool
    SQL> show parameter sga_max
    NAME                         TYPE      VALUE
    sga_max_size                    big integer 480M
    SQL> show parameter cache
    NAME                         TYPE      VALUE
    db_16k_cache_size               big integer 0
    db_2k_cache_size               big integer 0
    db_32k_cache_size               big integer 0
    db_4k_cache_size               big integer 0
    db_8k_cache_size               big integer 0
    db_cache_advice                string      ON
    db_cache_size                    big integer 256M
    db_keep_cache_size               big integer 0
    db_recycle_cache_size               big integer 0
    object_cache_max_size_percent          integer      10
    object_cache_optimal_size          integer      102400
    session_cached_cursors               integer      20
    SQL> ALTER SYSTEM SET db_cache_size=224M SCOPE=both;
    System altered.
    SQL> ALTER SYSTEM SET streams_pool_size=32M SCOPE=both;
    System altered.Lukasz

  • Cannot Create Index in EHP 4 System

    Hi there,
    We got an Enterprise Search 7.0 and some SAP Systems (ERP 6.0 and a NEW IDES ERP EHP4).
    In the ERP 6.0 I can create all Indexes I want to have.
    Starting SES_Admin, create Index and go.
    I the new EHP 4 System (IDES) it's not possible to create an new Index.
    The connection between ES 7.0 and the ERP is fine. The System User got the same Rights like the User in the ERP 6.0.
    In the SES_Admin it's possible to select the Business Objects I want to index, but after I have select them (all or some special) I see no Object in the Ses_admin. The message below is : indexes created: 4, indexes activated: 0 .
    Anyone an idea what I'm doing wrong?
    THX for your Help
    Edited by: Björn Leistikow on Mar 24, 2010 4:50 PM

    I've sold the Problem.
    After installing Trex 7.2 the indexes can be created.

  • What is the "No database index" means when you Creating Secondary Indexes?

    HI,
       I'm Creating Secondary Indexes in the maintenance screen of the table(se11)
       There are three options under "Non-unique Index":
       1.Index on all database systems
       2.For selected database systems
       3.No database index
    My questions is :
      What do u mean by "No Database Index" and when is it used.
      Can anybody plz tell me what's the difference of this three options ?
      Here is what i found in the help:
       No database index: The index is not created in the database. If you
       choose this option for an index that already exists in the database,
       it is deleted when you activate this option.

    Hi,
    It is clear from the help documentation,
    Here see what the help document says:
    Create the index in the database (selection)
    Whether an index improves or worsens performance often depends on the database system. You can therefore set whether an index defined in the ABAP Dictionary should be created in the database.
    This makes it easier to install a platform-specific customer system.
    You can set this option as follows:
    1. Index in all database systems: The index is always created in the database.
    2. In selected database systems: The index is created depending on the database system used. In this option, you must specify the databases in which the indexes are to be created. You can do this either on an inclusive (list of systems on which it should be created) or an exclusinve (list of systems on which it should not be created) basis. In either case, you can list up to four different database systems.
    3. No database index:: The index is not created in the database. If you set this option for an index that already exists in the database, it is deleted when you activate the table in the ABAP Dictionary.
    Note: Unique indexes have an extra function, and must therefore always be created in the database. The database system prevents entries or index fields being duplicated. Since programs may rely on this database function, you cannot delete unique indexes from the database.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

  • Call a procedure in a function to create an Index

    Hi,
    i want to doing a text search and have to create some index
    to doing that. I have to choose between create two index according to
    what a search i want to doing.
    The function, which call the sql-statement to search the text is:
    CREATE OR REPLACE FUNCTION SEARCHTEXT(textToSearch IN VARCHAR2)
    RETURN utilities.resultset_ft PIPELINED AS
    BEGIN
    BEGIN
    INDEXTEST;
    END;
    DBMS_OUTPUT.PUT_LINE('get the data');
    -- search the Text in the database Documents
    FOR i in
    (SELECT extract(Document, '/*/*/*/*/location[1]/uri/text()').getStringVal() as location, score(1) as score_nbr
    FROM Mydocuments
    WHERE contains(Document, textTosearch, 1) &gt; 0
    ORDER BY score_nbr)
    LOOP
    PIPE ROW(i);
    END LOOP;
    RETURN;
    END ;
    This function call the procedure "INDEXTEST", which create the index.
    CREATE OR REPLACE PROCEDURE INDEXTEST
    AS
    BEGIN
    EXECUTE IMMEDIATE 'CREATE INDEX FTS_INDEX ON Mydocuments (DOCUMENT)' || ' ' ||
    'INDEXTYPE IS CTXSYS.CONTEXT' || ' ' ||
    'PARAMETERS (''' || 'stoplist Doc_stoplist' || ' ' ||
    'section group CTXSYS.PATH_SECTION_GROUP'')';
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(sqlerrm);
    END INDEXTEST;
    I call the statement:
    select *
    from TABLE(searchtext('%Let%'))
    and i get this error:
    Error starting at line 1 in command:
    select *
    from TABLE(searchtext('%Let%'))
    Error report:
    SQL Error: ORA-14552: DDL-, Commit- oder Rollback-Vorgang kann innerhalb einer Abfrage oder DML nicht durchgef&uuml;hrt werden
    ORA-06512: in "INDEXTEST", Zeile 5
    ORA-06512: in "SEARCHTEXT", Zeile 15
    14552. 00000 - "cannot perform a DDL, commit or rollback inside a query or DML "
    Cause:    DDL operations like creation tables, views etc. and transaction<br /><br />control statements such as commit/rollback cannot be performed<br /><br />inside a query or a DML statement.<br /><br />Action: Ensure that the offending operation is not performed or
    use autonomous transactions to perform the operation within
    the query/DML operation.
    <p>
    Can someone help me?
    </p>
    Thanks for help

    So, in answer to your question, how to do this....
    Create the necessary indexes before you issue the query to do the search.
    Yes, that means you need to have some intermediate steps to do it, but you should be able to control that from your application level.
    e.g.
    1. User enters search criteria
    2. Application processes criteria and creates necessary indexes
    3. Application queries the results
    4. Application drops the indexes.
    Or, alternatively, it may be an idea to have a look at your overall design and solve the issue why you are actually having to try and create indexes on the fly. If the database structure was correct in the first place then you shouldn't have to create any more indexes than the permanent ones you will have already determined.

  • Cannot create a session after the response has been committed (Tomcat 6)

    I'm getting a rather annoying error when I try to open a pretty basic JSP page.
    I'm rather new to the whole JSP scene, so I'm following the example found on pages 287 and onwards in "JSF in Action - Manning" in case anyone wanted to check my code against the source.
    I've searched for about 4 hours now, coming back to this site a couple of times, once reading about writeouts and stuff. But I'm not really sure this is the issue in this case and if it is, where exactly the problem lies.
    I've already fixed a number of errors I got (jtsl.jar and standard.jar missing etc...) but this particular problem is driving me (and my co-workers for that matter :-) ) up the wall.
    Anyone willing to help me out here?
    Error:
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Cannot create a session after the response has been committed
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
    root cause
    java.lang.IllegalStateException: Cannot create a session after the response has been committed
         org.apache.catalina.connector.Request.doGetSession(Request.java:2301)
         org.apache.catalina.connector.Request.getSession(Request.java:2075)
         org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
         org.apache.myfaces.context.servlet.SessionMap.setAttribute(SessionMap.java:53)
         org.apache.myfaces.util.AbstractAttributeMap.put(AbstractAttributeMap.java:103)
         org.apache.myfaces.util.AbstractAttributeMap.put(AbstractAttributeMap.java:35)
         org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedViewInServletSession(JspStateManagerImpl.java:523)
         org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:358)
         javax.faces.application.StateManager.saveView(StateManager.java:47)
         org.apache.myfaces.application.jsp.JspViewHandlerImpl$StateMarkerAwareWriter.flushToWriter(JspViewHandlerImpl.java:387)
         org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:322)
         org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
         org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
    Source Code of login.jsp:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <f:view>
    <html>
    <head>
         <title>
              <h:outputText value="ProjectTrack"/>
         </title>
    </head>
         <body>
              <table>
                   <tr>
                        <td>
                             <h:graphicImage url="/images/logo Skillteam.jpg"
                             alt="Welcome to ProjectTrack"
                             title="Welcome to ProjectTrack"
                             width="435" height="120"/>
                        </td>
                   <td>
                        <font face="Arial, sans-serif"
                        size="6">
                        <h:outputText value="ProjectTrack"/>
                        </font>
                   </td>
                   </tr>
         http://forum.java.sun.com/post!default.jspa?forumID=45#
    Click for bold     </table>
         </body>
    </html>
    </f:view>
    web.xml & faces-config
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
         <display-name>ProjectTrack</display-name>
         <welcome-file-list>
         <welcome-file>faces/login.jsp</welcome-file>
         <welcome-file>index.html</welcome-file>
         </welcome-file-list>
         <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>/faces/*</url-pattern>
         </servlet-mapping>
    </web-app>
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
         <navigation-rule>
              <from-view-id>/login.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>/inbox.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>failure</from-outcome>
                   <to-view-id>/login.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    </faces-config>Setup:
    Eclipse Europe 3.3.0
    Tomcat 6.0.13
    MyFaces 1.2
    JRE 1.6.0_02

    When searching for this error, this was the first page google gave me. I found the answer and just in case anyone else stumbles in here with the same question I thought I'd share my findings.
    Unfortunately, if your problem is the same as mine, you're going to feel pretty silly. I was navigating to the wrong page. If MyFaces(when running tomcat) tries to resolve to a page that doesn't exist, the error given above is what happens.
    In my case I accidentally put my .jsp page into the wrong directory and ended up banging my head against the wall for an hour figuring that out. Hope this helps someone.

  • Creating DOMAIN INDEX on INTERVAL PARTITIONING

    Hi !
    I hava a problem, and I hope someone can help me!
    Two questions are asked below:
    1. Main question: HOW CAN I SOLVE THIS PROBLEM, ARE THERE OTHER WAYS DOING THE SAME JOB (MAYBE FASTER) ?
    2. Additionally: Is there a way to accelerate the deletion process
    Step 1: Creating the table* For Information how I create the table:
    CREATE TABLE LOC_EXAMPLE
    COLUMN1 NUMBER
    COLUMN2 NUMBER
    COLUMN3 NUMBER
    COLUMN4 NUMBER
    START_TIME TIMESTAMP
    GEOLOC MDSYS.SDO_GEOMETRY,
    TABLESPACE DB_DATA
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOLOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING
    PARTITION BY RANGE (START_TIME)
    INTERVAL (NUMTODSINTERVAL(1,'DAY'))
         PARTITION PART_LOC_EXAMPLE VALUES LESS THAN (TO_DATE('01-01-2008','dd-MM-yyyy'))
    ALTER TABLE LOC_EXAMPLE
    ADD CONSTRAINT PK_LOC_EXAMPLE PRIMARY KEY (COLUMN2,COLUMN4)
    DELETE FROM USER_SDO_GEOM_METADATA VALUE WHERE TABLE_NAME = 'LOC_EXAMPLE'
    INSERT INTO USER_SDO_GEOM_METADATA VALUES ('LOC_EXAMPLE','GEOLOC', MDSYS.SDO_DIM_ARRAY( MDSYS.SDO_DIM_ELEMENT('X',-180,180,0.001111949), MDSYS.SDO_DIM_ELEMENT('Y',-90,90,0.001111949) ), 8307)
    STEP 2: I TRY TO CREATE SPATIAL INDEX (ITS A DOMAIN INDEX IF I'M NOT WRONG) ON PARTITIONED TABLE*
    (PARTITIONED TABLE is an extension of range partitioning)
    CREATE INDEX LOC_EXAMPLE_idx ON LOC_EXAMPLE'(GEOLOC)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX LOCAL;
    THE SECOND STEP IS NOT POSSIBLE AS THE ORACLE DOCUMENTATION SAYS:
    When using interval partitioning, consider the following restrictions:
    -You can only specify one partitioning key column, and it must be of NUMBER or DATE type.
    -Interval partitioning is not supported for index-organized tables.
    -You cannot create a domain index on an interval-partitioned table.
    1) I THINK IT IS IMPOSSIBLE FOR ME TO PASS ON INTERVAL PARTITIONING (AMOUNT OF DATA IS REALY BIG).
    This partitioning is also used to delete datas from database once a mounth (scheduled on the basis of the partitions).
    Is there a way to accelerate the deletion process?
    2) I NEED A SPATIAL INDEX! NO WAY TO PASS ON IT!
    HOW CAN I SOLVE THIS PROBLEM, ARE THERE OTHER WAYS DOING THE SAME JOB (MAYBE FASTER) ?
    Why is it not possible to create a domain index on interval partitioning, any reason?
    Will this be possible anytime?
    I would be grateful to read any advise ...!
    Thanking you in anticipation,
    Ali

    There is a forum here at OTN for spatial. Please delete the contents of this post and ask your question there. Thanks.

  • Creating spatial indexes at the same time

    Are there any locks on common DB objects when spatial index is created on one table?
    We have application which creates a table with geometry column, fills this table and at the finish creates the spatial index. It seems, that this blocks other users to do this on other tables. The problem is also when the index on large table is created outside the application and this blocks the index creation for app users.
    regards
    Saso

    Hi,
    I believe you can create multiple spatial indexes concurrently. I'm not sure if there are special database parameters, but on my default Oracle9i release 2 install I can create multiple indexes at the same time.
    Users cannot query the table using spatial operators until the index is built. Adding/deleting data may also be disabled while the index is building. Accessing data is allowed.
    Can you describe the sequence of steps where the blocking occurs?

  • Creating DOMAIN INDEX (SPATIAL) on INTERVAL PARTITIONING

    Hi !
    I hava a problem, and I hope someone can help me!
    Two questions are asked below:
    1. Main question: HOW CAN I SOLVE THIS PROBLEM, ARE THERE OTHER WAYS DOING THE SAME JOB (MAYBE FASTER) ?
    2. Additionally: Is there a way to accelerate the deletion process
    Step 1: Creating the table For Information how I create the table:
    CREATE TABLE LOC_EXAMPLE
    COLUMN1 NUMBER
    COLUMN2 NUMBER
    COLUMN3 NUMBER
    COLUMN4 NUMBER
    START_TIME TIMESTAMP
    GEOLOC MDSYS.SDO_GEOMETRY,
    TABLESPACE DB_DATA
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOLOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING
    PARTITION BY RANGE (START_TIME)
    INTERVAL (NUMTODSINTERVAL(1,'DAY'))
    PARTITION PART_LOC_EXAMPLE VALUES LESS THAN (TO_DATE('01-01-2008','dd-MM-yyyy'))
    ALTER TABLE LOC_EXAMPLE
    ADD CONSTRAINT PK_LOC_EXAMPLE PRIMARY KEY (COLUMN2,COLUMN4)
    DELETE FROM USER_SDO_GEOM_METADATA VALUE WHERE TABLE_NAME = 'LOC_EXAMPLE'
    INSERT INTO USER_SDO_GEOM_METADATA VALUES ('LOC_EXAMPLE','GEOLOC', MDSYS.SDO_DIM_ARRAY( MDSYS.SDO_DIM_ELEMENT('X',-180,180,0.001111949), MDSYS.SDO_DIM_ELEMENT('Y',-90,90,0.001111949) ), 8307)
    STEP 2: I TRY TO CREATE SPATIAL INDEX (ITS A DOMAIN INDEX IF I'M NOT WRONG) ON PARTITIONED TABLE
    (PARTITIONED TABLE is an extension of range partitioning)
    CREATE INDEX LOC_EXAMPLE_idx ON LOC_EXAMPLE'(GEOLOC)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX LOCAL;
    THE SECOND STEP IS NOT POSSIBLE AS THE ORACLE DOCUMENTATION SAYS:
    When using interval partitioning, consider the following restrictions:
    -You can only specify one partitioning key column, and it must be of NUMBER or DATE type.
    -Interval partitioning is not supported for index-organized tables.
    -You cannot create a domain index on an interval-partitioned table.
    1) I THINK IT IS IMPOSSIBLE FOR ME TO PASS ON INTERVAL PARTITIONING (AMOUNT OF DATA IS REALY BIG).
    This partitioning is also used to delete datas from database once a mounth (scheduled on the basis of the partitions).
    Is there a way to accelerate the deletion process?
    2) I NEED A SPATIAL INDEX! NO WAY TO PASS ON IT!
    HOW CAN I SOLVE THIS PROBLEM, ARE THERE OTHER WAYS DOING THE SAME JOB (MAYBE FASTER) ?
    Why is it not possible to create a domain index on interval partitioning, any reason?
    Will this be possible anytime?
    I would be grateful to read any advise ...!
    Thanking you in anticipation,
    Ali

    Is it possible to just use a normal range-partitioned table?
    CREATE TABLE LOC_EXAMPLE
    START_TIME TIMESTAMP
    GEOLOC MDSYS.SDO_GEOMETRY,
    PARTITION BY RANGE (START_TIME)
    PARTITION P1 VALUES LESS THAN (TO_DATE('01-01-2008','dd-MM-yyyy'))
    alter table loc_example add partition p2 VALUES LESS THAN (TO_DATE('02-01-2008','dd-MM-yyyy'));
    alter table loc_example drop partition p1;
    I understand it is not as perfect as interval partitioning, since
    you have to drop an old partition/add a new one either manually
    or by some script. But you should be able to create a spatial domain index
    on it.

  • Problem in creating text index

    While creating index on XMLType column
    i am getting this error
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in driddl.policycreate
    ORA-01400: cannot insert NULL into ("CTXSYS"."DR$INDEX"."IDX_TEXT_NAME")
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 186
    Can anybody help me out to figure whats the problem
    regards
    - Shweta.

    Hi Shweta,
    Can you tell me the type of index you are creating? Give the query you are using to create the index.
    We have written a sample called 'Survey Sample Application' in which we created CTXXPATH index on a XMLType column.
    You can download the sample from
    http://otn.oracle.com/sample_code/tech/xml/survey/content.html
    Document on the index used is present at
    http://otn.oracle.com/sample_code/tech/xml/survey/docs/AboutOracleXMLDB.html
    I hope this helps you in solving the problem.
    Regards,
    Anupama Majety

Maybe you are looking for

  • OBIEE 11.1.1.5 Install on Windows 7 64bit Clustered

    Hello, I am attempting to setup an Highly Available OBIEE install. I have a Windows Server 2003 R2 server with SAN storage for the network share using DFS in Active Directory. As per http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10539/c2_scen

  • How to update Boot Camp drivers when you already install Boot Camp?

    The last time i install Windows 7 (Boot Camp) and drivers on my Mac was a bit long time ago, and i realise that there is some new drivers available for mine, so how can i update my Boot Camp drivers, please help me, and thanks!!!

  • Levels no longer work in Photoshop CS5.1

    Levels don't work in my installation of CS 5.1. The dialog comes up but adjustment don't change the image. I reinstalled CS 5.1 but that didn't fix things. Any ideas on what I can do? thanks

  • Add a Digital Signature to email sent from an APEX Application

    Hi Folks. Can anyone advise how we could go about digitally signing our outbound emails? Anything that could be configured within APEX? Or would it have to be configured on the email server being used to transmit the emails? Couldn't find anything re

  • BO XI 3.1 Cluster Installation - 1 Web Tier + 2 Application Servers + 1 DB

    Hi Guys, This is the first time I am doing a Cluster installation of BO XI 3.1. Here's the scenario : 1. We have Server-1 as - Web-Tier 2. Server 2 + Server 3 - Cluster Installation. 3. SQL DB Server. The step 3 above is done. Now my confusion is wha