Import Schema with error

When i try to import a schema from one oracle to another one (also 11g), it shows the following errors:
Job 999 has been reopened at Wednesday, 12 October, 2011 16:05
Restarting "SYS1"."999":
Processing object type SCHEMA_EXPORT/USER
ORA-39083: Object type USER failed to create with error:
ORA-00959: tablespace 'HSS' does not exist
Failing sql is:
CREATE USER "HSS" IDENTIFIED BY VALUES 'S:EFC32883462E172BE4E973549229FAD75D854E3B6E24F44EB8830F6D09C9;F258BD7AE1E5E74B' DEFAULT TABLESPAC
E "HSS" TEMPORARY TABLESPACE "TEMP"
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
ORA-39083: Object type SYSTEM_GRANT failed to create with error:
ORA-01917: user or role 'HSS' does not exist
Failing sql is:
GRANT CREATE VIEW TO "HSS"
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
ORA-39083: Object type DEFAULT_ROLE failed to create with error:
ORA-01918: user 'HSS' does not exist
Failing sql is:
ALTER USER "HSS" DEFAULT ROLE ALL
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
ORA-39083: Object type PROCACT_SCHEMA failed to create with error:
ORA-31625: Schema HSS is needed to import this object, but is unaccessible
ORA-01435: user does not exist
Failing sql is:
BEGIN
sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CON
TEXT('USERENV','CURRENT_SCHEMA'), export_db_name=>'ORCL', inst_scn=>'1940096');COMMIT; END;
ORA-39083: Object type TABLE:"HSS"."WKS_PROPERTY" failed to create with error:
ORA-01918: user 'HSS' does not exist
Failing sql is:
CREATE TABLE "HSS"."WKS_PROPERTY" ("ID" NUMBER(10,0) NOT NULL ENABLE, "NAME" VARCHAR2(255 BYTE) NOT NULL ENABLE, "VAL" CLOB
NOT NULL ENABLE, "ORD" NUMBER(10,0) NOT NULL ENABLE) SEGMENT CREATION DEFERRED PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING TABLESPACE "HSS" LOB ("VAL") STORE AS BASICFILE ( TABLESPACE "HSS" ENABLE STORAGE IN ROW CHUNK 8192 NOCACHE L
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/VIEW/VIEW
ORA-39083: Object type VIEW failed to create with error:
ORA-31625: Schema HSS is needed to import this object, but is unaccessible
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPW$WORKER", line 6573
ORA-44001: invalid schema
Job "SYS1"."999" completed with 102 error(s) at 16:05:12
Execution errors encountered.
Job state: COMPLETED
Can anyone give me a hand?
Many thanks

thanks after i create the tablespace in destination db the import can process but it still show some error
Job 9 has been reopened at Wednesday, 12 October, 2011 17:46
Restarting "SYS1"."9":
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"HSS" already exists
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
ORA-31684: Object type SEQUENCE:"HSS"."LCM-MIGRATION_ID-SEQ" already exists
ORA-31684: Object type SEQUENCE:"HSS"."WKS_IDENTITY_SEQ" already exists
ORA-31684: Object type SEQUENCE:"HSS"."ESS_FAILOVER_RESOURCE_SEQ" already exists
ORA-31684: Object type SEQUENCE:"HSS"."ESS_FAILOVER_LEASE_OWNER_SEQ" already exists
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "HSS"."CSS_ROLE_LOCALES" 1.258 MB 5322 rows
. . imported "HSS"."CSS_ROLE_MEMBERS" 43.88 KB 127 rows
. . imported "HSS"."HSS_COMPONENT_FILES" 23.69 KB 13 rows
. . imported "HSS"."CSS_GROUPS" 8.476 KB 1 rows
. . imported "HSS"."CSS_IDENTITY" 6.484 KB 2 rows
. . imported "HSS"."CSS_MEMBER_TYPE" 5.468 KB 3 rows
. . imported "HSS"."CSS_PROVISIONING_INFO" 14.12 KB 18 rows
. . imported "HSS"."CSS_ROLES" 42.69 KB 174 rows
. . imported "HSS"."CSS_USERS" 10.63 KB 1 rows
. . imported "HSS"."HSS_COMPONENT" 11.07 KB 57 rows
. . imported "HSS"."HSS_COMPONENT_LINKS" 16.93 KB 134 rows
. . imported "HSS"."HSS_COMPONENT_PROPERTY_VALUES" 38.67 KB 434 rows
. . imported "HSS"."HSS_COMPONENT_TYPES" 10.01 KB 143 rows
. . imported "HSS"."PRODUCT" 8 KB 13 rows
. . imported "HSS"."QRTZ_LOCKS" 5.109 KB 5 rows
. . imported "HSS"."SMA_AUDIT_AREA_DIM" 8.015 KB 28 rows
. . imported "HSS"."SMA_CONFIG" 16.31 KB 116 rows
. . imported "HSS"."SMA_FILTER_DIM" 15.40 KB 116 rows
. . imported "HSS"."SMA_GLOBAL_CONFIG_MAP" 15.24 KB 116 rows
. . imported "HSS"."SMA_GLOBAL_SETTING" 7.664 KB 1 rows
. . imported "HSS"."SMA_TASK_DIM" 16.54 KB 116 rows
. . imported "HSS"."CES_ACL_INFO" 0 KB 0 rows
. . imported "HSS"."CES_APPS" 0 KB 0 rows
. . imported "HSS"."CES_AUTO_PROCESS_TASK" 0 KB 0 rows
. . imported "HSS"."CES_MESSAGES" 0 KB 0 rows
. . imported "HSS"."CES_PARTICIPANT" 0 KB 0 rows
. . imported "HSS"."CES_PARTICIPANT_EVENTS" 0 KB 0 rows
. . imported "HSS"."CES_PROCESS_DEF" 0 KB 0 rows
. . imported "HSS"."CES_PUSH_AUTO_PROCESS_TASK" 0 KB 0 rows
. . imported "HSS"."CES_SYSTEM" 0 KB 0 rows
. . imported "HSS"."CES_TASKS" 0 KB 0 rows
. . imported "HSS"."CES_TASKS_RESULT" 0 KB 0 rows
. . imported "HSS"."CES_USERS" 0 KB 0 rows
. . imported "HSS"."CES_WF_INSTANCES" 0 KB 0 rows
. . imported "HSS"."CSS_DELEGATED_LIST" 0 KB 0 rows
. . imported "HSS"."CSS_DELEGATED_MEMBERS" 0 KB 0 rows
. . imported "HSS"."CSS_GROUP_CACHE_DELTA" 0 KB 0 rows
. . imported "HSS"."CSS_GROUP_MEMBERS" 0 KB 0 rows
. . imported "HSS"."CSS_USER_PREFERENCES" 0 KB 0 rows
. . imported "HSS"."ESS_CLUSTER_SERVER_MAPPING" 0 KB 0 rows
. . imported "HSS"."ESS_FAILOVER_LEASE" 0 KB 0 rows
. . imported "HSS"."ESS_FAILOVER_LEASE_OWNER" 0 KB 0 rows
. . imported "HSS"."ESS_FAILOVER_RESOURCE" 0 KB 0 rows
. . imported "HSS"."HDB_SCHEDULED_TASKS" 0 KB 0 rows
. . imported "HSS"."HSS_COMPONENT_TIERS" 0 KB 0 rows
. . imported "HSS"."LCM_MIGRATION" 0 KB 0 rows
. . imported "HSS"."LCM_MIGRATION_TASK" 0 KB 0 rows
. . imported "HSS"."LCM_MIGRATION_TASK_DETAILS" 0 KB 0 rows
. . imported "HSS"."QRTZ_BLOB_TRIGGERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_CALENDARS" 0 KB 0 rows
. . imported "HSS"."QRTZ_CRON_TRIGGERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_FIRED_TRIGGERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_JOB_DETAILS" 0 KB 0 rows
. . imported "HSS"."QRTZ_JOB_LISTENERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_PAUSED_TRIGGER_GRPS" 0 KB 0 rows
. . imported "HSS"."QRTZ_SCHEDULER_STATE" 0 KB 0 rows
. . imported "HSS"."QRTZ_SIMPLE_TRIGGERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_TRIGGERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_TRIGGER_LISTENERS" 0 KB 0 rows
. . imported "HSS"."SMA_APPLICATION_CONFIG_MAP" 0 KB 0 rows
. . imported "HSS"."SMA_AUDIT_ATTRIBUTE_FACT" 0 KB 0 rows
. . imported "HSS"."SMA_AUDIT_FACT" 0 KB 0 rows
. . imported "HSS"."SMA_PROJECT_CONFIG_MAP" 0 KB 0 rows
. . imported "HSS"."SMA_TEMP_LCM_IN" 0 KB 0 rows
. . imported "HSS"."SMA_TEMP_USER_IN" 0 KB 0 rows
. . imported "HSS"."WKS_GROUP" 0 KB 0 rows
. . imported "HSS"."WKS_IDENTITY" 0 KB 0 rows
. . imported "HSS"."WKS_IDENTITY_XREF" 0 KB 0 rows
. . imported "HSS"."WKS_PROPERTY" 0 KB 0 rows
. . imported "HSS"."WKS_ROLE" 0 KB 0 rows
. . imported "HSS"."WKS_SUBJECT" 0 KB 0 rows
. . imported "HSS"."WKS_USER" 0 KB 0 rows
. . imported "HSS"."WKS_VERSION" 0 KB 0 rows
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
ORA-39083: Object type INDEX_STATISTICS failed to create with error:
ORA-01403: no data found
ORA-01403: no data found
Failing sql is:
DECLARE I_N VARCHAR2(60); I_O VARCHAR2(60); c DBMS_METADATA.T_VAR_COLL; df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'
; BEGIN DELETE FROM "SYS"."IMPDP_STATS"; c(1) := 'TRIGGER_NAME'; c(2) := 'TRIGGER_GROUP'; DBMS_METADATA.GET_STAT_INDNAME('HSS','QRTZ_TRIGGERS',c,2,i_o,i_n); INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/VIEW/VIEW
ORA-31684: Object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-31684: Object type VIEW:"HSS"."VW_APPLICATIONS_CLUSTER" already exists
ORA-31684: Object type VIEW:"HSS"."ESS_FAILOVER_ACTIVE_NODE_VIEW" already exists
Processing object type SCHEMA_EXPORT/VIEW/COMMENT
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "SYS1"."9" completed with 23 error(s) at 17:46:27
Execution errors encountered.
Job state: COMPLETED

Similar Messages

  • Getting error while importing schema with ORACLE TEXT

    IMP-00003: ORACLE error 20000 encountered
    ORA-20000: Oracle Text error:
    DRG-52204: error while registering index
    DRG-10507: duplicate index name: WORKORDER_Q, owner: SYS
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.DRIIMP", line 115
    ORA-06512: at line 2
    IMP-00088: Problem importing metadata for index WORKORDER_Q. Index creation will be skipped
    Database version - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Os version - Linux nlxs1012.slb.atosorigin-asp.com 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    We have take export of schema from production db now importing data to qa environment..
    In import facing above error..

    I am importing objects from P20_MAXIMO to Q25_MAXIMO to another database..
    Below is import par file..
    USERID='/ as sysdba'
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=imp_P20_MAXIMO__Q25_MAXIMO_C2364781_1.log
    FROMUSER=P20_MAXIMO
    TOUSER=Q25_MAXIMO
    buffer=1000000
    feedback=100000
    Export parfile
    userid='/ as sysdba'
    owner=P20_MAXIMO
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=exp_P20_MAXIMO_C2364781.log
    buffer=10000000
    feedback=100000
    statistics=none

  • Import Schema with tables resized

    I've created a new database and would like to import a schema from another database. I want everything from the schema I'm importing however I want to resize the tables.
    I was wondering what would be the best way to handle this. I can create the tables first with the new specs and then import the schema with the "ignore=yes" option. I'm not sure however if this will cause errors. Any suggestions?
    Thanks.

    Hi,
    If you exported data with "compress=y" option (which is the default) tables would be automatically reorganized (import create one extent = total actual size).
    Anyway, if you need a different size for your tables, the procedure you posted is correct.
    Paolo

  • JTECH import fails with error Dirty DC

    Hi guys,
    We are on NW2004 s SP 7. I am trying to import JTECH7P and the import is failing with error dirty Dcs.
    Can anyone tell me where the error is? Is it due to incompatible to JTECH patch with my NWDI and EP system.
    Can some one give me matrix of which SP and patch for source codes JTECH ESS MSS BUILD JEE are required for NW2004s J2EE SP 7.
    Can some one point me to a note similar to 761266. I think 761266 this note does not have NW2004s related etails
    appreciate any help.
    regards
    Sam

    Ufuk Altinkaynak schrieb:
    > Dave Parkes schrieb:
    >> Stored in an external storage area, or under the post office ?
    >>
    >
    > Hello Dave,
    >
    > when using post office storage error is C06A, when using an external
    > storage, the error is C06B.
    >
    > If you have any hints/ solution or can say something about the charge,
    > that would be a huge help
    >
    Updated Information,
    Just to be sure about the C06B error, i created an new Library with
    external storage, than i draged and droped an *.txt file into documents
    (no the funny part) imported without any erors into the default library
    (that one with post office storage, that had before C06A errors)
    No i can use the library (with postoffice storage) without any erros.
    The only change on that system, was to create an additional library with
    external storage
    As every good side has a bad side, this bad side is, that i cannot
    import any documents into the library with external storage, the error i
    receive is C06B
    I have no clue why creating an additional librarry has fixed the first
    error, but hopefully this makes sence for someone, and hopefully anyone
    can help on the second error / Problem:
    C06B Error while importing into a library with external storrage
    regards
    Ufuk Altinkaynak

  • Import failed with errors/warnings like   ORA-31684/ORA-39082

    Hello,
    While doing IMPDP actvity i am getting messages like ORA-31684: Object type PACKAGE_BODY:"APPS"."AZ_DELETE" already exists and ORA-39082: Object type PACKAGE_BODY:"APPS"."FND_DM_PRODUCTS_PKG" created with compilation warnings
    Complete Import log file, same messages were encountered like ORA-31684 and Ora-39082
    Can you please suggest.
    Thanks,
    DBA

    First of all mention your Oracle Version and Operating Systems
    ORA-39082 is a warning You can run utlrp.sql to recompile all the objects that fails and that script is present in Oracle_Home\rdbms\admin
    If these errors are less you can recompile every warning as :--
    SQL>alter package schema_name.package_name compile;

  • Order Import failing with error "The specified subinventory is invalid to use, the profile option INV: Allow Expense to Asset Transfer is set to No. Change the profile option to Yes or choose a valid subinventory."

    Hi All,
    I am getting this error while importing an internal sales order.
    “The specified subinventory is invalid to use, the profile option INV: Allow Expense to Asset Transfer is set to No. Change the profile option to Yes or choose a valid subinventory.”
    I have tried to set mentioned profile as ‘Yes’. But still getting same error.
    Also, provided subinventory is present and active in given inventory organization.
    Please share if anybody encountered this before and have a solution.

    Hi 2878342
    Please refer the following metalink note, it should resolve your problem.
    Order Import Interface.Error Message Specified Subinventory Is Invalid To Use (Doc ID 406411.1)

  • Import terminates with error Memory fault(coredump)

    Hello All,
    I am trying to import the data from 9.2.0.8 to 10.2.0.4 on HP UX 11i.
    After some times i get error
    Memory fault(coredump)
    and import job gets disconnected. There are no other logs/ errors reported even at the db level nor at import job.
    Request to help if some body knows about the cause.
    Thank you,
    Anil

    Hi,
    I'm also experiencing this error.
    Some info on my databases
    [EXP]
    Version: 9.2.0.5.0 - 64bit Production
    Character Set: US7ASCII
    National Character Set: AL16UTF16
    [IMP]
    Version: 9.2.0.5.0 - 64bit Production
    Character Set: US7ASCII
    National Character Set: AL16UTF16
    [Common]
    Machine Type: HP-UX B.11.11
    The import job terminates and leave a file named core which is sized to the amount i placed in the buffer. How do i proceed on this one? Thanks.

  • Tp import fails with error "data files not transferred"

    Hi colleagues,
    I am working on transport requests. I had issued out the <i>tp addtobuffer SIDKxxxx <sid>  pf=TP_DOMAIN_SID.PFL </i> command for a number of transport requests at OS level; but when i then try to do <i>tp import SIDKxxxxx <sid> client= u18 pf=TP_DOMAIN_sid.PFL</i>, i get this error: "Data files are not transfered</b>" in the QAS system. Everything works fine in PROD though. What could be the reason for this. I can't get it done within the application either.
    Your responses appreciated.

    Hi,
    I guess you have individual transport directories. I f you have configured the Transport Domain and added the Other Two into the Domain and configured the Transport Route. You should be able to see the Some RFC Destinations in SM59.
    TMSADM@<SID>.<DOMAIN NAME>
    TMSSUP@<SID>.<DOMAIN NAME>
    Please check the Test connection. of all these RFC Destination. If these fail check if you have firewall issues between the system stopping the communication on Port 33<Instance No>.
    Thanks,
    Tanuj

  • Import fails with error unique constraint

    Hello,
    I try to import an APEX Application from Version 2.2 to APEX Version 2.0.
    I get the following error message:
    ORA-20001: GET_BLOCK-Fehler. ORA-20001: GET_STMT-Fehler. ORA-20001: Die Ausführung der Anweisung war nicht erfolgreich. ORA-00001: unique constraint (FLOWS_020000.WWV_FLOW_REGION_UPD_RPT_CI1) violated<pre>
    &lt;br&gt;begin&lt;br&gt; &lt;br&gt;---------------------------------------&lt;br&gt;-- ...updatable report columns for page 60&lt;br&gt;--&lt;br&gt; &lt;br&gt;begin&lt;b
    For the Import I chose the option "Auto Assign New Application ID".
    Has anyone an Idea, why the import fails?
    (Export from Version 2.2 and Import to a different Workspace in Version 2.2 is successful)
    Thank you for your responses,
    Carola

    Carola,
    I have no idea why this is happening. You may send the application export file (or the export file for page 60 only) to [email protected] and I will check it.
    Scott

  • Error creating OIM schema with RCU 11.1.1.3.3 (RCU-6135)

    Hello!
    I'm trying to install Oracle Access & Identity Management 11g on Windows Server 2003 32bit machine
    As main guide I use the article from onlineappsdba.com ( [this one|http://onlineappsdba.com/index.php/2010/08/05/oracleidm-11g-step-by-installation-of-oam-oim-oaam-oapm-oin-111130-part-i-load-schema/print/] )
    I have installed Oracle Database 11.2.0.1.0
    After that I try to create required schemas using RCU 11.1.1.3.3 and constantly get failed on creating OIM schema with error RCU-6135:Error while trying to execute Java action..
    All other schemas were created successfully.
    I've checked oim.log and there were no sql errors.
    In the rcu.log I found next messages:
    2011-04-08 17:19:28.921 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: Executing Task: Oracle Identity Manager
    2011-04-08 17:19:28.921 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: JavaAction command=oracle.ias.version.SchemaVersionUtil:utilCreateRegistryEntry
    2011-04-08 17:19:28.921 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: JavaAction method=utilCreateRegistryEntry
    2011-04-08 17:19:28.921 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::connect: Connecting to database: user:sys, role:SYSDBA, connectString:(description=(address=(host=sso)(protocol=tcp)(port=1521))(connect_data=(service_name=RED)(server=dedicated)))
    2011-04-08 17:19:29.328 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: m_bean.getResetSession() = false
    2011-04-08 17:19:29.328 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: m_bean.getConnectAsOwner() = false
    2011-04-08 17:19:29.328 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::connect: Connecting to database: user:sys, role:SYSDBA, connectString:(description=(address=(host=sso)(protocol=tcp)(port=1521))(connect_data=(service_name=RED)(server=dedicated)))
    2011-04-08 17:19:29.343 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: current user=sys
    2011-04-08 17:19:29.343 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: Performing JDBCScript Action Command: Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/sql/oim_user.sql CMDLINE Parameters Length: 5
    2011-04-08 17:19:29.343 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::parseNexecuteScript: ParseNexecute Script: Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/sql/oim_user.sql
    2011-04-08 17:19:29.625 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: **** Sql script DONE****
    2011-04-08 17:19:29.625 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.AbstractCompTask::execute: ValidIf result was false. Skipping Action: Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/sql/param.sql
    2011-04-08 17:19:29.625 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: paramString = 'DEV2_OIM'
    2011-04-08 17:19:35.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: **** Sql script DONE****
    2011-04-08 17:19:35.828 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: paramString = 'DEV2_OIM' 'DEV2_OIM_LOB'
    2011-04-08 17:19:35.828 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: m_bean.getResetSession() = false
    2011-04-08 17:19:35.828 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: m_bean.getConnectAsOwner() = false
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.SQLPlusAction::perform: **** Sql script DONE****
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: m_bean.getResetSession() = false
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: m_bean.getConnectAsOwner() = false
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: current user=sys
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: Performing JDBCScript Action Command: Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/sql/update_oim_user.sql CMDLINE Parameters Length: 1
    2011-04-08 17:20:30.796 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::parseNexecuteScript: ParseNexecute Script: Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/sql/update_oim_user.sql
    2011-04-08 17:20:30.812 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JDBCAction::perform: **** Sql script DONE****
    2011-04-08 17:20:30.812 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: JavaAction command=Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/iam_rcu_comp/lib/seedSchedulerData.jar:oracle.iam.scheduler.seed.SeedSchedulerData:loadSchedulerData
    2011-04-08 17:20:30.812 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: jarPath=Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/integration//oim/iam_rcu_comp/lib/seedSchedulerData.jar
    2011-04-08 17:20:30.843 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: JavaAction method=loadSchedulerData
    2011-04-08 17:20:30.875 INCIDENT_ERROR rcu: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: Failed to execute method: Excepton:
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.sysman.assistants.rcu.backend.action.JavaAction.perform(JavaAction.java:328)
         at oracle.sysman.assistants.rcu.backend.task.AbstractCompTask.execute(AbstractCompTask.java:243)
         at oracle.sysman.assistants.rcu.backend.task.ActualTask.run(TaskRunner.java:306)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NullPointerException
         at oracle.iam.scheduler.seed.SeedSchedulerData.startSeeding(SeedSchedulerData.java:516)
         at oracle.iam.scheduler.seed.SeedSchedulerData.loadSchedulerData(SeedSchedulerData.java:107)
         ... 8 more
    2011-04-08 17:20:30.984 ERROR rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: RCU Operation Failed
    oracle.sysman.assistants.common.task.TaskExecutionException: RCU-6135:Error while trying to execute Java action.
         at oracle.sysman.assistants.rcu.backend.task.AbstractCompTask.execute(AbstractCompTask.java:300)
         at oracle.sysman.assistants.rcu.backend.task.ActualTask.run(TaskRunner.java:306)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.sysman.assistants.common.task.ActionFailedException: RCU-6135:Error while trying to execute Java action.
         at oracle.sysman.assistants.rcu.backend.action.JavaAction.perform(JavaAction.java:350)
         at oracle.sysman.assistants.rcu.backend.task.AbstractCompTask.execute(AbstractCompTask.java:243)
         ... 2 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.sysman.assistants.rcu.backend.action.JavaAction.perform(JavaAction.java:328)
         ... 3 more
    Caused by: java.lang.NullPointerException
         at oracle.iam.scheduler.seed.SeedSchedulerData.startSeeding(SeedSchedulerData.java:516)
         at oracle.iam.scheduler.seed.SeedSchedulerData.loadSchedulerData(SeedSchedulerData.java:107)
         ... 8 more
    2011-04-08 17:20:30.984 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: Executing Task: Execute post create operations
    2011-04-08 17:20:30.984 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.CustomCompManager::getActionList: CustomCompManager.getActionList: CUSTOM_COMP_POSTLOAD_CLEANUP
    2011-04-08 17:20:30.984 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: Execution time for Execute post create operations : 0 milliseconds
    2011-04-08 18:32:57.031 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.RCUModel::executeTasks: Failed to write checkpoint at:Z:\Oracle\fusion\3\ofm_rcu_win32_11.1.1.3.3_disk1_1of1\rcuHome\/rcu/log\RCUCheckpointObj
    2011-04-08 18:32:57.031 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.RCUModel::executeTasks: Writing checkpoint at:C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\\logdir.2011-04-08_17-13\RCUCheckpointObj
    2011-04-08 18:32:57.046 NOTIFICATION rcu: oracle.sysman.assistants.rcu.ui.InteractiveRCUModel::showCompletionMessage: Repository Creation Utility: Create - Completion Summary
    Database details:
    Host Name               : sso
    Port                    : 1521
    Service Name               : RED
    Connected As               : sys
    Prefix for (prefixable) Schema Owners : DEV2
    RCU Logfile               : C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\rcu.log
    RCU Checkpoint Object               : C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\\logdir.2011-04-08_17-13\RCUCheckpointObj
    Component schemas created:
    Component               Status     Logfile          
    Metadata Services          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\mds.log
    Audit Services          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\iau.log
    Oracle Identity Manager          Failed     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\oim.log
    Oracle Access Manager          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\oam.log
    Oracle Adaptive Access Manager          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\oaam.log
    Oracle Adaptive Access Manager(Partition Support)          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\oaam_partn.log
    Authorization Policy Manager          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\apm.log
    SOA Infrastructure          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\soainfra.log
    User Messaging Service          Success     C:\Documents and Settings\Administrator\Local Settings\Temp\1\logdir.2011-04-08_17-13\orasdpm.log
    I've searched through the OTN and Internet but did not found any solution.
    Please help me.
    Any advises will be appreciated.

    I've tried to run RCU 11.1.1.3.3 on Ubuntu 32-bit and OIM schema creation failed again but with another error RCU-1636 Failed to start PL/SQL engine.
    After that I found RCU 11.1.1.4, downladed it and this version created all schemas successfully.
    Hope all other components will be ok with new version of RCU

  • PAS BI Connector Import Schema Error

    While importing a BW query from though Import Schema, Following error appears
    Error -  'out1.1' is null or not an object
    Line:67
    Char:3
    Error:  'out1.1' is null or not an object
    code:0
    I have deleted all the entries from PAS and tried it again. Still, the same error.

    Hi Bob,
    I am choosing an existing PAS model.
    BW query was attached to this model. I made some changes in variables and dimensions of query, Deleted the query from PAS and tried to import it again. This time the error starts appearing.
    I am exactly at    "PAS/BI Connector - Import Schema"
    I click "Import" and just after the Command Trace executes, the error message "out1.1 is null or not an object" appears above the "Set TIme Consolidation -- Webpage Dialoge". So error happens after Command Trace.
    Details -
    SSM 7.0 SP 8 HF 5
    View Import Trace
    Document BICTRACE_SCHEMA_XXXXXX;EXTERNAL Copied to BICTRC;XXXXXXBICDEFAULT
    SCHEMA
    IMP DIM 'XXXXXXXX' FORCE HIER DEFAULT ... CRC_REPORTING_OBJECT
    All 33 Members of CRC_REPORTING_OBJECT;XXXXXX Selected
    CHECKPOINT UPDATE
    IMP TIME CHARACTERISTIC 'XXXXXXXX' FORCE
    CHECKPOINT UPDATE
    IMP VAR '[Measures].[XXXXXXXXXXXXXXXX]' FORCE ... XXXXXX
    CRE MONTHLY VAR 'XXXXXX' LABEL 'XXXXXX' BY CRC_REPORTING_OBJECT,XXXXXXXX BYTES 8 FROM 'BP1' PREFIX 'XXXXXXXXXXXXXXXX' NOCHECKMATCH SHOWCREATED
    ^
    Expected Dimension
    CHE FRE
    IMP VAR '[Measures].[4DQ1L6UVCFXTH3P3K59AIVT1A]' FORCE ... XXXXXXXX
    CRE MONTHLY VAR XXXXXX' LABEL 'XXXXXXX' BY CRC_REPORTING_OBJECT,XXXXXXXX BYTES 8 FROM 'BP1' PREFIX XXXXXXXXXXXXXXXXX' NOCHECKMATCH SHOWCREATED
    ^
    Expected Dimension
    CHE FRE
    IMP VAR '[Measures].[4H8M7DWMEQGMGW5TGXYQ665DQ]' FORCE ... XXXXXXXX
    CRE MONTHLY VAR XXXXXXXX' LABEL 'XXXXXXXX' BY CRC_REPORTING_OBJECT,XXXXXXXX BYTES 8 FROM 'BP1' PREFIX XXXXXXXXXXXXXXXX' NOCHECKMATCH SHOWCREATED
    ^
    Expected Dimension
    CHE FRE
    IMP SAP VAR FORCE
    CHECKPOINT UPDATE
    END
    OUTPUT LASTDATE
    EXH MON PER LATEST '%D %M %Y'
    30 Apr 2010
    OUTPUT OFF
    OUTPUT IMPORT_SCHEMA_HISTORY APPEND
    ECHO 05 Apr XXXXXXXXXXXXXXXXXXXXXXXX
    05 Apr 2010-XXXXXXXXXXXXXXXXXXXXXXXX
    OUTPUT OFF

  • HL7 schema modification error with imported schema namespace

    I have created a variant of one of the out of the box HL7 schemas.  The changes were made to the related Segments schema.  I have a custom namespace identified on both the "master" schema and one on the modified schema which is being
    imported into the "master".  I have verified that the namespace of the imported schema matches the namespace identified in the import statement of the master schema.  However, I am getting the following error and I'm not sure how to proceed.
    There was a failure executing the receive pipeline: "MyProject, MyProject.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=318a75bd6cda7207" Source: "BTAHL7 2.X Disassembler" Receive Port: "rp_ReceiveHL7" URI: "10.26.146.39:11001"
    Reason: The namespace attribute 'http://MyProject/2XHL7/MDM/Segments_23' of an import should be the same value as the targetNamespace 'http://microsoft.com/HealthCare/HL7/2X/2.3/Segments' of the imported schema. 

    Indeed, however, the namespace of the import is same as the value of the imported schema, but the namespace of neither schema is http://microsoft.com/HealthCare/HL7/2X/2.3/Segments,
    since I changed it when I made the modification.  That namespace does not exist in my project, nor does it exist locally, so i'm not sure where this error message is trying to lead me.

  • Error in import schema

    I tried to import and remap a schema to new one. I have done these steps. almost there, but failed.
    Thanks.
    1. create a new schema
         create user hr_1 identified by hr_1;
         CREATE OR REPLACE DIRECTORY test_dir AS 'C:\oracle\backup';
         GRANT READ, WRITE ON DIRECTORY test_dir TO hr_1;
         ALTER USER hr_1 default tablespace USERS TEMPORARY TABLESPACE temp quota unlimited on USERS
      2. permission
         Grant create session to hr_1 ;
    Grant create table to hr_1 ;
    Grant create view to hr_1 ;
    Grant create trigger to hr_1 ;
    Grant create procedure to hr_1 ;
    Grant create sequence to hr_1 ;
    grant create synonym to hr_1 ;
      3.   impdp hr_1/hr_1@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.logThe error message is
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "HR_1"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "HR_1"."SYS_IMPORT_FULL_01":  hr_1/********@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.log;
    Processing object type SCHEMA_EXPORT/USER
    ORA-39083: Object type USER failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    CREATE USER "HR_1" IDENTIFIED BY VALUES 'S:4EFA7CA4D96DA9C229585F32BC0A3D31063FB79B8D1E51B6F77913B7B335;4C6D73C3E8B0F0DA' DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE
    "TEMP"
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE DATABASE LINK TO "HR_1"
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE SEQUENCE TO "HR_1"

    806540 wrote:
    I tried to import and remap a schema to new one. I have done these steps. almost there, but failed.
    Thanks.
    1. create a new schema
         create user hr_1 identified by hr_1;
         CREATE OR REPLACE DIRECTORY test_dir AS 'C:\oracle\backup';
         GRANT READ, WRITE ON DIRECTORY test_dir TO hr_1;
         ALTER USER hr_1 default tablespace USERS TEMPORARY TABLESPACE temp quota unlimited on USERS
    2. permission
         Grant create session to hr_1 ;
    Grant create table to hr_1 ;
    Grant create view to hr_1 ;
    Grant create trigger to hr_1 ;
    Grant create procedure to hr_1 ;
    Grant create sequence to hr_1 ;
    grant create synonym to hr_1 ;
    3.   impdp hr_1/hr_1@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.logThe error message is
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "HR_1"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "HR_1"."SYS_IMPORT_FULL_01":  hr_1/********@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.log;
    Processing object type SCHEMA_EXPORT/USER
    ORA-39083: Object type USER failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    CREATE USER "HR_1" IDENTIFIED BY VALUES 'S:4EFA7CA4D96DA9C229585F32BC0A3D31063FB79B8D1E51B6F77913B7B335;4C6D73C3E8B0F0DA' DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE
    "TEMP"
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE DATABASE LINK TO "HR_1"
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE SEQUENCE TO "HR_1"
    Hello,
    Why can't you use using SYSTEM user?
    Also make sure you have Either you have IMP_FULL_DATABASE (or) DBA role & then retry

  • Can't import XML schema with ref to external namespace

    In TopLink 10.1.3 Dev Preview 3 (build 041116), I have 2 simple schema files. One defines an element as a ref to an element in the other schema, so the ref points to an element in an external namespace. TopLink won't import this schema.
    First schema, imports fine:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema
       xmlns:xs="http://www.w3.org/2001/XMLSchema"
       targetNamespace="http://www.oracle.com/employee"
       xmlns="http://www.oracle.com/employee"
       elementFormDefault="qualified"
       attributeFormDefault="unqualified">
         <xs:element name="employee">
           <xs:complexType>
             <xs:sequence>
                    <xs:element name="name" type="xs:string"/>
             </xs:sequence>
           </xs:complexType>
         </xs:element>
    </xs:schema>
    Second schema, fails import with "ERROR: null. Please check to ensure the document conforms to the XML Schema specification and try again":
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema
       xmlns:xs="http://www.w3.org/2001/XMLSchema"
       targetNamespace="http://www.oracle.com/department"
       xmlns="http://www.oracle.com/department"
       xmlns:employee="http://www.oracle.com/employee"
       elementFormDefault="qualified"
       attributeFormDefault="unqualified">
       <xs:import
         namespace="http://www.oracle.com/employee"
             schemaLocation="employee.xsd"/>
       <xs:element name="department">
         <xs:complexType>
           <xs:sequence>
             <xs:element ref="employee:employee"         maxOccurs="unbounded"/>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
    </xs:schema>
    Both schemas are valid according to the W3C schema validation checker at http://www.w3.org/2001/03/webdata/xsv.
    I can work around the issue by putting the employee definitions into the department schema file so that all elements are in the same namespace. But I would like the schemas to be in separate files for better modularity and maintainability.
    Am I doing something wrong? I would really like to be able to use references to external namespaces in my element definitions.
    Thanks,
    Dave

    Hello David,
    Apologies, but this is a bug in DP3 with respect to references to elements in imported namespaces. This has been fixed in current code, but until you get that, there are a couple ways to work around it:
    ==========================================================
    1) Use an include rather than an import.
    department.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema
        targetNamespace="http://www.oracle.com/department"
        xmlns="http://www.oracle.com/department"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified">
       <xs:include schemaLocation="employee.xsd"/>
       <xs:element name="department">
          <xs:complexType>
             <xs:sequence>
                <xs:element ref="employee" maxOccurs="unbounded"/>
             </xs:sequence>
          </xs:complexType>
       </xs:element>
    </xs:schema>employee.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
        targetNamespace="http://www.oracle.com/department"
        xmlns="http://www.oracle.com/department"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified">
       <xs:element name="employee">
          <xs:complexType>
             <xs:sequence>
                <xs:element name="name" type="xs:string"/>
             </xs:sequence>
          </xs:complexType>
       </xs:element>
    </xs:schema>You should only have to import the parent schema (i.e. department.xsd), as the included document will automatically be built in. Note that this works for imports as well, provided that there aren't nasty bugs blocking the process.
    ==========================================================
    2. Build everything into the same document
    department.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema
        targetNamespace="http://www.oracle.com/department"
        xmlns="http://www.oracle.com/department"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified">
       <xs:element name="department">
          <xs:complexType>
             <xs:sequence>
                <xs:element ref="employee" maxOccurs="unbounded"/>
             </xs:sequence>
          </xs:complexType>
       </xs:element>
       <xs:element name="employee">
          <xs:complexType>
             <xs:sequence>
                <xs:element name="name" type="xs:string"/>
             </xs:sequence>
          </xs:complexType>
       </xs:element>
    </xs:schema>Obviously, this one won't work quite as well in some cases.
    ==========================================================
    Until you can get to the latest code, I hope this helps some.
    - Paul

  • Error while import schema in HANA DB

    Hi...
    I am trying to perform an export-import of a HANA DB user instance at schema level including all objects (in my case tables and synonyms) and data.
    Export and Import works very well except importing a schema which contains a synonym referred to other existing schema .
    Here is a test case
    - Schema A with a Table and Schema B to contain a synonym for schema A's table.
    - Exported both schemas to CSV which is done successfully and everything looked ok in export location.
    - Imported Schema A and then Schema B with the following command.
    Command:
    IMPORT "<bkup_schema>"."*" FROM '<bkp_location>' WITH RENAME SCHEMA <bkup_schema> TO <brand_new_schema>;
    The schema A (with table) imported fine.  Schema B (with synonym) gives the below error :
    "SAP DBTech JDBC: [2048]: column store error: table import failed:  [2003] An index already exists with the same name "
    When trying to use "REPLACE" clause in the command the error changes as below:
    SAP DBTech JDBC: [2048]: column store error: table import failed:  [30117] Binary import failed (cannot execute drop statement)
    Has anybody faced this type of error before??

    Folks, I am running into the same issue. What I figure out was the following:
    1) I turn off the autocommit
    2) I run the import for the first time
    import "<SCHEMA_NAME>"."*" as binary from '<location>' with replace;
    rollback;
    3) I get the error as described
    SAP DBTech JDBC: [2048]: column store error: table import failed:  [30117] Binary import failed (cannot execute drop statement)
    4) I run this import once again and commit and surprisingly the error is gone and the import is successful.
    import "<SCHEMA_NAME>"."*" as binary from '<location>' with replace;
    commit;

Maybe you are looking for