Error in DBMS_PROPAGATION_ADM.CREATE_PROPAGATION in Oracle 8i

Hi,
I need to propagate message from queue in Oracle 8i to queue in Oracle 9i.
From Oracle 9i, I am able to propagate message by creating subscriber and creating propagation by
DBMS_PROPAGATION_ADM.create_propagation.
I am using same steps to propagate message from queue in Oracle 8i to queue in Oracle 9i.
However, Following code is giving error :
BEGIN
DBMS_PROPAGATION_ADM.create_propagation(
'prop_name',
'queue_src',
'queue_dest',
'TEST_DB_LINK');
END;
error =
ORA-04068: existing state of packages has been discarded.
ORA-04063: package body "SYS.DBMS_PROPAGATION_ADM" has errors
ORA-06508:PL/SQL: could not find program unit being called
Your thoughts are appreciated.
Thanks,
Shailesh

In case anyone comes across this thread and wonders, DBMS_PROPAGATION_ADM is a 9i feature, not available with 8i
(This thread is continued elsewhere see Re: DBMS_PROPAGATION_ADM.CREATE_PROPAGATION not available in Oracle 8i

Similar Messages

  • DBMS_PROPAGATION_ADM.CREATE_PROPAGATION not available in Oracle 8i

    Hi,
    I need to propagate message from queue in Oracle 8i to queue in Oracle 9i.
    From Oracle 9i, I am able to propagate message by creating subscriber and creating propagation by
    DBMS_PROPAGATION_ADM.create_propagation.
    I am using same steps to propagate message from queue in Oracle 8i to queue in Oracle 9i.
    However, DBMS_PROPAGATION_ADM.create_propagation is not available in Oracle 8i.
    Is there any alternate way of propagating message from Oracle 8i ?
    Thanks,
    Shailesh

    create a PL/SQL function in your Oracle8 database that can dequeue the message from your Oracle8 queue; this function will call DBMS_AQ.DEQUEUE to read the message object. Lets call it DEQUEUE8;
    In the function, break out the object into its members (the individual scalar elements of the object type) and return those as OUT parameters. Use the function return value to tell you success or failure (eg timeout).
    Now, from Oracle 9, call that procedure remotely across a database link:
    declare
      ... variables
    begin
      -- loop for ever (or at least until you get a stop signal of some type)
       while 1=1 loop
         result := dequeue8@orcl8(p1, p2, p3, ...);
         if result < 0 then
          ... report error
         else
            ... pack the values p1,....p3, ... into your Oracle9 payload object, then
            DBMS_AQ.ENQUEUE(...);
         end if;
      end loop;
    end;I'll leave it to you to do the hard work!
    HTH
    Regards Nigel

  • Error while using P2V in Oracle VM 2.2 version

    Error while using P2V in Oracle VM 2.2 version
    I tried using this option by using the steps given on one link but it didnt worked...
    Error:
    code 404, message No permission to list directory.
    I ve tried giving full permissions on for /OVS on Server but invain.
    Can U pls help me...
    Thanks in advance.
    Edited by: user10310678 on Sep 16, 2009 3:32 AM

    user10310678 wrote:
    I am using beta version. Oracle VM Manager 2.2.0If you have a beta version of 2.2, then you should be an Oracle employee. Please ask this question on an internal mailing list. If you are not an Oracle employee, please ask the employee that gave you this beta. As this is a beta, some functionality may not be operational yet, so I can't answer why this particular feature seems not to work.

  • Error in starting the service Oracle CSService not found

    Hi all,
    i am trying to install Oracle Enterprise manager grid control,
    i am getting the following error message
    "error in starting the service Oracle CSService not found"
    when i checked in the "services.msc" the Oracle CSService is not started, so i tried to start the service, but its not starting and giving the error message as "error 3 system cannot find the path specified"
    then i checked in the service properties, and the path is pointing to a different directory,
    now i want to change this path to the correct oracle bin directory.
    any views how to cnage/update this path in the services.msc, for "Oracle CSService"
    Thanks alot.

    Hi
    i have got the answer for this question, i updated the registry with the correct file path, and then closed the registry, the services.msc file is automatically updated with the correct path
    and then started the CSService, then went to the OEM setup i clicked Retry buton, then it went through.
    Thanks to all the viewers.

  • I am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found

    i am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found.

    "command not found" means ... there is no such thing.
    Has the .rpm been installed?
    http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#XEINL122

  • Error in writing to file - Oracle

    Dear All,
    We have to upgrade Oracle from 10.2.0.2 to 11.2.0.2. For this we are applying patches till 10.2.0.4. OS is AIX 6.1.
    Before proceeding I have stopped SAP, DB, Listerner and emctl also.
    But after starting the patches we found the msg that, Error in writing to file 'oracle/SID/102_64/jdk/bin/libdbgmalloc.a'.
    [/oracle/SID/102_64/jdk/jre/bin/libdbgmalloc.a(Cannot open or remove a file containing a running program.)]
    Click 'Help' for more information.
    Click 'Retry' to try again.
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop installation.
    We are in the middle of installation where deinstallation has already passed. Please help us in fixing this issue. We tried ps -ef | grep libdbgmalloc.a to check the running status but didnt find that.
    Thanks,
    Rableen

    Hi Rableen,
    You can go ahead with the solution provided above. There would be no impact on system as we have done the same on our whole landscape and did not encounter any issue after multiple round of testings.
    This happens because semaphore which uses jdk library files at OS level. You would not be able to locate any process related to that.
    Once you rename libzip.a to libzip.a_old and click on retry, another file libzip.a of newer timestamp will be put by upgrade tool.
    hostname:orasid 7> ls -rtl|grep libzip.a
    -rwxr-xr-x    1 orasid   dba          109588 20 Aug 2005  libzip.a_old
    -rwxr-xr-x    1 orasid   dba          109803 21 Apr 2008  libzip.a
    hostname:orasid 7> pwd
    /oracle/SID/102_64/jdk/jre/bin
    hostname:orasid 7>
    Nothing to worry after renaming as upgrade tool will put a new file of new date at the same place.
    Also as you are going to upgrade 11G, directory 102_64 will not be used at all after 11G upgrade. A new directory structure will be created as /oracle/SID/11202.
    Cheers !!!
    Ashish

  • Error when creating  connection to oracle db using Designer

    Hi guys,
    Iu2019m trying to create a new connection to an oracledb but keep getting the error u201Cdbd_oci file, specified procedure could not be foundu201D.
    Following is the installed software;
    u2022     Oracle 10g
    u2022     Oracle client 10g running on my desktop
    u2022     Edge BI series ver 3.1 with data integration
    u2022     Desktop running Windows 7 professional
    I have defined a DSN entry that connects to the oracle DB and it works fine.
    Kindly help

    Hallo Seb
    This is all quite strange, I did uninstall the edge client earlier and re-installed it, hence my edge client installtion is after the oracle client installation.  The environment path have the correct location for oracle, yet I get the error message.
    However, my oracle client installation is for Windows NT though my laptop is running Windows 7 professional.  The Oracle application runs perfectly well despite having an NT installation.
    Any ideas?
    Appreciate your help.
    Regards

  • Error occured during creation of oracle snapshot

    Dear All,
    I am getting error messange in my SAP Inbox in t.code SBWP.
    In SBWP, the nessage text is as follow.
    =============================
    Error occured during creation of oracle snapshot (Creation aborted)
    (Log see also transaction SLG1, Object ORASNAP, Subobject ORASNAPCR)
    Oracle snapshot creation program aborted
    Error while copying from oracle view to SAP table
    Oracle view SAP$KCBFWAIT
    SAP table ORA_SAPKCBFWAIT
    Return code (ORA-....) 942
    You tried to work with the name of a table or view that does not exist in the database
    The table does not exist on the database. A table name or view name was used that does not exist on                           the database.
    ===============================
    I also check in T.Code SLG1, but i am not getting the reason for this error.
    Regards,
    Nisit

    Hi,
    Check each of the following :
    the spelling of the table or view name.
    that a view is not specified where a table is required.
    that an existing table or view name exists.
    Contact the database administrator if the table needs to be created or if user or application privileges are required to access the table.
    Also, if attempting to access a table or view in another schema, make certain the correct schema is referenced and that access to the object is granted.
    Regards
    Krishna

  • 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

  • [HELP] ORA-01990 Error opening password file '/home/oracle/OraHome1/dbs/ora

    Dear All,
    I have changed the PWD file on oracle 9.2.04 under linux redhat advance server 2.1. but when i start to open database by issuing dbstart, i get
    ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2 : no such file or directory
    additional information: 3
    How to solve the problems?
    thanks and regard
    ER

    Hai all...
    I did it all..
    but still I got
    ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2 : no such file or directory
    additional information: 3
    Help me...
    Thanks
    regard
    ER

  • Error in Installing RCU for Oracle Webcenter Content Imaging

    Hi,
    I am comming across this error while installing RCU for Oracle Webcenter Imaging with Mircosoft SQL 2005 as the backend database. I am pasting the IPM.log file below which shows the error during the installation. Please help me from this.
    JDBC SQLException - ErrorCode: 102SQLState:HY000 Message: [FMWGEN][SQLServer JDBC Driver][SQLServer]Incorrect syntax near 'Rem'.
    Error encountered executing SQL statement  FileName: 'D:\Oracle\middleware\RepositoryCreationUtility\rcuHome\\rcu\integration\\ipm\sql\createschema_ipm_sqlserver.sql' LineNumber: '18'
    SQL Statement: [execute as login = '$(SCHEMA_USER)'
    Rem Copyright (c) 2007, 2013, Oracle and/or its affiliates.
    Rem All rights reserved.
    CREATE TABLE DEFINITION (DEFINITION_ID NUMERIC(19) NOT NULL, DEFINITION_VERSION NUMERIC(19) NOT NULL, DEFINITION_TYPE $(RCU_VARCHAR)(16) NULL, DESCRIPTION $(RCU_VARCHAR)(1000) NULL, NAME $(RCU_VARCHAR)(200) NULL, PRIMARY KEY (DEFINITION_ID, DEFINITION_VERSION));
    CREATE TABLE DEFINITION_SECURITY (RID NUMERIC(19) NOT NULL, GUID $(RCU_VARCHAR)(255) NULL, DEFINITION_ID NUMERIC(19) NOT NULL, NAME $(RCU_VARCHAR)(255) NULL, SECURITYMEMBER_TYPE $(RCU_VARCHAR)(8) NULL, DEFINITION_VERSION NUMERIC(19) NOT NULL, CAN_DELETE SMALLINT NULL, CAN_GRANTACCESS SMALLINT NULL, CAN_MANAGE SMALLINT NULL, CAN_MODIFY SMALLINT NULL, CAN_VIEW SMALLINT NULL, PRIMARY KEY (RID, DEFINITION_ID, DEFINITION_VERSION));
    CREATE TABLE AUDIT_HISTORY (AUDITID NUMERIC(19) NOT NULL, AUDIT_DATE DATETIME NULL, PARAM1 $(RCU_VARCHAR)(255) NULL, PARAM2 $(RCU_VARCHAR)(255) NULL, SUBJECTID NUMERIC(19) NULL, AUDIT_TYPE $(RCU_VARCHAR)(32) NULL, USERNAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (AUDITID));
    CREATE TABLE APP_PROPERTIES (FASTCHECKIN BIT default 0 NULL, FULLTEXTSEARCH BIT default 0 NULL, APP_ID NUMERIC(19) NOT NULL, NEXTFIELDID NUMERIC(19) NULL, APP_VERSION NUMERIC(19) NOT NULL, REPOSITORY_ID NUMERIC(19) NULL, REPOSITORY_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APP_ID, APP_VERSION));
    CREATE TABLE APP_FIELDDEFINITION (FIELD_ID NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NOT NULL, INDEXED BIT default 0 NULL, LENGTH INTEGER NULL, NAME $(RCU_VARCHAR)(50) NULL, REQUIRED BIT default 0 NULL, SCALE INTEGER NULL, FIELD_TYPE $(RCU_VARCHAR)(8) NULL, APP_VERSION NUMERIC(19) NOT NULL, DEFAULTVALUE_TYPE $(RCU_VARCHAR)(255) NULL, DEFAULTVALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (FIELD_ID, APP_ID, APP_VERSION));
    CREATE TABLE APP_PICKLIST (PICKLIST_ID NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NOT NULL, FIELD_ID NUMERIC(19) NOT NULL, APP_VERSION NUMERIC(19) NOT NULL, ITEMVALUE_TYPE $(RCU_VARCHAR)(255) NULL, ITEMVALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (PICKLIST_ID, APP_ID, FIELD_ID, APP_VERSION));
    CREATE TABLE APP_LIFECYCLEPOLICY (APP_ID NUMERIC(19) NOT NULL, RETENTIONPOLICY $(RCU_VARCHAR)(255) NULL, VOLUME_NAME $(RCU_VARCHAR)(200) NULL, APP_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (APP_ID, APP_VERSION));
    CREATE TABLE APP_BPELCONFIG (COMPOSITE $(RCU_VARCHAR)(255) NULL, ENABLED BIT default 0 NULL, APP_ID NUMERIC(19) NOT NULL, SERVICE_OPERATION $(RCU_VARCHAR)(255) NULL, SERVICE $(RCU_VARCHAR)(255) NULL, APP_VERSION NUMERIC(19) NOT NULL, CONNECTION_ID NUMERIC(19) NULL, CONNECTION_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APP_ID, APP_VERSION));
    CREATE TABLE APP_BPELPAYLOADITEM (PAYLOAD_KEY $(RCU_VARCHAR)(255) NOT NULL, APP_ID NUMERIC(19) NOT NULL, MAPPINGFUNCTION $(RCU_VARCHAR)(32) NULL, PAYLOAD_VALUE $(RCU_VARCHAR)(255) NULL, APP_VERSION NUMERIC(19) NOT NULL, XMLTYPE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (PAYLOAD_KEY, APP_ID, APP_VERSION));
    CREATE TABLE APP_STORAGESTAGE (SEQNUM NUMERIC(19) NOT NULL, DURATION INTEGER NULL, DURATIONUNIT $(RCU_VARCHAR)(8) NULL, APP_ID NUMERIC(19) NOT NULL, INDEFINITE BIT default 0 NULL, APP_VERSION NUMERIC(19) NOT NULL, VOLUME_NAME $(RCU_VARCHAR)(200) NULL, PRIMARY KEY (SEQNUM, APP_ID, APP_VERSION));
    CREATE TABLE DOCUMENT_SECURITY (RID NUMERIC(19) NOT NULL, GUID $(RCU_VARCHAR)(255) NULL, APP_ID NUMERIC(19) NOT NULL, NAME $(RCU_VARCHAR)(255) NULL, SECURITYMEMBER_TYPE $(RCU_VARCHAR)(8) NULL, APP_VERSION NUMERIC(19) NOT NULL, CAN_ANNOTHIDDEN SMALLINT NULL, CAN_ANNOTRESTRICTED SMALLINT NULL, CAN_ANNOTSTANDARD SMALLINT NULL, CAN_DELETE SMALLINT NULL, CAN_GRANTACCESS SMALLINT NULL, CAN_LOCKADMINISTRATOR SMALLINT NULL, CAN_VIEW SMALLINT NULL, CAN_WRITE SMALLINT NULL, PRIMARY KEY (RID, APP_ID, APP_VERSION));
    CREATE TABLE INPUT_PROPERTIES (INPUT_ID NUMERIC(19) NOT NULL, ON_LINE BIT default 0 NULL, PRIORITY INTEGER NULL, INPUT_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_MAPPINGS (INPUT_ID NUMERIC(19) NOT NULL, FILEINPUTSECTION $(RCU_VARCHAR)(255) NULL, INPUT_VERSION NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_FIELDMAP (SEQNUM NUMERIC(19) NOT NULL, DATEFORMAT $(RCU_VARCHAR)(255) NULL, INPUT_ID NUMERIC(19) NOT NULL, INPUTSECTION $(RCU_VARCHAR)(255) NULL, USEDEFAULT BIT default 0 NULL, INPUT_VERSION NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (SEQNUM, INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_SOURCEPROPERTIES (DATASAMPLE $(RCU_VARCHAR)(255) NULL, DATASOURCE $(RCU_VARCHAR)(255) NULL, INPUT_ID NUMERIC(19) NOT NULL, INPUTSOURCE $(RCU_VARCHAR)(255) NULL, INPUT_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_SOURCESETTING (SETTING_KEY $(RCU_VARCHAR)(255) NOT NULL, INPUT_ID NUMERIC(19) NOT NULL, SETTING_VALUE $(RCU_VARCHAR)(255) NULL, INPUT_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (SETTING_KEY, INPUT_ID, INPUT_VERSION));
    CREATE TABLE SEARCH_PARAMETER (PARAMETER_ID NUMERIC(19) NOT NULL, DEFAULTOPERATOR INTEGER NULL, SEARCH_ID NUMERIC(19) NOT NULL, NAME $(RCU_VARCHAR)(255) NULL, OPERATORTEXT $(RCU_VARCHAR)(255) NULL, PICKLISTAPPLICATIONID NUMERIC(19) NULL, PICKLISTFIELDID NUMERIC(19) NULL, PROMPT $(RCU_VARCHAR)(255) NULL, READONLY BIT default 0 NULL, REQUIRED BIT default 0 NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, SEARCHVALUETYPE INTEGER NULL, FIELD_TYPE $(RCU_VARCHAR)(8) NULL, FIELD_VALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (PARAMETER_ID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_POSSIBLEOPERATOR (OPERATOR_ID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, OPERATOR INTEGER NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PARAMETER_ID NUMERIC(19) NULL, PRIMARY KEY (OPERATOR_ID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_RESULTCOLUMN (RESULT_COLUMN_ID NUMERIC(19) NOT NULL, COLUMNTITLE $(RCU_VARCHAR)(255) NULL, SEARCH_ID NUMERIC(19) NOT NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (RESULT_COLUMN_ID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_SELECTEDFIELD (SELECTEDFIELDID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, PERSISTEDAPPLICATIONID NUMERIC(19) NULL, PERSISTEDFIELDID NUMERIC(19) NULL, PROPERTY INTEGER NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, RESULT_COLUMN_ID NUMERIC(19) NULL, PRIMARY KEY (SELECTEDFIELDID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_PROPERTIES (SEARCHPROPERTIESID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, MAXROWS INTEGER NULL, ON_LINE BIT default 0 NULL, SEARCHINSTRUCTIONS $(RCU_VARCHAR)(1000) NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (SEARCHPROPERTIESID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_NODE (SEARCHNODEID NUMERIC(19) NOT NULL, DTYPE $(RCU_VARCHAR)(31) NULL, ALWAYSDISPLAYPARENTHESES BIT default 0 NULL, SEARCH_ID NUMERIC(19) NOT NULL, LEFTID NUMERIC(19) NULL, RIGHTID NUMERIC(19) NULL, SEARCHOPERATOR INTEGER NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PARAMETERNAME $(RCU_VARCHAR)(255) NULL, PROPERTY INTEGER NULL, FIELD_ID NUMERIC(19) NULL, FIELD_NAME $(RCU_VARCHAR)(255) NULL, SEARCHVALUETYPE INTEGER NULL, FIELD_TYPE $(RCU_VARCHAR)(8) NULL, FIELD_VALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (SEARCHNODEID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_APP_EXPR (APPLICATIONEXPRESSIONID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, ROOTID NUMERIC(19) NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APPLICATIONEXPRESSIONID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_APP_ITEM (APPITEMID NUMERIC(19) NOT NULL, FIELDDECIMAL BIT default 0 NULL, FIELDSCALE INTEGER NULL, SEARCH_ID NUMERIC(19) NOT NULL, REPOSITORYDOCUMENTID $(RCU_VARCHAR)(255) NULL, REPOSITORYFIELDID $(RCU_VARCHAR)(255) NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, APPLICATION_ID NUMERIC(19) NULL, APPLICATION_NAME $(RCU_VARCHAR)(255) NULL, FIELD_ID NUMERIC(19) NULL, FIELD_NAME $(RCU_VARCHAR)(255) NULL, SOURCE_ID NUMERIC(19) NULL, SOURCE_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APPITEMID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE PREFERENCES (CONTEXT $(RCU_VARCHAR)(255) NOT NULL, USERGUID $(RCU_VARCHAR)(255) NOT NULL, SETTING $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (CONTEXT, USERGUID));
    CREATE TABLE SYSTEM_SECURITY (SYSTEMAREA $(RCU_VARCHAR)(16) NOT NULL, RID NUMERIC(19) NOT NULL, GUID $(RCU_VARCHAR)(255) NULL, NAME $(RCU_VARCHAR)(255) NULL, SECURITYMEMBER_TYPE $(RCU_VARCHAR)(8) NULL, CAN_ADMINISTOR SMALLINT NULL, CAN_CREATE SMALLINT NULL, PRIMARY KEY (SYSTEMAREA, RID));
    CREATE TABLE BATCH (BATCHID NUMERIC(19) NOT NULL, CREATEDBYPROCESS $(RCU_VARCHAR)(255) NULL, CURRENTSTATE $(RCU_VARCHAR)(255) NULL, ENDTIME DATETIME NULL, FAILEDDOCCOUNT INTEGER NULL, SOURCENAME $(RCU_VARCHAR)(255) NULL, SOURCETIME DATETIME NULL, STARTTIME DATETIME NULL, SUCCESSFULDOCCOUNT INTEGER NULL, INPUT_ID NUMERIC(19) NULL, INPUT_NAME $(RCU_VARCHAR)(255) NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (BATCHID));
    CREATE TABLE TICKETS (TICKET_ID $(RCU_VARCHAR)(255) NOT NULL, EXPIRATION DATETIME NULL, SINGLEUSE BIT default 0 NULL, TICKETEXPIRES BIT default 0 NULL, PRIMARY KEY (TICKET_ID));
    CREATE TABLE TICKETPARAMETERS (ID INTEGER NOT NULL, PARAMETERNAME $(RCU_VARCHAR)(255) NULL, PARAMETERVALUE $(RCU_VARCHAR)(255) NULL, PARAM_TICKET_ID $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (ID));
    CREATE TABLE CONNECTION_PROPERTIES (CONNECTION_TYPE $(RCU_VARCHAR)(255) NULL, CONNECTION_ID NUMERIC(19) NOT NULL, CONNECTION_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (CONNECTION_ID, CONNECTION_VERSION));
    CREATE TABLE CONNECTION_DETAILS (DETAILKEY $(RCU_VARCHAR)(255) NOT NULL, DETAILVALUE $(RCU_VARCHAR)(255) NULL, CONNECTION_ID NUMERIC(19) NOT NULL, CONNECTION_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (DETAILKEY, CONNECTION_ID, CONNECTION_VERSION));
    CREATE TABLE REPOSITORY_APPCONTEXT (APP_ID NUMERIC(19) NOT NULL, PRIMARY KEY (APP_ID));
    CREATE TABLE REPOSITORY_APPDETAILS (DETAILKEY $(RCU_VARCHAR)(255) NOT NULL, APP_ID NUMERIC(19) NOT NULL, DETAILVALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (DETAILKEY, APP_ID));
    CREATE TABLE FILINGSTATE (ID INTEGER NOT NULL, BATCHID NUMERIC(19) NULL, DOCUMENTNUMBER NUMERIC(19) NULL, GOODDOCCOUNT NUMERIC(19) NULL, INPUTSOURCENAME $(RCU_VARCHAR)(255) NULL, JOBDATASOURCE $(RCU_VARCHAR)(255) NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, INPUT_ID NUMERIC(19) NULL, INPUT_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (ID));
    CREATE TABLE BPEL_FAULT_DATA (DOCID $(RCU_VARCHAR)(40) NOT NULL, APPID NUMERIC(19) NULL, BATCHID NUMERIC(19) NULL, FAULTDATE DATETIME NULL, FAULTMESSAGE $(RCU_VARCHAR)(1000) NULL, PRIMARY KEY (DOCID));
    ALTER TABLE DEFINITION_SECURITY ADD CONSTRAINT DFNTONSECURITYDFNTONID FOREIGN KEY (DEFINITION_ID, DEFINITION_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_PROPERTIES ADD CONSTRAINT APP_PROPERTIES_APP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_FIELDDEFINITION ADD CONSTRAINT PPFIELDDEFINITIONAPPID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_PICKLIST ADD CONSTRAINT APP_PICKLIST_FIELD_ID FOREIGN KEY (FIELD_ID, APP_ID, APP_VERSION) REFERENCES APP_FIELDDEFINITION (FIELD_ID, APP_ID, APP_VERSION);
    ALTER TABLE APP_LIFECYCLEPOLICY ADD CONSTRAINT PPLIFECYCLEPOLICYAPPID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_BPELCONFIG ADD CONSTRAINT APP_BPELCONFIG_APP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_BPELPAYLOADITEM ADD CONSTRAINT PPBPELPAYLOADITEMAPPID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES APP_BPELCONFIG (APP_ID, APP_VERSION);
    ALTER TABLE APP_STORAGESTAGE ADD CONSTRAINT APP_STORAGESTAGEAPP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES APP_LIFECYCLEPOLICY (APP_ID, APP_VERSION);
    ALTER TABLE DOCUMENT_SECURITY ADD CONSTRAINT DOCUMENTSECURITYAPP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_PROPERTIES ADD CONSTRAINT INPUTPROPERTIESINPUTID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_MAPPINGS ADD CONSTRAINT INPUT_MAPPINGSINPUT_ID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_FIELDMAP ADD CONSTRAINT INPUT_FIELDMAPINPUT_ID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES INPUT_MAPPINGS (INPUT_ID, INPUT_VERSION);
    ALTER TABLE INPUT_SOURCEPROPERTIES ADD CONSTRAINT NPTSURCEPROPERTIESNPTD FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_SOURCESETTING ADD CONSTRAINT NPTSOURCESETTINGNPUTID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES INPUT_SOURCEPROPERTIES (INPUT_ID, INPUT_VERSION);
    ALTER TABLE SEARCH_PARAMETER ADD CONSTRAINT SARCHPARAMETERSEARCHID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_POSSIBLEOPERATOR ADD CONSTRAINT SRCHPSSBLPERATORPRMTRD FOREIGN KEY (PARAMETER_ID, SEARCH_ID, SEARCH_VERSION) REFERENCES SEARCH_PARAMETER (PARAMETER_ID, SEARCH_ID, SEARCH_VERSION);
    ALTER TABLE SEARCH_RESULTCOLUMN ADD CONSTRAINT SRCHRESULTCOLUMNSRCHID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_SELECTEDFIELD ADD CONSTRAINT SRCHSLCTDFELDRSLTCLMND FOREIGN KEY (RESULT_COLUMN_ID, SEARCH_ID, SEARCH_VERSION) REFERENCES SEARCH_RESULTCOLUMN (RESULT_COLUMN_ID, SEARCH_ID, SEARCH_VERSION);
    ALTER TABLE SEARCH_PROPERTIES ADD CONSTRAINT SARCHPROPERTIESSARCHID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_NODE ADD CONSTRAINT SEARCH_NODE_SEARCH_ID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_APP_EXPR ADD CONSTRAINT SEARCHAPPEXPRSEARCH_ID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_APP_ITEM ADD CONSTRAINT SEARCHAPPITEMSEARCH_ID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE TICKETPARAMETERS ADD CONSTRAINT TCKTPRMETERSPRMTCKETID FOREIGN KEY (PARAM_TICKET_ID) REFERENCES TICKETS (TICKET_ID);
    ALTER TABLE CONNECTION_PROPERTIES ADD CONSTRAINT CNNCTNPRPERTIESCNNCTND FOREIGN KEY (CONNECTION_ID, CONNECTION_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE CONNECTION_DETAILS ADD CONSTRAINT CNNCTNDETAILSCNNCTONID FOREIGN KEY (CONNECTION_ID, CONNECTION_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE REPOSITORY_APPDETAILS ADD CONSTRAINT RPSITORYAPPDETAILSPPID FOREIGN KEY (APP_ID) REFERENCES REPOSITORY_APPCONTEXT (APP_ID);
    CREATE TABLE SEQUENCE (SEQ_NAME $(RCU_VARCHAR)(50) NOT NULL, SEQ_COUNT NUMERIC(28) NULL, PRIMARY KEY (SEQ_NAME));
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_SECURITY', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_BATCH', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_FILINGSTATE', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_NAMEID', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_GEN', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_TICKET_PARAM', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_AUDIT', 0);
    revert
    java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver][SQLServer]Incorrect syntax near 'Rem'.
    Thanks,
    Kumar G

    Hi,
    I just had this messages yesterday during my install.
    You have to update those 2 files:
    <RCU Home>\rcu\integration\ipm\sql\createtables_ipm_sqlserver.sql
    <RCU Home>\rcu\integration\ipm\sql\createuser_ipm_sqlserver.sql
    The first 2 lines begin with "Rem ..." which is not correct for SQL Server : I added "--" and it worked.
    Regards,
    Guénaël

  • Error while converting schema from oracle to SQL server

    Hello,
    I am getting following error while converting schema from oracle to SQL server using SSMA.
    I get Errors 1-3 while migrating procedures and error 4 while migrating a table.
    1- O2SS0050: Conversion of identifier 'SYSDATE' is not supported.
    2- O2SS0050: Conversion of identifier 'to_date(VARCHAR2, CHAR)' is not supported.
    3- O2SS0050: Conversion of identifier 'regexp_replace(VARCHAR2, CHAR)' is not supported.
    4- O2SS0486: <Primary key name> constraint is disabled in Oracle and cannot be converted because SQL Server does not support disabling of primary or unique constraint.
    Please suggest.
    Thanks.

    The exact statement in oracle side which causing this error (O2SS0050:
    Conversion of identifier 'to_date(VARCHAR2, CHAR)' is not supported.) is below:
    dStartDate:= to_date(sStartDate,'MON-YYYY');
    Statement causing error O2SS0050:
    Conversion of identifier 'regexp_replace(VARCHAR2, CHAR)' is not supported is below.
    nCount2:= length(regexp_replace(sDataRow,'[^,]'));
    So there is no statement which is using to_date(VARCHAR2,
    CHAR) and regexp_replace(VARCHAR2, CHAR) in as such. 'MON-YYYY'  and '[^,]'
    are CHAR values hence SSMA is unable to convert it from varchar2 to char.
    Regarding SYSDATE issue, you mean to put below code in target(SQL) side in SSMA ?
    dDate date := sysdate;
    Thanks.

  • XSU Problem:Error-- Cannot map Unicode to Oracle character

    Hi, I am using XSU to get the resultset from database(oracle 9.2.0.6.0) as XML.When I query data from some columns and get the XMLString, they give me error -"Cannot map Unicode to Oracle character". The database charset is "US7ASCII" .
    One column is storing Chinese with ''US7ASCII".When xmlString Result contianer
    the column,there is "oracle.xml.sql.OracleXMLSQLException: Cannot map Unicode to Oracle character".But If xmlString Result don't container that column,it run very good.
    The program container these libs: ojdbc14.jar,xmlparserv2.jar,xdb.jar,nls_charset12.jar,xsu12.jar.
    The program code:
    public class OracleXmlParse {
    public static void main(String[] args) {
    try{
    DriverManagerDataSource dataSource = new DriverManagerDataSource("oracle.jdbc.driver.OracleDriver",
                        "jdbc:oracle:thin:@168.1.1.136:1521:imis","ims","ims");
    String selectSQL = "select AREA_CODE,AREA_NAME,REGION_CODE,AREA_NAME_CN from CDM_AREA";
    OracleXMLQuery query = new OracleXMLQuery(conn,selectSQL);
    query.setEncoding("UTF-8");
    String str = query.getXMLString();
    System.out.println(str);
    conn.close();
    }catch(SQLException e){
                   e.printStackTrace();
    Exception:
    Exception in thread "main" oracle.xml.sql.OracleXMLSQLException: Cannot map Unicode to Oracle character.
         at oracle.xml.sql.core.OracleXMLConvert.getXML(OracleXMLConvert.java:1015)
         at oracle.xml.sql.query.OracleXMLQuery.getXMLString(OracleXMLQuery.java:267)
         at oracle.xml.sql.query.OracleXMLQuery.getXMLString(OracleXMLQuery.java:221)
         at oracle.xml.sql.query.OracleXMLQuery.getXMLString(OracleXMLQuery.java:198)
         at procedure.OracleXmlParse.main(OracleXmlParse.java:34)
    The column that store chinese is AREA_NAME_CN .When "selectSQL " is equal to "select AREA_CODE,AREA_NAME,REGION_CODE from CDM_AREA",the program is ok.
    Please help.
    Message was edited by:
    user542404
    Message was edited by:
    user542404

    So, What is the solution ? Is there something I can do in my code ? My program gives the exception and stops. I am not even interested to fetch the data, which are giving this error.

  • Errors in file /u01/app/oracle/admin/bdump/orcl_lgwr_413700.tr

    why i have this error?
    Errors in file /u01/app/oracle/admin/bdump/orcl_lgwr_413700.trc:
    ORA-00321: log 1 of thread 1, cannot update log file header
    ORA-00312: online log 1 thread 1: 'oradata/redo01a.log'
    give solution?

    would you please paste the result here for the following query
    SQL> select a.group#,a.thread#,a.sequence#,a.members,a.status,b.member
      2    from v$log a,v$logfile b
      3   where a.group# = b.group#
      4  /Khurram

  • Error when connecting to an Oracle Database

    Hi, I'm trying to connect to an oracle database by calling a javabean from a jsp page. When I try to connect however I get this error:
    java.lang.UnsatisfiedLinkError: C:\oracle\ora92\jdbc\lib\ocijdbc10.dll: The specified procedure could not be found
         java.lang.ClassLoader$NativeLibrary.load(Native Method)
         java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
         java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
         java.lang.Runtime.loadLibrary0(Runtime.java:822)
         java.lang.System.loadLibrary(System.java:992)
         oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:2963)
         oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:225)
         oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:348)
         oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:139)
         oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
         oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
         java.sql.DriverManager.getConnection(DriverManager.java:525)
         java.sql.DriverManager.getConnection(DriverManager.java:171)
    I am trying to connect to the database using OCI and its tns name. Also right now I'm just using the tomcat bundled in the netbeans ide.
    Anyone have any ideas on what's wrong?

    Why not use a type IV JDBC driver, available forfree download from Oracle? No
    need for any DLL then.The standard Oracle driver comes with "oci" and
    "thin" drivers.
    Thin driver is 100% java.
    oci driver uses the dlls.
    What version of Oracle are you using? I am guessing
    10?
    Have you got Oracle Client installed on this machine?
    (Stupid question I know)
    What URL connection string are you using?
    Does the "thin" driver work? ie url
    "jdbc:oracle:thin:@[IP_ADDRESS]:[PORT]:[SID]"
    Cheers,
    evnafetsThere's another advantage of the thin driver: you don't have to have the client installed or TNS names defined for it to work.
    %

Maybe you are looking for

  • Webutil is not working well in the browser

    hi everybody I have a problem in my Forms. First, I was doing Form and I wanted to add picture for item and I want the picture to be saved in database through pressing on button and a browser open and select the image to be saved in database. and if

  • Automatic payment programm f110

    ranankareddy APP  , why we need maintain the next payment date ,  tell me different senarios using next payment date

  • Unable to get dynamic interaction from PDF form

    Hello,   I am trying to hide a textfield when a certain radio button options selected but so far I am <b>only able</b> to get it to work in the preview window of Adobe Designer 7.0 in NWDS.   When I attempt to deploy the application, my interactive f

  • Questions about the sql developer 2.1

    first sorry for my poor english, I am very happy to see the sql developer 2.1.but here ,it has a very serious problem. usually, I used to saving some common sql statements into a sql file. and when need to do something , I just need to open the file

  • Where do I find the size of my Harddrive and how much is left?

    This is crazy, where do I find out how much space is left on my Hard drive? I have a MacAir 2010, I'm being notified that I have no space left on disk? I imagine this is the Start disk? I dunno? I click on "apple logo" in upper Left of the Air' I don