Error in Merge statement for Oracle 10gR2

Hi,
When I use the MERGE statement to copy data across a database link (from 10gR2 to 10gR2 database), if I have both an update and insert clause it works fine, but if I omit the insert clause and have just update on its own, I get error "ORA-02064: distributed operation not supported".
Can anyone help on this

This came up in a thread last week, the 10g versions of MERGE (without INSERT or with DELETE) did not appear to work over DB links.

Similar Messages

  • Instead of trigger is NOT firing for merge statements in Oracle 10gR2

    The trigger fires fine for a update statement, but not when I use a merge statement
    with an update clause. Instead I get the normal error for the view ( which is a union all view, and therefore not updatable.)
    The error is :-
    ORA-01733: virtual column not allowed here
    oracle release is 10.2.0.2 for AIX 64L
    Is this a known bug ?
    I've used a multi-table insert statement to work around the problem for inserts, but
    for updates, I'd really like to be able to use a merge statement instead of an update.
    Mark.

    This is my cut-down version :-
    In this case case I'm getting an :-
    ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.
    rather then the ora-01733 error I get in the real code ( which is an update from an involved
    XML expression - cast to a table form)
    create table a ( a int primary key , b char(30) ) ;
    create table b ( a int primary key , b char(30) ) ;
    create view vw_a as
    select *
    from a
    union all
    select *
    from b ;
    ALTER VIEW vw_a ADD (
    PRIMARY KEY
    (a) DISABLE);
    DROP TRIGGER TRG_IO_U_ALL_AB;
    CREATE OR REPLACE trigger TRG_IO_U_ALL_AB
    instead of update ON vw_a
    for each row
    begin
    update a targ
    set b = :new.b
    where targ.a = :new.a
    if SQL%ROWCOUNT = 0
    then
         update b targ
         set b      = :new.b
         where targ.a = :new.a
    end if ;
    end ;
    insert into a values (1,'one');
    insert into a values (2,'two');
    insert into a values (3,'three');
    insert into b values (4,'quatre');
    insert into b values (5,'cinq');
    insert into b values (6,'six');
    commit;
    create table c as select a + 3 as a, b from a ;
    commit;
    merge into vw_a targ
    using (select * from c ) src
    on ( targ.a = src.a )
    when matched
    then update
    set targ.b = src. b
    select * from vw_a ;
    rollback ;
    update vw_a b
    set b = ( select c.b from c where b.a = c.a )
    where exists ( select c.b from c where b.a = c.a ) ;
    select * from vw_a ;
    rollback ;

  • 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 when executing statement for table/stored proc.  : ORA-00911

    Hi All,
    I am posting IDOC->XI->JDBC, approx 5000 Idocs.
    But few messages are giving following error in XI-_SXMB_MONI
    Can any one guide me what is the cause of error? I check whole Idoc data I am not able to see bad character? can any once guide me what are the bad character in XML to post data in oracle? so that i can search in XML and how to avoide this error.
    "com.sap.aii.af.ra.ms.api.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'HRP1001' (structure 'INSERT_PAD34'): java.sql.SQLException: ORA-00911: invalid character"

    > I am talking about following IDOC.<ZRMD_A06> ->
    > <E1PLOGI SEGMENT="1">-> <E1PITYP SEGMENT="1"> ->
    > <E1PAD34 SEGMENT="1"> -><PROZT>0.00 #</PROZT>.
    > Can we remove this # during message mapping in XI??
    sure you can remove it using Replace function or by writing UDF.
    as I am seing # is last character..<b>so remove # with " " (single space) and then use the TRIM fucntion.</b>
    Thanks
    Farooq.
    *<b>Rewards points if you find it useful*</b>

  • Error when executing statement for table/stored proc

    Hi All,
          I am getting this error when executing IDOC to JDBC (Stored Procedure) Scenario.
         In my stored procedure I have three insert statements to insert rows in to 3 tables.
        This stored procedure is working fine for two insert statements i.e, 
             For this I have created data type for stored procedure with 10 elements and executed the scenario and was successfully running.
        when I added 3rd insert statement to stored procedure ie., when i added 5 more elements to the datatype (totally 15 elements) it starts giving the bellow error in Message Monitoring.
    <i><b>Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
    <i><b>Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
       Note:- I have run the stored procedure  with three insert statements in Sql Server, and also by calling an external program also, and was working fine.
    <i><b> Note : Is there any structure needs to be follow when working with IDOC to Stored procedure.</b></i>
    I am struck up with the error, can any body resolve this issue.
    Thanks in Advance,
    Murthy

    Hi narasimha,
                      This seems to be any error due to incorrect query formation.In your receiver jdbc channel set the parameter logSQLstatement = true.you can find this parameter in the advanced mode. Using this parameter you will be able to see the sql query which is generated at runtime in the audit log in RWB.
    Regards,
    Pragati

  • File to JDBC :Error when executing statement for table/stored proc.

    Hi,
    I am getting following error when i am trying to insert data into z-table using JDBC recr adapter.
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTEST' (structure 'STATEMENT'): java.sql.SQLException: <u>[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name '<b>ZTEST</b>'.</u>
    But the database table name 'ZTEST' exists in the system.
    XML structure:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
       <STATEMENT>
          <TEST action="INSERT">
             <table>ZTEST</table>
             <access>
                <ROLLNO>123</ROLLNO>
                <FIRSTNAME>ABC</FIRSTNAME>
                <LASTNAME>XYZ</LASTNAME>
             </access>
          </TEST>
       </STATEMENT>
    </ns0:MT_RECR>
    Regards,
    Srinivas

    Hi,
    I have changed my MT str but still getting the same error.Is it possible to insert/ update a z-table using JDBC adapter.
    XML str:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
       <STATEMENT>
          <ZTEST action="INSERT">
             <access>
                <ROLLNO>123</ROLLNO>
                <FIRSTNAME>abc</FIRSTNAME>
                <LASTNAME>XYZ</LASTNAME>
             </access>
          </ZTEST>
       </STATEMENT>
    </ns0:MT_RECR>
    Regards,
    Srinivas

  • Doubt Regarding Merge Statement in Oracle

    Hi,
    I have an SP which takes 3 parameters Lets say
    (in_empid, in_empname,in_age)
    here in_empid corresponds to the empid ie primary key for update/insert
    Now which of the approach will be better. Will there be problem in using Merge statements for updates/insert
    1. Approach 1
    Add one more flag in parameters in_action . Now if in_action = 'U' then write an update statement.If in_action='I' then write insert stmnt
    2. Approach 2
    write a merge stmnt as follows
    merge into employee e using
    ( select in_empid, in_empname,in_age from dual ) b
    on  ( b.in_empid = e.empid)
    WHEN MATCHED THEN
      UPDATE SET e.ENAME = in_empname,
                           e.age = in_age
    WHEN NOT MATCHED THEN
      INSERT
      VALUES (in_empid,in_empname,in_age) something like that
    Which would be preferred? I mean is there any restriction that merge can be used only to merge 2 tables?what are the drawbacks of using Merge?
    Regds,
    S

    Hi cd,
    Thanks for the reply.
    Actaully I was keeping the front-end code also in mind.
    If we click an update button, then they will have to manage a flag till the end to say that transaction was update. whereas when its an insert of new record, they have to maintain a falg till end to imply that the transaction was insert.
    I want to avoid this so that they need not maintain additional flag.
    Hence I was thinking of using MERGE statement.
    Will there be any problem in using merge for such scenarios?
    Regds,
    S

  • SQL*Loader-930: Error parsing insert statement for column

    we upload data on daily basis in application throug apps user and these table are invloved
    1. DEV_RA_INTERFACE_LINES_ALL(owner is a apps)
    2.RA_INTERFACE_LINES_ALL(owner is a AR)
    we do steps
    1 delete record from DEV_RA_INTERFACE_LINES_ALL table
    2 delete record from      RA_INTERFACE_LINES_ALL table
    3 load data using sql loader with apps user
    4 insert in RA_INTERFACE_LINES_ALL table
    we want to change user i mean these step do dataupload user not apps
    we give the proper rights to dataupload like select,delete and insert rights on these table to dataupload user but when i going to load data throug sql loader we receive error
    SQL*Loader-930: Error parsing insert statement for column APPS.DEV_RA_INTERFACE_
    LINES_ALL.ORIG_SYSTEM_BILL_ADDRESS_ID.
    ORA-00904: "F_ORIG_SYSTEM_BILL_ADDR_REF": invalid identifier
    and if i insert data through apps then done.

    make sure that u have no speces left
    between lines.
    give the path of control file path correctly.

  • SQL*Loader-929: Error parsing insert statement for table

    Hi,
    I get the following error with SQL*Loader:
    Table MYTABLE loaded from every logical record.
    Insert option in effect for this table: INSERT
    Column Name Position Len Term Encl Datatype
    IDE FIRST * ; CHARACTER
    SQL string for column : "mysequence.NEXTVAL"
    CSI_NBR 1:10 10 ; CHARACTER
    POLICY_NBR 11:22 12 ; CHARACTER
    CURRENCY_COD 23:25 3 ; CHARACTER
    POLICY_STAT 26:27 2 ; CHARACTER
    PRODUCT_COD 28:35 8 ; CHARACTER
    END_DAT 44:53 10 ; CHARACTER
    FISCAL_COD 83:83 1 ; CHARACTER
    TOT_VAL 92:112 21 ; CHARACTER
    SQL*Loader-929: Error parsing insert statement for table MYTABLE.
    ORA-01031: insufficient privileges
    I am positive that I can SELECT the sequence and INSERT into the table with the user invoking sql*loader.
    Where does that "ORA-01031" come from?
    Regards
    ...

    Options:
    1) you are wrong about privileges OR
    2) you have the privilege only when you connect via SQL*Plus (or whichever other tool you used to test the insert).
    Is it possible that during your test you enabled the role which granted you the INSERT privilege - and that SQL*Loader doesn't do this?
    Can you see the table in this list?
    select *
    from user_tab_privs_recd
    where table_name='MY_TABLE'
    and owner='table owner whoever';
    select *
    from user_role_privs;Any roles where DEFAULT_ROLE is not YES?
    HTH
    Regards Nigel

  • Error when executing statement for table/stored proc  DB2 - Data Truncation

    Hi,
      I have one call sp in XI with n parameters int and two parameters out.
       well, to implement the interface gives the following error
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SPSAPAR9' (structure 'Statement'): java.sql.SQLException: The number of parameter values set or registered does not match the number of parameters
    Thanks for your help
    Ximena
    Edited by: Ximena Gonzalez on Feb 19, 2008 11:50 AM
    Edited by: Ximena Gonzalez on Feb 20, 2008 12:17 PM

    My Error is change
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAPPRG.SPSAPAR9' (structure 'Statement'): java.sql.DataTruncation: Data truncation
    but de change DT SP
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns1:AlistReqDet2_MT xmlns:ns1="urn:proxl:tmuc:proxl01:AlistReqItems">
    <Statement>
    <SPSAPAR9 action="EXECUTE">
      <table>SAPPRG.SPSAPAR9</table>
      <ISAPNU1 isInput="TRUE" type="STRING">0080000353</ISAPNU1>
      <ISAPEM1 isInput="TRUE" type="STRING">'LU'</ISAPEM1>
      <ISAPC05 isInput="TRUE" type="STRING">15353</ISAPC05>
      <ISAPSEC isInput="TRUE" type="STRING">10</ISAPSEC>
      <ISAPLOT isInput="TRUE" type="STRING">'lats'</ISAPLOT>
      <ISAPCA1 isInput="TRUE" type="STRING">10</ISAPCA1>
      <ISAPCA2 isInput="TRUE" type="STRING">10</ISAPCA2>
      <ISAPKIL isInput="TRUE" type="STRING">10</ISAPKIL>
      <ISAPES1 isInput="TRUE" type="STRING">'T'</ISAPES1>
      <ISAPSW isOutput="TRUE" type="STRING" />
      </SPSAPAR9>
      </Statement>
      </ns1:AlistReqDet2_MT>

  • How to add additional disks on vmware OEL4 and use it for Oracle 10gR2?

    I created a virtual machine on vmware workstation 6 and installed OEL4.
    during first install I created 20 GB disk but now I want to add more disks.
    from vmware documentation I tried to add more 8 gb disk to the virtual host.
    under devices I see two lines;
    Hard Disk (SCSI 0:0) 20.0 GB
    Hard Disk (SCSI 0:2) 8.0 GB
    but I must be missing some step since I can not see 20 + 8 gb at df;
    [root@antuhost ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1              13G  9.7G  2.3G  82% /
    none                  506M     0  506M   0% /dev/shm
    /dev/sda2             4.9G  851M  3.8G  19% /homeThank you.

    Oh the check the answer from Re: How to add additional disks on vmware OEL4 and use it for Oracle 10gR2?

  • The new MERGE statement in Oracle 9i

    Has anyone used the new Merge statement to process large amounts of data? Currently we use PL/SQL to update/insert into our tables when we are loading large amounts of data (close to one million rows) because we can set commit points and avoid rollback problems. I am wondering if we use Merge instead how this will affect rollback? Are we still going to have to code for this problem?
    Thanks in advance!

    Thanks for the suggestions. Our problem is that the base table contains 50 million rows and seven indexes, and each month we try to insert/update one million rows. Some of the data in the base table is historical so if we implemented your solution we would lose any records not being updated.
    What I am really trying to determine is if the MERGE statement has any redo log ramifications. Will we run in rollback space problems if we implement it instead of running PL/SQL in the following format:
    FOR cur_rec in c1 LOOP
    UPDATE table a
    SET col a = cur_rec.col a, ...
    WHERE ...
    IF SQL%NOTFOUND THEN
    INSERT (col a , col b, col c...)
    VALUES (cur_rec.col a, cur_rec.col b...);
    END IF;
    We commit every 10,000 records (as determined by SQL%ROWCOUNT). This can be time comsuming and Oracle claims that the new MERGE command will avoid costly overhead and reduce data scans. However, I am concerned that we may hit rollback problems if we implement a straight SQL statement such as MERGE. Any thoughts?

  • Errors using DBMS_SQLTUNE Advisors for Oracle 10g

    I get errors trying to tune the below query for Oracle 10g using the DBMS_SQLTUNE advisors.
    It happens when I wrap either a large block of PL/SQL code that uses bind variables or multiple nested subqueries with multiple JOIN conditions in a SELECT query statement that I wish to tune using the 10g SQLTUNE advisors.
    Message was edited by:
    benprusinski

    Hi, I was trying to use the DBMS_SQLTUNE package to tune my sql statements used in the huge procedure. I can successfully create a task and execute it. But when I run report tuning task, I'm always getting error like the one in below example. Two questions I have now.
    1) Is this becuase I'm using bind, but not passing any values?
    2) Can I able to use to this package to tune a procedures instead of sql statement?
    Example output...
    SQL&gt; SELECT DBMS_SQLTUNE.REPORT_TUNING_TASK( 'my_sql_tuning_task3')
    2 FROM DUAL;
    DBMS_SQLTUNE.REPORT_TUNING_TASK('MY_SQL_TUNING_TASK3')
    GENERAL INFORMATION SECTION
    Tuning Task Name : my_sql_tuning_task3
    Tuning Task Owner : SCOTT
    Scope : COMPREHENSIVE
    Time Limit(seconds) : 3000
    Completion Status : COMPLETED
    Started at : 02/26/2009 21:44:41
    Completed at : 02/26/2009 21:44:41
    Number of Errors : 1
    DBMS_SQLTUNE.REPORT_TUNING_TASK('MY_SQL_TUNING_TASK3')
    Schema Name: KPRAVEEN
    SQL ID : 479831s42xj1n
    SQL Text : SELECT a.pdrorn, a.pdrcto, a.pdrlln FROM f4311 a
    WHERE a.pddoco = receiptsrcrec.prdoco AND a.pddcto = :2 AND
    a.pdkcoo = :3 AND a.pdsfxo = :4 AND a.pdlnid = :5
    ERRORS SECTION
    SQL&gt;

  • How to query in java for Oracle 10gr2 XMLDB

    Hi,
    I�ve some problems.
    I�ve some search queries which are working on normal relation table, but I don�t know how it works on XMLDB(Oracle 10gR2)
    Structure of XML file
    My xml table structure will be :
    Create table <tablename>
    Person_Id number primary key,
    Person_BankName varchar2,
    DateOfEntry date,
    Xmlcol xmltype
    Xmlcol xmltype will be mapped to a schema for the below xml file.
    XML File
    <Person>
         <Information>
              <firstname>Suchendra</firstname>
              <lastname>Kumar</lastname>
              <middlename>Krishna</middlename>
         </Information>
         <Account>
              <accountno>12212</accountno>
              <balance>42323.89</balance>
              <opendate>12-03-2005</opendate>
         </Account>
         <Transaction>
              <transamount>1000</transamount>
              <balance>41323.89</balance>
              <trandate>14-03-2005</ trandate >
              <trantime>10:40:22</trantime>
         </ Transaction >
    </Person>
    SQL Queries Required
    1.     Query to fetch the records whose transaction has been done from date 12-03-2001 to date 01-01-2005.
    2.     Query to fetch the records whose lastname= �*Kumar�
    3.     Query to fetch the records whose transaction has been done from time 9:09:55 to time12:26:23.
    4.     Query to fetch the records whose balance > 4000 and balance < 5000.
    5.     Regular expression Search in XMLDB. Ex: searching for records whose firstname has �su*� or �*ab� in it.
    How to extract these result set values in java for XMLDB (JDBC)?
    How to fetch these values from the result set?
    Whether Prepared Statement, Execute Query are compatible in XMLDB
    Can anyone help me in this..
    Thanks
    Athar

    Athar,
    You have been busy! You posted this same question to the SQL forum and the XMLDB forum. I see you got some answers regarding the XML part, so I will try to help you with the JDBC part. Have a look at this example:
    http://tinyurl.com/oemd7
    Good Luck,
    Avi.

  • 500 Internal Server Error on IBM AIX for Oracle Application Server 10g

    Hi all,
    I have installed Oracle AS 10g on IBM AIX 5.3.After installation everything was working fine.After some time when i was trying to access the emd console for deploying the application it gives me following error:w/o asking for user name(ias_admin) and password.
    500 Internal Server Error
    java.lang.NoClassDefFoundError: oracle/sysman/eml/app/Console     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2283)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:568)
    Please help me out...
    Thanks in advance

    Hi,
    I am facing the same problem as well. Below is part
    of error captured from em-application.log:
    08/07/22 17:02:59 Started
    08/07/22 17:03:00 default: jsp: init
    08/07/22 17:03:00 default: Started
    08/07/22 17:03:04 emd: jsp: init
    08/07/22 17:03:04 emd: dynamicImage: init
    08/07/22 17:03:11 emd: Error initializing servlet
    java.lang.InternalError: Can't connect to X11 window
    server using '172.28.8.106:0.0' as the value of the
    DISPLAY variable.
    at
    sun.awt.X11GraphicsEnvironment.initDisplay(Native
    Method)
    at
    sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnv
    ironment.java:175)
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:180)
    at
    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironme
    nt(GraphicsEnvironment.java:91)
    at
    java.awt.Font.initializeFont(Font.java:333)
    at java.awt.Font.<init>(Font.java:368)
    at
    oracle.sysman.eml.app.Console.<clinit>(Console.java:57
    9)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java(Compiled
    Code))
    at
    com.evermind.server.http.HttpApplication.loadServlet(H
    ttpApplication.java:2283)
    at
    com.evermind.server.http.HttpApplication.findServlet(H
    ttpApplication.java:4795)
    at
    com.evermind.server.http.HttpApplication.initPreloadSe
    rvlets(HttpApplication.java:4889)
    at
    com.evermind.server.http.HttpApplication.initDynamic(H
    ttpApplication.java:1015)
    at
    com.evermind.server.http.HttpApplication.<init>(HttpAp
    plication.java:549)
    at
    com.evermind.server.Application.getHttpApplication(App
    lication.java:890)
    at
    com.evermind.server.http.HttpServer.getHttpApplication
    (HttpServer.java:707)
    at
    com.evermind.server.http.HttpSite.initApplications(Htt
    pSite.java:625)
    at
    com.evermind.server.http.HttpSite.setConfig(HttpSite.j
    ava:278)
    at
    com.evermind.server.http.HttpServer.setSites(HttpServe
    r.java:278)
    at
    com.evermind.server.http.HttpServer.setConfig(HttpServ
    er.java:179)
    at
    com.evermind.server.ApplicationServer.initializeHttp(A
    pplicationServer.java:2394)
    at
    com.evermind.server.ApplicationServer.setConfig(Applic
    ationServer.java:1551)
    at
    com.evermind.server.ApplicationServerLauncher.run(Appl
    icationServerLauncher.java:92)
    at java.lang.Thread.run(Thread.java:568)
    17:03:11 emd: Error preloading servlet
    avax.servlet.ServletException: Error initializing
    servlet
    at
    com.evermind.server.http.HttpApplication.findServlet(H
    ttpApplication.java:4846)
    at
    com.evermind.server.http.HttpApplication.initPreloadSe
    rvlets(HttpApplication.java:4889)
    at
    com.evermind.server.http.HttpApplication.initDynamic(H
    ttpApplication.java:1015)
    at
    com.evermind.server.http.HttpApplication.<init>(HttpAp
    plication.java:549)
    at
    com.evermind.server.Application.getHttpApplication(App
    lication.java:890)
    at
    com.evermind.server.http.HttpServer.getHttpApplication
    (HttpServer.java:707)
    at
    com.evermind.server.http.HttpSite.initApplications(Htt
    pSite.java:625)
    at
    com.evermind.server.http.HttpSite.setConfig(HttpSite.j
    ava:278)
    at
    com.evermind.server.http.HttpServer.setSites(HttpServe
    r.java:278)
    at
    com.evermind.server.http.HttpServer.setConfig(HttpServ
    er.java:179)
    at
    com.evermind.server.ApplicationServer.initializeHttp(A
    pplicationServer.java:2394)
    at
    com.evermind.server.ApplicationServer.setConfig(Applic
    ationServer.java:1551)
    at
    com.evermind.server.ApplicationServerLauncher.run(Appl
    icationServerLauncher.java:92)
    at java.lang.Thread.run(Thread.java:568)
    17:03:11 emd: redirect: init
    8/07/22 17:03:11 emd: Started
    08/07/22 17:03:11 cabo: jsp: init
    08/07/22 17:03:11 cabo: Started
    08/07/22 17:05:28 emd: Error initializing servlet
    java.lang.NoClassDefFoundError:
    oracle/sysman/eml/app/Console
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java(Compiled
    Code))
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.loadServlet
    Http
    Application.java:2283)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.findServlet
    Http
    Application.java:4795)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.getRequestD
    spat
    cher(HttpApplication.java:2821)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.processR
    ques
    t(HttpRequestHandler.java:680)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.run(Http
    eque
    stHandler.java:285)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.run(Http
    eque
    stHandler.java:126)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$M
    Work
    er.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:568)
    17:05:28 emd: Servlet error
    /b]
    Could someone please help me take a look on this?
    Thank you.
    Regards,
    HT
    Hi,
    I have got the solution........
    go through the url:
    http://docs.tpu.ru/docs/oracle/en/oas/10.1.2.0.2/aix.1012/relnotes.1012/relnotes/install.htm
    Read these points:
    Class Not Found Execption: 2.1.25
    After doing all these four steps,restart your application server control.
    Cause of this problem:
    X Virtual Frame Buffer: 2.4.14
    Cheers,

Maybe you are looking for